/* ============================================================
   GXT 全站统一视觉系统（重设计层）
   - 统一色板 / 字体层级 / 间距 / 圆角 / 阴影
   - 深色科技 Hero + 浅色内容区 + 深色页脚
   - 统一卡片、按钮、表格、表单、标签等组件
   ============================================================ */

:root {
  --brand: #0e63c9;
  --brand-600: #0b4fa5;
  --brand-700: #0a3d7d;
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --ink: #0b1b2e;
  --ink-2: #24384e;
  --muted: #5b7186;
  --muted-2: #8ba0b6;
  --line: #e2eaf4;
  --line-2: #eef4fb;
  --bg: #f5f8fc;
  --ok: #0f9d6a;
  --warn: #b45309;
  --danger: #d92d20;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-1: 0 1px 2px rgba(12, 26, 43, .05), 0 1px 3px rgba(12, 26, 43, .04);
  --shadow-2: 0 12px 34px rgba(12, 26, 43, .09);
  --shadow-3: 0 26px 68px rgba(12, 26, 43, .14);
  --grad-brand: linear-gradient(160deg, #050d1a 0%, #081b33 55%, #04101f 100%);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -.006em;
}
h1, h2, h3, h4 { letter-spacing: -.022em; }
a { color: var(--brand-600); }
::selection { background: rgba(14, 99, 201, .18); }

/* ---------- 顶部导航 ---------- */
.site-header {
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(12, 26, 43, .08);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 12px 34px rgba(12, 26, 43, .08);
}
.header-inner { min-height: 72px; gap: 26px; }
.brand-mark {
  background: linear-gradient(140deg, #0e63c9, #0a3d7d);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(10, 61, 125, .28);
}
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.brand-ver {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-600);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
}
.site-nav { gap: 4px; }
.nav-link {
  position: relative;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background .16s ease, color .16s ease;
}
.nav-link:hover { background: var(--brand-50); color: var(--brand-600); }
.nav-link.is-active { color: var(--brand-600); background: var(--brand-50); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--brand), #22d3ee);
}
.header-member-nav { display: flex; align-items: center; gap: 4px; margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--line); }
.nav-level {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
  color: #b45309;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

/* ---------- 内页深色科技 Hero（全站统一） ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  color: #fff;
  border-bottom: 1px solid rgba(56, 189, 248, .16);
  background:
    radial-gradient(900px 460px at 12% -18%, rgba(34, 211, 238, .20), transparent 60%),
    radial-gradient(760px 420px at 88% 0%, rgba(59, 130, 246, .24), transparent 62%),
    linear-gradient(160deg, #040a16 0%, #071a33 52%, #030913 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 189, 248, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, .10) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 0%, #000 12%, transparent 78%);
  mask-image: radial-gradient(ellipse at 30% 0%, #000 12%, transparent 78%);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -60px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(34, 211, 238, .16), transparent 66%);
  filter: blur(6px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .container > .breadcrumb { margin-bottom: 22px; }
.breadcrumb { gap: 9px; font-size: 12.5px; color: rgba(160, 196, 224, .72); }
.breadcrumb a { color: rgba(206, 229, 247, .86); }
.breadcrumb a:hover { color: #fff; text-decoration: none; }
.breadcrumb span[aria-current] { color: rgba(255, 255, 255, .72); }
.page-hero-copy { max-width: 900px; }
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #67e8f9;
}
.page-hero .eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, #22d3ee, transparent);
}
.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.022em;
  color: #fff;
  text-shadow: 0 0 46px rgba(34, 211, 238, .16);
}
.page-hero-lede {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(203, 232, 255, .86);
}
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.page-hero--article { padding: 62px 0 56px; }
.page-hero--article h1 { font-size: clamp(26px, 3vw, 38px); }
.article-meta-top { color: rgba(190, 219, 242, .8); }

/* ---------- 区块与标题 ---------- */
.section { padding: 78px 0; }
.section--tight { padding: 54px 0; }
.section--alt {
  background: linear-gradient(180deg, #f7fafe 0%, #f1f6fc 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--plain { background: linear-gradient(180deg, #f7fafe 0%, #eff5fc 100%); }
.section-head { max-width: 780px; margin-bottom: 36px; }
.section-head h2 { font-size: 30px; line-height: 1.25; margin-bottom: 10px; color: var(--ink); }
.section-head p { font-size: 15.5px; line-height: 1.8; color: var(--muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, #22d3ee, transparent);
}
.section-head--center .eyebrow { justify-content: center; }

/* ---------- 按钮 ---------- */
.btn {
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: -.005em;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.btn--primary {
  background: linear-gradient(135deg, #0e63c9 0%, #0a4a9e 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 22px rgba(14, 99, 201, .24);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #0f6cdb 0%, #0b52b0 100%);
  box-shadow: 0 12px 28px rgba(14, 99, 201, .32);
  transform: translateY(-1px);
}
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn--ghost:hover { border-color: #b9d3ef; background: #f7fbff; color: var(--brand-600); }
.btn--white { background: #fff; color: var(--brand-600); box-shadow: 0 10px 26px rgba(2, 12, 27, .24); }
.btn--white:hover { background: #f2f8ff; }
.btn--light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, .18); border-color: rgba(125, 211, 252, .6); }
.btn--lg { border-radius: 12px; }
.page-hero .btn--primary {
  background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 58%, #1d4ed8 100%);
  box-shadow: 0 10px 30px rgba(34, 211, 238, .26);
}
.page-hero .btn--primary:hover { box-shadow: 0 14px 40px rgba(34, 211, 238, .36); }

/* ---------- 通用卡片 / 面板 ---------- */
.card,
.soft-card,
.stats-panel,
.dl-card,
.member-stat-card,
.version-panel,
.tool-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.card { padding: 26px; }
.card h3 { color: var(--ink); }
.soft-card,
.stats-panel,
.dl-card,
.member-stat-card,
.version-panel { padding: 26px; }
.soft-card,
.member-stat-card,
.stats-panel,
.tool-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.soft-card:hover,
.member-stat-card:hover,
.stats-panel:hover {
  transform: translateY(-3px);
  border-color: #cfe2f6;
  box-shadow: var(--shadow-2);
}
.dl-card { padding: 32px; }
.dl-card--main {
  border-color: #cfe2f6;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  box-shadow: var(--shadow-2);
}
.dl-title { color: var(--ink); }
.dl-meta { color: var(--muted); }
.dl-desc, .dl-notes { color: var(--ink-2); }
.feature-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-1);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #cfe2f6; }
.ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-600);
}

/* ---------- 表格 ---------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
  background: #fff;
  box-shadow: var(--shadow-1);
}
table.data, table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data-table th {
  padding: 12px 16px;
  background: #f6f9fd;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
table.data td, table.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
  color: var(--ink-2);
}
table.data tbody tr:last-child td, table.data-table tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:hover td, table.data-table tbody tr:hover td { background: #f9fcff; }
table.data td.num { font-family: var(--mono); font-size: 12.5px; }

/* ---------- 表单 ---------- */
.input, .select, .textarea {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  padding: 10px 13px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: #6cb2f5;
  box-shadow: 0 0 0 3px rgba(14, 99, 201, .12);
}
.form-label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.form-help { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 标签 / 徽标 ---------- */
.pill, .tag, .level-chip, .badge {
  border-radius: 999px;
  font-weight: 700;
}
.pill { padding: 3px 11px; font-size: 12px; }
.pill--gray { background: #f2f6fb; border-color: var(--line); color: var(--muted); }
.pill--brand { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-600); }
.pill--green { background: #ecfdf3; border-color: #c6f0d8; color: #0f9d6a; }
.pill--amber { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.level-chip {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-600);
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 8px;
}
.tag { font-size: 11.5px; padding: 2px 9px; }
.note { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.note--info { background: #f3f9ff; border-color: #d8e9fb; color: var(--ink-2); }
.note--warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.empty-state {
  border: 1px dashed #cfe0f2;
  border-radius: var(--radius-lg);
  background: #fbfdff;
  padding: 46px 24px;
}
.empty-title { color: var(--ink); font-weight: 800; }

/* ---------- 会员中心 ---------- */
.member-stat-grid { gap: 16px; }
.member-stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.member-stat-value { color: var(--ink); }
.level-progress { height: 6px; border-radius: 999px; background: #e8f1fb; overflow: hidden; }
.level-progress > span { background: linear-gradient(90deg, #0e63c9, #22d3ee); }
.member-profile { border-radius: var(--radius-lg); }
.member-section { margin-top: 34px; }
.member-section-head h2 { font-size: 22px; }
.member-section-head .eyebrow { margin-bottom: 8px; }

/* ---------- 积分商城 ---------- */
.shop-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.shop-card:hover { transform: translateY(-4px); border-color: #cfe2f6; box-shadow: var(--shadow-2); }
.shop-badge {
  background: linear-gradient(135deg, #f0b429, #d99a06);
  box-shadow: 0 6px 16px rgba(217, 154, 6, .28);
}
.shop-price { font-family: var(--mono); color: var(--brand-600); }
.points-cat-title {
  border-left: 3px solid #22d3ee;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.points-bar {
  background: linear-gradient(90deg, #f0f8ff, #f7fcff);
  border: 1px solid #d9eafa;
  border-radius: var(--radius);
  color: var(--ink-2);
}

.level-chip--svip {
  background: linear-gradient(140deg, #f0b429, #d99a06);
  border-color: #d99a06;
  color: #fff;
}
.page-hero .btn--light {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .34);
}
.page-hero .btn--light:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(125, 211, 252, .65);
}
/* ---------- 页脚 ---------- */
.site-footer {
  background: #050c18;
  border-top: 1px solid rgba(56, 189, 248, .14);
  color: rgba(190, 216, 236, .72);
}
.footer-nav a { color: rgba(190, 216, 236, .78); font-size: 13.5px; transition: color .16s ease; }
.footer-nav a:hover { color: #7dd3fc; text-decoration: none; }
.footer-stats {
  border: 1px solid rgba(56, 189, 248, .16);
  background: rgba(56, 189, 248, .06);
  border-radius: var(--radius);
}
.footer-stats a, .footer-stats-more { color: #7dd3fc; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }

/* ---------- 登录 / 注册 ---------- */
.auth-card, .member-auth-card, .login-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  background: #fff;
}

/* ---------- 文章 / 富文本 ---------- */
.article-body { color: var(--ink-2); font-size: 15.5px; line-height: 1.9; }
.article-body h2, .article-body h3 { color: var(--ink); margin-top: 1.6em; }
.article-body blockquote {
  border-left: 3px solid #22d3ee;
  background: #f6fbff;
  border-radius: 0 12px 12px 0;
}

/* ---------- 数据统计 / 分析 ---------- */
.stat-cards { gap: 16px; }
.stat-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-1);
}
.stat-card:hover { border-color: #cfe2f6; box-shadow: var(--shadow-2); }
.chart { border-radius: var(--radius); }
.chart-bar { background: linear-gradient(180deg, #38bdf8, #0e63c9); border-radius: 6px 6px 3px 3px; }
.tool-result { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.code-block { border-radius: var(--radius); }

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .page-hero { padding: 64px 0 58px; }
  .section { padding: 62px 0; }
  .section--tight { padding: 44px 0; }
  .section-head h2 { font-size: 26px; }
  .header-inner { min-height: 64px; }
}
@media (max-width: 767px) {
  .page-hero { padding: 52px 0 46px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero-lede { font-size: 15px; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 23px; }
  .card, .soft-card, .stats-panel, .dl-card, .member-stat-card, .version-panel { padding: 20px; }
  .shop-grid { gap: 14px; }
  .table-wrap { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .soft-card, .member-stat-card, .stats-panel, .shop-card, .feature-card, .btn { transition: none; }
}

/* ---------- 软件详情页：功能介绍 / 软件截图 ---------- */
.soft-intro { color: var(--ink-2); font-size: 15px; line-height: 1.9; }
.soft-intro p { margin: 0 0 10px; }
.soft-intro p:last-child { margin-bottom: 0; }
.soft-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.soft-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
  box-shadow: var(--shadow-1);
}
.soft-shot img { display: block; width: 100%; height: auto; }
.soft-shot figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 767px) {
  .soft-shots { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- GXTM2 介绍页 ---------- */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.anchor-nav a {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.anchor-nav a:hover { border-color: #bcd8f5; background: var(--brand-50); color: var(--brand-600); }
.legal-list { padding-left: 0; list-style: none; color: var(--ink-2); font-size: 14.5px; line-height: 1.9; }
.legal-list li { position: relative; padding-left: 0; margin-bottom: 10px; }
.feature-grid--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-grid--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1023px) {
  .feature-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .feature-grid--3, .feature-grid--2 { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- 软件卡片封面 / 详情主图 ---------- */
.dl-cover {
  margin: 2px 0 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f4f9ff;
}
.dl-cover img { display: block; width: 100%; height: auto; max-height: 440px; object-fit: cover; object-position: top center; }
.soft-cover {
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f4f9ff;
  aspect-ratio: 16 / 9;
}
.soft-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
@media (max-width: 767px) {
  .dl-cover { margin-bottom: 16px; }
  .soft-cover { aspect-ratio: 16 / 10; }
}
/* ---------- 用户留言浮窗 ---------- */
.feedback-fab {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid rgba(56, 189, 248, .3);
  border-radius: 999px;
  background: linear-gradient(135deg, #0e63c9, #0a3d7d);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(10, 61, 125, .35);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}
.feedback-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(10, 61, 125, .45); }
.feedback-fab svg { flex: none; }
body.feedback-open { overflow: hidden; }
.feedback-modal[hidden] { display: none; }
.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.feedback-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 22, .62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.feedback-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 26px 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(2, 12, 27, .35);
}
.feedback-head { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.feedback-head h2 { font-size: 21px; margin-bottom: 6px; }
.feedback-head p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.feedback-close {
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.feedback-close:hover { border-color: #bcd8f5; color: var(--ink); }
.feedback-form { display: flex; flex-direction: column; gap: 14px; }
.feedback-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.feedback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feedback-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; }
.feedback-hint { font-size: 12px; color: var(--muted); line-height: 1.6; }
.feedback-error { color: #d92d20; font-size: 13px; }
.feedback-success { text-align: center; padding: 18px 6px 6px; }
.feedback-ok-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #0f9d6a);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(15, 157, 106, .3);
}
.feedback-success h3 { font-size: 19px; margin-bottom: 8px; }
.feedback-reply { font-size: 14px; color: var(--ink-2); line-height: 1.8; margin-bottom: 16px; }
.feedback-success .feedback-actions { justify-content: center; }
@media (max-width: 767px) {
  .feedback-fab { right: 16px; bottom: 76px; padding: 11px 15px; font-size: 13px; }
  .feedback-card { padding: 22px 18px; border-radius: 16px; }
  .feedback-grid { grid-template-columns: 1fr; }
  .feedback-actions { flex-direction: column; align-items: stretch; }
  .feedback-hint { order: 2; }
}
.feedback-form[hidden],
.feedback-success[hidden] { display: none !important; }
/* ---------- 顶部横幅广告 1200 × 80 ---------- */
.top-banner-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 16px;
  background: #050c18;
  border-bottom: 1px solid rgba(56, 189, 248, .14);
}
.top-banner-box {
  position: relative;
  width: min(1200px, 100%);
}
.top-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  height: 80px;
  padding: 0 62px 0 22px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, .28);
  border-radius: 14px;
  background:
    radial-gradient(520px 160px at 8% -20%, rgba(34, 211, 238, .22), transparent 62%),
    radial-gradient(420px 150px at 92% 120%, rgba(59, 130, 246, .24), transparent 62%),
    linear-gradient(120deg, #061426 0%, #0b2a4d 55%, #04101f 100%);
  color: #dbeafe;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(2, 12, 27, .35);
}
.top-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 189, 248, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, .08) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
}
.top-banner-left { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; }
.top-banner-badge {
  flex: none;
  padding: 4px 10px;
  border: 1px solid rgba(34, 211, 238, .38);
  border-radius: 999px;
  background: rgba(34, 211, 238, .12);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #67e8f9;
}
.top-banner-text {
  min-width: 0;
  overflow: hidden;
  font-size: 14.5px;
  color: #cfe4f7;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-banner-text b { margin-right: 10px; color: #fff; font-size: 15.5px; letter-spacing: -.01em; }
.top-banner-cta {
  position: relative;
  flex: none;
  padding: 9px 16px;
  border-radius: 9px;
  background: linear-gradient(135deg, #22d3ee, #0e63c9);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(34, 211, 238, .22);
  transition: transform .16s ease, box-shadow .16s ease;
}
.top-banner:hover .top-banner-cta { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(34, 211, 238, .32); }
.top-banner:hover { text-decoration: none; }
.top-banner-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(148, 197, 235, .32);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: #cfe4f7;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
.top-banner-close:hover { background: rgba(255, 255, 255, .14); color: #fff; }
@media (max-width: 767px) {
  .top-banner-wrap { padding: 8px 10px; }
  .top-banner { height: auto; min-height: 64px; padding: 10px 44px 10px 14px; gap: 10px; }
  .top-banner-badge { display: none; }
  .top-banner-text { font-size: 12.5px; white-space: normal; line-height: 1.6; }
  .top-banner-text b { font-size: 13.5px; margin-right: 4px; }
  .top-banner-cta { display: none; }
  .top-banner-close { top: 8px; right: 8px; width: 24px; height: 24px; font-size: 15px; }
}
/* ---------- 留言浮窗：会员提示 / 未登录引导 ---------- */
.feedback-member-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid #d8e9fb;
  border-radius: 10px;
  background: #f3f9ff;
  font-size: 13px;
  color: var(--ink-2);
}
.feedback-member-tip b { color: var(--brand-600); }
.feedback-member-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, .8);
  flex: none;
}
.feedback-guest { text-align: center; padding: 10px 6px 6px; }
.feedback-guest-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  font-size: 26px;
}
.feedback-guest h3 { font-size: 19px; margin-bottom: 10px; color: var(--ink); }
.feedback-guest p { font-size: 13.5px; line-height: 1.85; color: var(--muted); margin-bottom: 20px; }
.feedback-guest .feedback-actions { justify-content: center; flex-wrap: wrap; }
/* ---------- 网站模板预览页 ---------- */
.tpl-preview-note {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
  padding: 18px 20px;
  border: 1px solid #d8e9fb;
  border-radius: 14px;
  background: #f3f9ff;
}
.tpl-preview-note p { font-size: 13.5px; color: var(--muted); line-height: 1.85; }
.tpl-preview-note b { color: var(--ink); }
.tpl-preview-note .btn { flex: none; }
.tpl-meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.tpl-meta-card { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.tpl-meta-card h4 { font-size: 14.5px; margin-bottom: 10px; color: var(--ink); }
.tpl-meta-card p { font-size: 13px; color: var(--muted); line-height: 1.9; }
.tpl-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding: 26px 30px;
  border-radius: 16px;
  background: radial-gradient(420px 160px at 10% 0%, rgba(34, 211, 238, .2), transparent 62%), linear-gradient(120deg, #061426, #0b2a4d 60%, #04101f);
  color: #dbeafe;
}
.tpl-cta h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.tpl-cta p { color: #9fb8d4; font-size: 13.5px; line-height: 1.8; }
.tpl-cta .btn--ghost { color: #dbeafe; border-color: rgba(148, 197, 235, .35); }
.soft-shot-desc { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) {
  .tpl-meta-grid { grid-template-columns: minmax(0, 1fr); }
  .tpl-cta { flex-direction: column; align-items: flex-start; }
  .tpl-preview-note { flex-direction: column; }
}
/* ---------- 预览页管理员快捷编辑条 ---------- */
.tpl-admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
  padding: 10px 16px;
  border: 1px solid rgba(34, 211, 238, .35);
  border-radius: 12px;
  background: rgba(8, 30, 54, .72);
  font-size: 13px;
  color: #bae6fd;
}
.tpl-admin-bar .btn--ghost { color: #0a3d7d; background: #fff; border-color: transparent; font-weight: 700; }
@media (max-width: 767px) {
  .tpl-admin-bar { flex-direction: column; align-items: flex-start; }
}
/* ---------- 统计报表：来源（详细来路）防溢出 ---------- */
.referer-table { table-layout: fixed; }
.referer-table th:nth-child(1) { width: 52%; }
.referer-table th:nth-child(2) { width: 22%; }
.referer-table th:nth-child(3) { width: 26%; }
.referer-table .referer-cell { max-width: 0; }
.referer-label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.referer-url {
  max-width: 100%;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}
.referer-type,
.referer-count { white-space: nowrap; }
.referer-type .pill { white-space: nowrap; }
@media (max-width: 767px) {
  .referer-table th:nth-child(1) { width: 50%; }
  .referer-table th:nth-child(2) { width: 20%; }
  .referer-table th:nth-child(3) { width: 30%; }
  .referer-url { display: none; }
}
/* 单张截图时占满内容宽度，显示更大 */
.soft-shots--single { grid-template-columns: minmax(0, 1fr); }
.soft-shots--single .soft-shot img { width: 100%; }
/* ---------- 积分商城：模板缩略图 ---------- */
.shop-cover {
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f2f7fd;
  aspect-ratio: 480 / 300;
}
.shop-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
@media (max-width: 767px) {
  .shop-cover { aspect-ratio: 480 / 300; }
}
/* 积分商城：自动发货提示 */
.shop-auto {
  margin: 6px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f9d6a;
}
/* ---------- 兑换成功弹窗（发货地址 + 复制） ---------- */
.redeem-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.redeem-modal[hidden] { display: none !important; }
.redeem-mask {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 22, .62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.redeem-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px 28px 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(2, 12, 27, .35);
  text-align: center;
}
.redeem-ok {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #0f9d6a);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(15, 157, 106, .3);
}
.redeem-card h3 { font-size: 22px; margin-bottom: 6px; color: var(--ink); }
.redeem-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.redeem-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
  font-size: 13.5px;
  color: var(--ink-2);
  text-align: left;
}
.redeem-item b { color: var(--ink); }
.redeem-label {
  display: block;
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  text-align: left;
}
.redeem-copy { display: flex; gap: 8px; }
.redeem-copy .input { flex: 1; min-width: 0; font-size: 13px; }
.redeem-copy .btn { flex: none; }
.redeem-open { width: 100%; margin-top: 10px; }
.redeem-pending { margin: 16px 0 4px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.redeem-actions { margin-top: 18px; }
@media (max-width: 767px) {
  .redeem-card { padding: 24px 18px 20px; }
  .redeem-copy { flex-direction: column; }
  .redeem-copy .btn { width: 100%; }
}
/* ---------- 发货链接领取页 / 密码 ---------- */
.delivery-state { text-align: center; }
.delivery-state h2 { font-size: 22px; margin-bottom: 8px; color: var(--ink); }
.delivery-state .form-hint { margin-bottom: 16px; }
.delivery-form { max-width: 380px; margin: 18px auto 0; text-align: left; }
.delivery-form .form-field { margin-bottom: 12px; }
.delivery-error { color: #d92d20; font-size: 13px; margin: 0 0 10px; }
.redeem-valid { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.delivery-state--expired h2 { color: #d92d20; }
/* ---------- 积分充值 ---------- */
.recharge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}
.recharge-form-card,
.recharge-qr-card { padding: 26px 26px 24px; }
.recharge-form-card h2,
.recharge-qr-card h2 { font-size: 20px; margin: 4px 0 16px; }
.recharge-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.recharge-label { display: block; margin: 14px 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.recharge-preview { margin-top: 8px; font-size: 13px; color: var(--muted); }
.recharge-preview b { font-size: 16px; color: var(--brand-600); }
.recharge-submit { width: 100%; margin-top: 16px; }
.recharge-qr { margin: 12px 0; text-align: center; }
.recharge-qr img {
  width: min(260px, 100%);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.recharge-note { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.recharge-tip {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #d8e9fb;
  border-radius: 10px;
  background: #f3f9ff;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
}
.recharge-order-card { max-width: 560px; margin: 0 auto; padding: 30px; }
.recharge-order-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.recharge-order-row b { color: var(--ink); }
.recharge-order-card .recharge-order-row:nth-last-of-type(1) { border-bottom: none; }
@media (max-width: 900px) {
  .recharge-layout { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- QQ 农场小游戏（场景版） ---------- */
.farm-scene {
  position: relative;
  overflow: hidden;
  padding: 28px 0 0;
  background: linear-gradient(180deg, #bfe7ff 0%, #dff3ff 42%, #eafaf0 72%, #d8f3dd 100%);
}
.farm-scene-bg { position: absolute; inset: 0; pointer-events: none; }
.farm-sun {
  position: absolute;
  top: 34px;
  right: 8%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7c2, #ffd45e 55%, #ffbf3f);
  box-shadow: 0 0 60px rgba(255, 205, 70, .55);
  animation: farm-sun-pulse 5s ease-in-out infinite;
}
@keyframes farm-sun-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(255, 205, 70, .5); }
  50% { transform: scale(1.06); box-shadow: 0 0 84px rgba(255, 205, 70, .72); }
}
.farm-cloud {
  position: absolute;
  width: 150px;
  height: 46px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 30px rgba(70, 130, 180, .12);
}
.farm-cloud::before,
.farm-cloud::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: inherit;
}
.farm-cloud::before { width: 68px; height: 68px; left: 20px; top: -30px; }
.farm-cloud::after { width: 52px; height: 52px; right: 22px; top: -20px; }
.farm-cloud--1 { top: 54px; left: 5%; animation: farm-drift 36s linear infinite; }
.farm-cloud--2 { top: 118px; left: 38%; transform: scale(.72); opacity: .85; animation: farm-drift 52s linear infinite reverse; }
.farm-cloud--3 { top: 30px; left: 68%; transform: scale(.55); opacity: .7; animation: farm-drift 44s linear infinite; }
@keyframes farm-drift {
  0% { transform: translateX(-40px); }
  50% { transform: translateX(60px); }
  100% { transform: translateX(-40px); }
}
.farm-hill {
  position: absolute;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, #9edc8f, #6cc06f);
  opacity: .5;
}
.farm-hill--1 { width: 62%; height: 150px; left: -8%; }
.farm-hill--2 { width: 55%; height: 120px; right: -10%; background: linear-gradient(180deg, #b4e5a2, #83cc7c); opacity: .45; }
.farm-trees {
  position: absolute;
  bottom: 28px;
  right: 3%;
  font-size: 40px;
  letter-spacing: 6px;
  filter: drop-shadow(0 8px 10px rgba(30, 90, 40, .18));
  opacity: .9;
}
.farm-scene-inner { position: relative; z-index: 1; padding-bottom: 6px; }
.farm-scene .breadcrumb,
.farm-scene .breadcrumb a,
.farm-scene .breadcrumb span { color: #2f6b45; }
.farm-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 0 30px;
}
.farm-hero .eyebrow { color: #2f8a5b; }
.farm-hero h1 {
  margin: 6px 0 10px;
  font-size: clamp(30px, 4.2vw, 46px);
  color: #14532d;
  letter-spacing: -.5px;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .6);
}
.farm-hero-lede { max-width: 620px; color: #2f5c43; font-size: 15px; line-height: 1.85; }
.farm-board {
  flex: none;
  width: 260px;
  padding: 18px 20px;
  border: 2px solid #b07b3f;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8e1b8, #eecb92);
  box-shadow: 0 14px 30px rgba(120, 76, 24, .22), inset 0 1px 0 rgba(255, 255, 255, .7);
  transform: rotate(1.2deg);
}
.farm-board-title { margin-bottom: 10px; font-size: 15px; font-weight: 800; color: #6b4218; }
.farm-board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(120, 76, 24, .25);
  font-size: 13px;
  color: #7a5226;
}
.farm-board-row:last-child { border-bottom: none; }
.farm-board-row b { font-size: 15px; color: #6b4218; }
.farm-board-hot { color: #b45309 !important; }
.farm-grass {
  padding: 4px 0 14px;
  font-size: 20px;
  letter-spacing: 14px;
  text-align: center;
  opacity: .8;
  white-space: nowrap;
  overflow: hidden;
}

.farm-main { padding-top: 34px; }
.farm-login-card { max-width: 560px; margin: 0 auto; padding: 36px 32px; text-align: center; }
.farm-login-icon { font-size: 44px; margin-bottom: 10px; }

.farm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.farm-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 52, 30, .05);
}
.farm-stat-icon { font-size: 22px; }
.farm-stat b { font-size: 22px; color: #0f9d6a; }
.farm-stat span:last-child { font-size: 12px; color: var(--muted); }

.farm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 20px;
  padding: 14px 18px;
  border: 1px solid #cdebd8;
  border-radius: 14px;
  background: linear-gradient(90deg, #f2fcf5, #f8fff9);
}
.farm-toolbar-left { display: flex; flex-direction: column; gap: 2px; }
.farm-toolbar-title { font-size: 15px; font-weight: 800; color: #14532d; }
.farm-toolbar-hint { font-size: 12.5px; color: var(--muted); }
.farm-toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.farm-crop-guide { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.farm-crop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 16px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.farm-crop-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(15, 52, 30, .1); }
.farm-crop-emoji { font-size: 36px; line-height: 1.1; }
.farm-crop-card b { font-size: 13.5px; color: var(--ink); }
.farm-crop-card span { font-size: 11.5px; color: var(--muted); }
.farm-crop-card em { font-size: 12px; font-style: normal; font-weight: 700; color: #0f9d6a; }

.farm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.farm-plot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 292px;
  padding: 14px;
  border: 1px solid #d6e8da;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f4fbf5);
  transition: transform .18s ease, border-color .2s, box-shadow .2s;
}
.farm-plot:hover { transform: translateY(-2px); border-color: #a9d9b8; box-shadow: 0 14px 30px rgba(15, 52, 30, .09); }
.farm-plot.is-ready { border-color: #f0b429; background: linear-gradient(180deg, #fffdf3, #fff6d9); box-shadow: 0 0 0 3px rgba(240, 180, 41, .18); }
.farm-plot.is-empty { background: linear-gradient(180deg, #fbfdfb, #f1f6f2); }
.farm-plot-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.farm-plot-name { font-size: 12px; font-weight: 700; color: #4b6b53; }
.farm-plot-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.farm-badge { padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; }
.farm-badge--water { background: #e0f2fe; color: #0369a1; }
.farm-badge--ready { background: #fef3c7; color: #b45309; }
.farm-field {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  border-radius: 14px;
  border: 2px solid #a06b3c;
  background:
    repeating-linear-gradient(90deg, rgba(96, 56, 25, .16) 0 3px, transparent 3px 26px),
    linear-gradient(180deg, #c68b52, #a5683a 45%, #8a5330);
  box-shadow: inset 0 6px 16px rgba(64, 34, 12, .35);
  overflow: hidden;
}
.farm-field::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .18), transparent 60%);
  pointer-events: none;
}
.farm-field.is-watered::after {
  content: '💧';
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 18px;
  animation: farm-drop-bounce 2.2s ease-in-out infinite;
}
@keyframes farm-drop-bounce {
  0%, 100% { transform: translateY(0); opacity: .75; }
  50% { transform: translateY(-5px); opacity: 1; }
}
.farm-crop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.farm-crop-emoji { font-size: 56px; line-height: 1; filter: drop-shadow(0 6px 8px rgba(40, 20, 5, .35)); }
.farm-crop--stage0 .farm-crop-emoji { font-size: 34px; transform: translateY(8px) scale(.8); opacity: .85; animation: farm-sprout 3s ease-in-out infinite; }
.farm-crop--stage1 .farm-crop-emoji { font-size: 44px; animation: farm-grow 3.4s ease-in-out infinite; }
.farm-crop--stage2 .farm-crop-emoji { font-size: 52px; }
.farm-crop--stage3 .farm-crop-emoji { font-size: 60px; animation: farm-ready-bounce 1.5s ease-in-out infinite; }
@keyframes farm-sprout { 0%, 100% { transform: translateY(8px) scale(.8); } 50% { transform: translateY(5px) scale(.86); } }
@keyframes farm-grow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes farm-ready-bounce { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.06); } }
.farm-crop--empty .farm-crop-emoji { font-size: 40px; opacity: .5; }
.farm-empty-text { font-size: 11px; color: #ffe9d2; opacity: .85; }
.farm-sparkle { position: absolute; top: -10px; right: -12px; font-size: 18px; animation: farm-spark 1.6s ease-in-out infinite; }
@keyframes farm-spark { 0%, 100% { opacity: .5; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }
.farm-plot-info { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.farm-plot-info b { font-size: 13.5px; color: var(--ink); }
.farm-plot-info b i { font-style: normal; font-size: 12px; color: var(--muted); }
.farm-plot-info span { font-size: 12px; color: var(--muted); }
.farm-ready-text { color: #b45309 !important; }
.farm-timer { font-family: var(--mono); font-size: 16px !important; font-weight: 700; color: #0f766e !important; letter-spacing: .04em; }
.farm-form { display: flex; flex-direction: column; gap: 8px; }
.farm-select { height: 34px; font-size: 12px; }
.farm-progress { height: 8px; border-radius: 999px; background: #e6efe8; overflow: hidden; }
.farm-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4ade80, #0f9d6a);
  transition: width .8s linear;
}
.farm-harvest-btn { animation: farm-btn-pulse 1.8s ease-in-out infinite; }
@keyframes farm-btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 180, 41, .45); }
  50% { box-shadow: 0 0 0 8px rgba(240, 180, 41, 0); }
}
.farm-watered-tip { font-size: 12px; text-align: center; color: #0ea5e9; }

.farm-lower { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; margin-top: 40px; align-items: start; }
.farm-steal-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.farm-steal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 52, 30, .05);
}
.farm-steal-emoji { font-size: 34px; line-height: 1; }
.farm-steal-main { flex: 1; min-width: 0; }
.farm-steal-main b { display: block; font-size: 14px; color: var(--ink); }
.farm-steal-main span { font-size: 12px; color: var(--muted); }
.farm-empty {
  padding: 22px;
  border: 1px dashed #cbd9cf;
  border-radius: 16px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  background: #fbfdfb;
}
.farm-empty-icon { font-size: 28px; margin-bottom: 6px; }
.farm-side { display: flex; flex-direction: column; gap: 16px; }
.farm-panel { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.farm-panel-title { margin-bottom: 12px; font-size: 15px; font-weight: 800; color: var(--ink); }
.farm-board-list, .farm-recent-list { list-style: none; margin: 0; padding: 0; }
.farm-board-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.farm-board-list li:last-child { border-bottom: none; }
.farm-board-list li.is-me { color: #0f9d6a; font-weight: 700; }
.farm-rank { width: 22px; text-align: center; }
.farm-board-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.farm-board-list b { color: #0f9d6a; }
.farm-recent-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}
.farm-recent-list li:last-child { border-bottom: none; }
.farm-recent-list li span { flex: 1 1 100%; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.farm-recent-list li b { color: #0f9d6a; }
.farm-recent-list li em { font-style: normal; color: var(--muted); font-size: 11.5px; }
.farm-panel-empty { margin: 0; font-size: 12.5px; color: var(--muted); }
.farm-rules {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid #d8e9fb;
  border-radius: 12px;
  background: #f3f9ff;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .farm-crop-guide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .farm-lower { grid-template-columns: minmax(0, 1fr); }
  .farm-side { flex-direction: row; }
  .farm-panel { flex: 1; }
}
@media (max-width: 900px) {
  .farm-hero { flex-direction: column; align-items: stretch; }
  .farm-board { width: 100%; transform: none; }
  .farm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .farm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .farm-steal-list { grid-template-columns: minmax(0, 1fr); }
  .farm-side { flex-direction: column; }
  .farm-cloud--3, .farm-trees { display: none; }
}
@media (max-width: 600px) {
  .farm-grid { grid-template-columns: minmax(0, 1fr); }
  .farm-crop-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .farm-toolbar { align-items: flex-start; }
  .farm-grass { letter-spacing: 8px; }
}
/* ---------- 我的农场 v3：等级 / 每日任务 / 偷菜提醒 ---------- */
.farm-level {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid #d9ead9;
  border-radius: 18px;
  background: linear-gradient(120deg, #f6fff8, #eaf8ee 60%, #e2f4ff);
  box-shadow: 0 10px 26px rgba(15, 52, 30, .06);
}
.farm-level-badge {
  flex: none;
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid #fff;
  background: linear-gradient(145deg, #fbbf24, #f59e0b 55%, #d97706);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(217, 119, 6, .35);
  text-shadow: 0 1px 2px rgba(120, 53, 15, .4);
}
.farm-level-main { flex: 1; min-width: 0; }
.farm-level-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.farm-level-head b { font-size: 17px; color: #14532d; }
.farm-level-head span { font-size: 12.5px; color: var(--muted); }
.farm-level-head em { font-style: normal; font-weight: 800; color: #0f9d6a; }
.farm-level-bar { height: 12px; margin: 9px 0 7px; border-radius: 999px; background: #dfece2; overflow: hidden; }
.farm-level-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #fbbf24, #f59e0b); transition: width .6s ease; }
.farm-level-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 12px; color: var(--muted); }
.farm-level-bonus { font-weight: 700; color: #b45309; }

.farm-tasks { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(15, 52, 30, .05); }
.farm-tasks-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.farm-tasks-title { font-size: 16px; font-weight: 800; color: var(--ink); }
.farm-tasks-sub { margin-left: 8px; font-size: 12px; color: var(--muted); }
.farm-task-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.farm-task { padding: 13px 14px; border: 1px solid #e4eee6; border-radius: 14px; background: #fbfdfb; transition: border-color .2s, background .2s; }
.farm-task.is-done { border-color: #b7e4c7; background: #f2fcf5; }
.farm-task.is-claimed { border-color: #e5e7eb; background: #f7f8f9; opacity: .8; }
.farm-task-top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.farm-task-top b { font-size: 13px; color: var(--ink); }
.farm-task-top em { font-style: normal; font-size: 12px; font-weight: 700; color: #0f9d6a; }
.farm-task-bar { height: 7px; margin: 9px 0 8px; border-radius: 999px; background: #e8efe9; overflow: hidden; }
.farm-task-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4ade80, #0f9d6a); }
.farm-task-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.farm-task-state { font-weight: 700; }

.farm-crop-card.is-locked { opacity: .62; background: #f6f7f8; }
.farm-crop-card.is-locked .farm-crop-emoji { filter: grayscale(.65); }
.farm-lock { margin-top: 3px; font-size: 10.5px; font-weight: 700; color: #92400e; }

.farm-theft-list, .farm-board-list, .farm-recent-list { list-style: none; margin: 0; padding: 0; }
.farm-theft-list li { display: flex; align-items: baseline; gap: 6px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-2); }
.farm-theft-list li:last-child { border-bottom: none; }
.farm-theft-emoji { font-size: 16px; }
.farm-theft-main { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.farm-theft-main b { color: #b45309; }
.farm-theft-list em { font-style: normal; font-size: 11.5px; color: var(--muted); }
@media (max-width: 1100px) { .farm-task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .farm-level { flex-direction: column; align-items: flex-start; }
  .farm-task-grid { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- 我的农场 v4：一个农场四个区域 ---------- */
.farm-zone-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.farm-zone {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dcead9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 52, 30, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.farm-zone:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(15, 52, 30, .1); }
.farm-zone--chicken { background: linear-gradient(180deg, #fffdf6, #fff7e6); }
.farm-zone--duck { background: linear-gradient(180deg, #f6fcff, #eaf7ff); }
.farm-zone--fish { background: linear-gradient(180deg, #f4fbff, #e5f6ff); }
.farm-zone--flower { background: linear-gradient(180deg, #fff8fb, #fbeff7); }
.farm-zone.is-ready { border-color: #f0b429; box-shadow: 0 0 0 3px rgba(240, 180, 41, .16); }
.farm-zone-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.farm-zone-title { font-size: 16px; font-weight: 800; color: #14532d; }
.farm-zone-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.farm-zone-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 176px;
  padding: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .04);
}
.farm-zone-scene--chicken {
  background:
    radial-gradient(circle at 20% 85%, rgba(240, 200, 90, .35), transparent 55%),
    repeating-linear-gradient(45deg, rgba(190, 140, 50, .08) 0 6px, transparent 6px 14px),
    linear-gradient(180deg, #f6edd6, #eadcb8);
}
.farm-zone-scene--duck {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .6), transparent 45%),
    repeating-linear-gradient(0deg, rgba(120, 190, 255, .18) 0 2px, transparent 2px 18px),
    linear-gradient(180deg, #d8f0ff, #a9dcf7);
}
.farm-zone-scene--fish {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .45), transparent 40%),
    repeating-linear-gradient(90deg, rgba(90, 160, 220, .12) 0 3px, transparent 3px 26px),
    linear-gradient(180deg, #b9e6f7, #7fc7ea);
}
.farm-zone-scene--flower {
  background:
    radial-gradient(circle at 20% 90%, rgba(255, 180, 220, .35), transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(255, 240, 170, .5), transparent 45%),
    linear-gradient(180deg, #eaf9e6, #cdeccb);
}
.farm-zone-habitat { font-size: 40px; letter-spacing: 10px; line-height: 1.2; filter: drop-shadow(0 6px 6px rgba(30, 80, 50, .18)); }
.farm-zone-empty { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.farm-zone-empty b { font-size: 14px; color: #14532d; }
.farm-zone-empty span { font-size: 12px; color: #4b7a5d; }
.farm-zone-animal { position: relative; display: flex; align-items: center; justify-content: center; }
.farm-zone-animal span { font-size: 64px; line-height: 1; filter: drop-shadow(0 8px 10px rgba(20, 60, 30, .3)); }
.farm-zone-animal--stage0 span { font-size: 34px; animation: farm-grow 3s ease-in-out infinite; }
.farm-zone-animal--stage1 span { font-size: 48px; animation: farm-grow 3.4s ease-in-out infinite; }
.farm-zone-animal--stage2 span { font-size: 58px; }
.farm-zone-animal--stage3 span { font-size: 68px; animation: farm-ready-bounce 1.5s ease-in-out infinite; }
.farm-zone-ready-text { font-size: 14px; font-weight: 800; color: #b45309; }
.farm-zone-grow { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; }
.farm-zone-grow b { font-size: 13px; color: #14532d; }
.farm-zone-grow b i { font-style: normal; font-size: 12px; color: #4b7a5d; }
.farm-zone-progress { width: 100%; max-width: 320px; height: 9px; border-radius: 999px; background: rgba(255, 255, 255, .65); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08); }
.farm-zone-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4ade80, #0f9d6a); transition: width .8s linear; }
.farm-zone-timer { font-family: var(--mono); font-size: 16px; font-weight: 800; color: #0f766e; }
.farm-zone-actions { display: flex; flex-direction: column; gap: 8px; }
.farm-zone-form { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 900px) { .farm-zone-grid { grid-template-columns: minmax(0, 1fr); } }
/* ---------- 我的农场：操作提示（不跳顶部） ---------- */
.farm-toast {
  position: fixed;
  bottom: 34px;
  left: 50%;
  z-index: 260;
  max-width: min(560px, calc(100vw - 32px));
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(17, 40, 28, .92);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 14px 34px rgba(8, 30, 18, .28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .22s ease, transform .22s ease;
}
.farm-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.farm-toast.is-ok { background: rgba(6, 95, 70, .95); }
.farm-toast.is-error { background: rgba(153, 27, 27, .95); }
@media (max-width: 600px) { .farm-toast { bottom: 22px; font-size: 13px; padding: 10px 16px; } }
/* ---------- 我的农场 v5：写实插画渲染 ---------- */
.farm-scene { padding-bottom: 0; }
.farm-fence { margin: 0 calc(50% - 50vw); overflow: hidden; line-height: 0; }
.farm-fence svg { display: block; width: 100%; height: 112px; }
.farm-zone-scene {
  padding: 0;
  min-height: 0;
  background: #eaf4e4;
  aspect-ratio: 2 / 1;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
}
.farm-art-svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.farm-zone-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9) 62%);
  text-align: center;
  pointer-events: none;
}
.farm-zone-overlay b { font-size: 13.5px; color: #14532d; }
.farm-zone-overlay b i { font-style: normal; font-size: 12px; color: #4b7a5d; }
.farm-zone-overlay > span { font-size: 12px; color: #4b7a5d; }
.farm-zone-overlay .farm-ready-text { color: #b45309; font-size: 14px; }
.farm-zone-overlay .farm-zone-progress {
  width: 100%;
  max-width: 320px;
  height: 8px;
  margin-top: 2px;
  background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}
.farm-zone-overlay .farm-zone-progress i { background: linear-gradient(90deg, #4ade80, #0f9d6a); }
.farm-zone-overlay .farm-zone-timer { font-family: var(--mono); font-size: 15px; font-weight: 800; color: #0f766e; }
.farm-zone-scene--chicken,
.farm-zone-scene--duck,
.farm-zone-scene--fish,
.farm-zone-scene--flower { background: transparent; }
.art-bob { animation: art-bob 2.6s ease-in-out infinite; transform-origin: center bottom; }
.art-float { animation: art-float 3.4s ease-in-out infinite; transform-origin: center bottom; }
.art-swim { animation: art-swim 5.2s ease-in-out infinite; transform-origin: center center; }
.art-flower { animation: art-flower 4.2s ease-in-out infinite; transform-origin: center bottom; }
.art-butterfly { animation: art-butterfly 4s ease-in-out infinite; transform-origin: center center; }
.art-mature { filter: drop-shadow(0 0 10px rgba(255, 206, 84, .65)); }
.art-animal.stage-0 { opacity: .9; }
.art-animal.stage-1 { opacity: .95; }
@keyframes art-bob {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50% { transform: translateY(-5px) rotate(.6deg); }
}
@keyframes art-float {
  0%, 100% { transform: translateY(0) rotate(-.8deg); }
  50% { transform: translateY(-4px) rotate(.8deg); }
}
@keyframes art-swim {
  0%, 100% { transform: translate(0, 0) rotate(-1.2deg); }
  50% { transform: translate(8px, -6px) rotate(1.2deg); }
}
@keyframes art-flower {
  0%, 100% { transform: rotate(-1.4deg); }
  50% { transform: rotate(1.6deg); }
}
@keyframes art-butterfly {
  0%, 100% { transform: translate(0, 0) rotate(-4deg); }
  50% { transform: translate(-14px, -10px) rotate(4deg); }
}
@media (max-width: 600px) {
  .farm-fence svg { height: 78px; }
  .farm-zone-scene { aspect-ratio: 1.7 / 1; }
}
/* 状态信息放在插画下方，不再遮挡画面 */
.farm-zone-overlay {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 2px 4px 0;
  background: none;
  pointer-events: auto;
}
.farm-zone-scene { aspect-ratio: 1.9 / 1; }
.farm-zone-scene .farm-art-svg { border-radius: 15px; }
.farm-zone-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 4px 0;
  text-align: center;
}
.farm-zone-info b { font-size: 13.5px; color: #14532d; }
.farm-zone-info b i { font-style: normal; font-size: 12px; color: #4b7a5d; }
.farm-zone-info > span { font-size: 12px; color: #4b7a5d; }
.farm-zone-info .farm-ready-text { color: #b45309; font-size: 14px; }
.farm-zone-info .farm-zone-progress {
  width: 100%;
  max-width: 320px;
  height: 8px;
  margin-top: 2px;
  background: #e6efe8;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08);
}
.farm-zone-info .farm-zone-progress i { background: linear-gradient(90deg, #4ade80, #0f9d6a); }
.farm-zone-info .farm-zone-timer { font-family: var(--mono); font-size: 15px; font-weight: 800; color: #0f766e; }