/* ============================================================
   商丘天网科技有限公司 · 企业官网样式
   风格：简约大气 / 科技蓝
   ============================================================ */

:root {
  --ink: #0b1c33;
  --ink-2: #122a4d;
  --primary: #1452cc;
  --primary-dark: #0e3c99;
  --accent: #2ec5ff;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-deep: #0b1c33;
  --text: #2a3342;
  --muted: #6b7785;
  --border: #e6ebf2;
  --shadow: 0 10px 30px rgba(13, 38, 76, 0.08);
  --shadow-lg: 0 20px 50px rgba(13, 38, 76, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.brand .logo-img { height: 36px; max-width: 60px; width: auto; flex: 0 0 auto; object-fit: contain; display: block; }
.brand .brand-text { line-height: 1.15; }
.brand .brand-text b { font-size: 18px; display: block; }
.brand .brand-text span { font-size: 11px; color: var(--muted); letter-spacing: 2px; font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-links a.active::after { width: 100%; }

.nav-auth { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(20, 82, 204, 0.35); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 12px 26px rgba(20, 82, 204, 0.45); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { box-shadow: var(--shadow); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(46,197,255,0.25), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(20,82,204,0.45), transparent 55%),
    linear-gradient(135deg, #0b1c33 0%, #102a52 55%, #0e3c99 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 80%);
  opacity: 0.6;
}
.hero-inner { position: relative; padding: 110px 0 120px; }
.hero .kicker {
  display: inline-block;
  font-size: 13px; letter-spacing: 3px;
  color: var(--accent);
  border: 1px solid rgba(46,197,255,0.4);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 48px; line-height: 1.18; margin: 0 0 18px;
  font-weight: 800; letter-spacing: 1px;
}
.hero p.lead {
  font-size: 18px; color: rgba(255,255,255,0.82);
  max-width: 640px; margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 56px; flex-wrap: wrap;
}
.hero-stats .stat b { font-size: 34px; font-weight: 800; color: #fff; display: block; }
.hero-stats .stat span { font-size: 13px; color: rgba(255,255,255,0.7); letter-spacing: 1px; }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .kicker {
  font-size: 13px; letter-spacing: 3px; color: var(--primary);
  font-weight: 700; text-transform: uppercase;
}
.section-head h2 {
  font-size: 34px; margin: 12px 0 14px; color: var(--ink); font-weight: 800;
}
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- 业务网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity 0.2s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(20,82,204,0.12), rgba(46,197,255,0.18));
  color: var(--primary);
  margin-bottom: 18px;
}
.service-card .icon svg { width: 30px; height: 30px; }
.service-card h3 { margin: 0 0 6px; font-size: 20px; color: var(--ink); }
.service-card .cat { font-size: 12px; color: var(--primary); letter-spacing: 1px; font-weight: 600; }
.service-card p { color: var(--muted); font-size: 14.5px; margin: 10px 0 0; }
.service-card .more {
  margin-top: 16px; font-size: 14px; color: var(--primary); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
}
.service-card .more svg { width: 16px; height: 16px; transition: transform 0.2s; }
.service-card.open .more svg { transform: rotate(90deg); }
.service-card .detail {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text); font-size: 14px;
  border-top: 1px dashed var(--border); margin-top: 14px;
}
.service-card.open .detail { max-height: 320px; padding-top: 14px; }

/* ---------- 主营业务 banner ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.biz-banner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  padding: 28px 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 14px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.biz-banner:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.biz-icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 10px 22px rgba(20, 82, 204, 0.28);
}
.biz-icon svg { width: 32px; height: 32px; }
.biz-banner h4 { margin: 0; font-size: 19px; color: var(--ink); letter-spacing: 0.5px; }
.biz-banner p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .biz-banner { padding: 20px 14px; border-radius: 14px; }
  .biz-icon { width: 52px; height: 52px; border-radius: 14px; }
  .biz-icon svg { width: 26px; height: 26px; }
  .biz-banner h4 { font-size: 16px; }
  .biz-banner p { font-size: 12px; }
}

/* 首页主营业务图块：整体缩小约三分之一，居中显示（不影响产品服务页） */
.home-biz { max-width: 760px; margin-left: auto; margin-right: auto; }
.home-biz .biz-banner { padding: 22px 18px; }
.home-biz .biz-icon { width: 52px; height: 52px; border-radius: 15px; }
.home-biz .biz-icon svg { width: 26px; height: 26px; }
.home-biz .biz-banner h4 { font-size: 17px; }
.home-biz .biz-banner p { font-size: 13px; }

/* ---------- 业务详细介绍 ---------- */
.svc-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.svc-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.svc-ico {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(20,82,204,0.12), rgba(46,197,255,0.20));
  color: var(--primary);
}
.svc-ico svg { width: 28px; height: 28px; }
.svc-head h3 { margin: 0; font-size: 19px; color: var(--ink); letter-spacing: 0.3px; }
.svc-head .en {
  display: block; margin-top: 3px;
  font-size: 11.5px; letter-spacing: 1.1px; font-weight: 600;
  color: var(--primary); text-transform: uppercase;
}
.svc-item .svc-lead { margin: 0 0 4px; color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.svc-label {
  font-size: 13px; font-weight: 700; color: var(--ink-2);
  margin: 18px 0 10px; padding-left: 10px; position: relative; letter-spacing: 0.5px;
}
.svc-label::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.svc-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 18px; }
.svc-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--text); line-height: 1.6; }
.svc-list li::before {
  content: ""; flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary); margin-top: 8px;
}
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.svc-tags span {
  font-size: 12.5px; color: var(--primary);
  background: rgba(20, 82, 204, 0.06);
  border: 1px solid rgba(20, 82, 204, 0.14);
  padding: 4px 11px; border-radius: 999px;
}

@media (max-width: 980px) {
  .svc-detail { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .svc-item { padding: 24px 18px; }
  .svc-head h3 { font-size: 17px; }
  .svc-ico { width: 46px; height: 46px; border-radius: 13px; }
  .svc-ico svg { width: 24px; height: 24px; }
  .svc-list { grid-template-columns: 1fr; }
}

/* ---------- 优势 ---------- */
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--border);
}
.feature .num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.feature h4 { margin: 0 0 4px; color: var(--ink); font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 案例 ---------- */
.case-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-thumb {
  height: 150px;
  background: linear-gradient(135deg, var(--ink-2), var(--primary));
  position: relative; display: flex; align-items: flex-end; padding: 16px;
  color: #fff;
}
.case-thumb .yr { position: absolute; top: 14px; right: 16px; font-size: 13px; opacity: 0.85; }
.case-thumb .cat { font-size: 12px; background: rgba(255,255,255,0.18); padding: 4px 10px; border-radius: 999px; }
.case-body { padding: 20px; }
.case-body h4 { margin: 0 0 6px; color: var(--ink); font-size: 18px; }
.case-body .client { font-size: 13px; color: var(--primary); margin-bottom: 8px; }
.case-body p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--ink), var(--primary-dark));
  color: #fff; border-radius: 22px; padding: 56px;
  text-align: center; position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,197,255,0.4), transparent 70%);
}
.cta h2 { font-size: 30px; margin: 0 0 12px; }
.cta p { color: rgba(255,255,255,0.8); margin: 0 0 26px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-deep); color: rgba(255,255,255,0.75); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h5 { color: #fff; font-size: 15px; margin: 0 0 16px; }
.site-footer a { color: rgba(255,255,255,0.7); font-size: 14px; display: block; margin-bottom: 10px; }
.site-footer a:hover { color: var(--accent); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); max-width: 320px; }
/* 页脚品牌区：与页首一致，logo 与公司名称横排并清晰可见 */
.site-footer .brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.site-footer .brand .brand-text b { color: #fff; }
.site-footer .brand .brand-text span { color: rgba(255,255,255,0.65); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 36px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.55);
}

/* ---------- 关于我们 ---------- */
.about-hero { background: linear-gradient(135deg, var(--ink), var(--primary-dark)); color: #fff; padding: 90px 0; }
.about-hero h1 { font-size: 40px; margin: 0 0 14px; }
.about-hero p { color: rgba(255,255,255,0.8); max-width: 720px; font-size: 17px; }
.lead-text { font-size: 17px; color: var(--text); }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding: 0 0 26px 18px; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(20,82,204,0.2); }
.timeline .yr { font-weight: 700; color: var(--primary); }
.timeline h4 { margin: 4px 0 4px; color: var(--ink); }
.timeline p { margin: 0; color: var(--muted); font-size: 14.5px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.value-card h4 { color: var(--ink); margin: 0 0 8px; }
.value-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- 表单 ---------- */
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--text); margin-bottom: 7px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 15px; font-family: inherit;
  background: #fff; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20,82,204,0.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .err { color: #d64545; font-size: 13px; margin-top: 6px; min-height: 16px; }
.input-group { display: flex; gap: 10px; }
.input-group input { flex: 1; }

.contact-info { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item h4 { margin: 0 0 2px; font-size: 15px; color: var(--ink); }
.contact-item p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-card { display: flex; flex-direction: column; justify-content: flex-start; }

/* ---------- 合作伙伴 ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px 24px; display: flex; flex-direction: column; align-items: center;
  text-align: center; box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.partner-logo {
  width: 100%; height: 58px; margin-bottom: 12px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.partner-logo img {
  display: block; width: auto; height: auto;
  max-height: 46px; max-width: 150px; object-fit: contain;
}
/* 扁宽比例的品牌 Logo（如萤石），适当放大以保持视觉重量一致 */
.partner-logo img.wide { max-width: 186px; }
.partner-card h4 { margin: 0 0 4px; font-size: 17px; color: var(--ink); }
.partner-card .p-en {
  margin: 0 0 10px; font-size: 11px; color: var(--muted);
  letter-spacing: 1px; text-transform: uppercase;
}
.partner-card .p-tag {
  font-size: 12px; font-weight: 600; color: var(--primary);
  background: rgba(20, 82, 204, 0.07); border-radius: 999px; padding: 4px 12px;
}
.partner-card .p-desc { margin: 10px 0 0; font-size: 13.5px; line-height: 1.65; color: var(--muted); }

/* 合作说明（三栏） */
.partner-note { background: var(--bg-soft); }
.partner-note .grid { gap: 22px; }
.partner-note .feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }

/* ---------- 鉴权页 ---------- */
.auth-wrap { min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center; padding: 60px 20px; background: var(--bg-soft); }
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 38px; }
.auth-card h2 { margin: 0 0 6px; color: var(--ink); font-size: 26px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.tabs { display: flex; gap: 8px; margin-bottom: 22px; background: var(--bg-soft); padding: 5px; border-radius: 999px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 999px; cursor: pointer; font-family: inherit; font-size: 14px; color: var(--muted); font-weight: 600; }
.tabs button.active { background: #fff; color: var(--primary); box-shadow: var(--shadow); }
.auth-note { font-size: 13px; color: var(--muted); margin-top: 16px; text-align: center; }

/* ---------- 会员中心 ---------- */
.member-hero { background: linear-gradient(135deg, var(--ink), var(--primary-dark)); color: #fff; padding: 48px 0; }
.member-hero .row { display: flex; align-items: center; gap: 20px; }
.avatar {
  width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,0.4);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar svg { width: 38px; height: 38px; color: #fff; }
.member-hero h2 { margin: 0; font-size: 24px; }
.member-hero p { margin: 4px 0 0; color: rgba(255,255,255,0.75); font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.gallery .file {
  border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: #fff;
  position: relative;
}
.gallery .file .thumb { height: 110px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery .file .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery .file .thumb .ext { font-size: 26px; font-weight: 800; color: var(--primary); }
.gallery .file .meta { padding: 8px 10px; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.gallery .file .del { background: none; border: 0; color: #d64545; cursor: pointer; font-size: 12px; }

/* ---------- Toast ---------- */
.toast-host { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: #137a4b; }
.toast.error { background: #c0392b; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-auth { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; padding: 16px 24px; gap: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .hero h1 { font-size: 34px; }
  .hero-inner { padding: 70px 0 80px; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 26px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand .logo-img { height: 30px; max-width: 52px; max-height: 40px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .partner-card { padding: 20px 14px; }
  .partner-logo { height: 46px; margin-bottom: 8px; }
  .partner-logo img { max-height: 36px; max-width: 118px; }
  .partner-card h4 { font-size: 15.5px; }
  .cta { padding: 36px 22px; }
  .member-hero .row { flex-direction: column; text-align: center; }
}
