/* ===========================================================
   爱企邦出海服务平台 — App / Web 客户端样式
   设计语言：科技现代（深空蓝 + 电光青渐变 / 玻璃拟态 / 网格纹理）
   响应式：<900px 手机布局（底部 Tab），>=900px Web 桌面布局
   =========================================================== */
:root {
  /* 品牌 */
  --brand: #2f6bff;
  --brand-2: #00c8e0;
  --brand-dark: #1746c4;
  --brand-soft: #eaf1ff;
  --accent: #0fb5a6;
  --accent-soft: #e2f8f5;
  --violet: #7c5cff;
  --warn: #f59e0b;
  --warn-soft: #fff4e0;
  --danger: #e5484d;
  --danger-soft: #fdecec;

  /* 中性 */
  --ink: #080f22;
  --text: #101a30;
  --text-2: #4a5670;
  --text-3: #8b96ab;
  --line: #e4eaf4;
  --line-2: #eef2f9;
  --bg: #f1f5fb;
  --card: #ffffff;

  /* 形状与阴影 */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 23, 48, .04), 0 2px 8px rgba(11, 23, 48, .045);
  --shadow-md: 0 10px 30px rgba(11, 23, 48, .08);
  --shadow-lg: 0 24px 60px rgba(8, 15, 34, .16);
  --ring: 0 0 0 4px rgba(47, 107, 255, .12);

  /* 渐变 */
  --grad: linear-gradient(120deg, #1746c4 0%, #2f6bff 46%, #00c8e0 100%);
  --grad-soft: linear-gradient(120deg, #eaf1ff, #e6fbff);
  --grad-ink: linear-gradient(135deg, #070e22 0%, #0b1d40 55%, #103266 100%);

  --max: 1160px;
  --mono: "SF Mono", "JetBrains Mono", "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 480px at 8% -8%, rgba(47, 107, 255, .10), transparent 62%),
    radial-gradient(760px 420px at 96% 2%, rgba(0, 200, 224, .10), transparent 60%),
    linear-gradient(rgba(16, 26, 48, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 26, 48, .028) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px, 28px 28px;
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--text); }
img { display: block; max-width: 100%; }
::selection { background: rgba(47, 107, 255, .18); }

/* ---------- 布局骨架 ---------- */
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(16, 26, 48, .07);
}
.topbar-inner {
  max-width: var(--max); margin: 0 auto; height: 60px;
  padding: 0 18px; display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .2px; min-width: 0; }
.brand > span:last-child { min-width: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px; background: var(--grad);
  display: grid; place-items: center; color: #fff; flex: none;
  box-shadow: 0 6px 18px rgba(47, 107, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .35);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: -3px; border-radius: 14px;
  border: 1px solid rgba(47, 107, 255, .18);
}
.brand-name { font-size: 15.5px; white-space: nowrap; letter-spacing: .2px; }
.brand-sub {
  font-size: 9.5px; color: var(--text-3); font-weight: 600;
  letter-spacing: 1.4px; white-space: nowrap; font-family: var(--mono);
}
.topnav { display: none; gap: 2px; margin-left: 12px; }
.topnav a {
  padding: 8px 13px; border-radius: 10px; color: var(--text-2); font-size: 13.5px; font-weight: 500;
  transition: .16s ease;
}
.topnav a:hover { background: rgba(47, 107, 255, .06); color: var(--brand); }
.topnav a.on { background: var(--brand-soft); color: var(--brand); font-weight: 650; box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .12); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.topbar-right .btn { white-space: nowrap; max-width: 140px; overflow: hidden; }
.topbar-right .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lang-btn {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; flex: none;
  height: 34px; padding: 0 11px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--text-2);
  font-size: 12.5px; font-weight: 600; transition: .16s ease;
}
.lang-btn:hover { border-color: rgba(47, 107, 255, .35); color: var(--brand); box-shadow: var(--ring); }

.view { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 16px 16px 96px; }
.view.no-tab { padding-bottom: 28px; }
.view.has-action { padding-bottom: 116px; }

@media (max-width: 430px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 14.5px; }
  .topbar-inner { gap: 8px; padding: 0 12px; height: 56px; }
  .topbar-right { gap: 6px; }
  .topbar-right .btn { max-width: 100px; }
}

/* ---------- 底部 Tab（移动端） ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid rgba(16, 26, 48, .07);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(11, 23, 48, .05);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 4px 0; color: var(--text-3); font-size: 11px; font-weight: 500;
  position: relative; transition: .16s ease;
}
.tabbar a.on { color: var(--brand); font-weight: 650; }
.tabbar a.on::before {
  content: ""; position: absolute; top: -6px; width: 22px; height: 3px; border-radius: 0 0 4px 4px;
  background: var(--grad);
}
.tabbar svg { width: 22px; height: 22px; }

/* 中间「发布」主操作：图标加渐变底色，和普通 tab 明显区分 */
.tabbar a.is-pub { color: var(--brand); font-weight: 600; }
.tabbar a.is-pub svg { position: relative; z-index: 2; color: #fff; }
.tabbar a.is-pub span { position: relative; z-index: 2; }
.tabbar a.is-pub::after {
  content: ""; position: absolute; top: 0; left: 50%; margin-left: -13px;
  width: 26px; height: 26px; border-radius: 9px; background: var(--grad);
  box-shadow: 0 5px 14px rgba(47, 107, 255, .32); z-index: 1;
}
.tabbar a.is-pub.on::before { display: none; }

/* ---------- 发布：选择板块 ---------- */
.pub-picks { display: grid; gap: 10px; }
.pub-pick {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: .16s ease;
}
.pub-pick:hover { border-color: rgba(47, 107, 255, .24); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.pub-pick-ico {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: grid; place-items: center; color: var(--brand);
  background: var(--grad-soft);
}
.pub-pick-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pub-pick-name { font-size: 14.5px; font-weight: 700; color: var(--text); }
.pub-pick-desc { font-size: 11.5px; color: var(--text-3); line-height: 1.55; }
.pub-pick-dirs { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 3px; }
.pub-pick-arrow { color: var(--text-3); flex: none; }

/* 顶部「发布」入口：移动端由底部 tab 承担，桌面端才显示 */
.topbar-right .top-pub { display: none; }

/* ---------- 通用组件 ---------- */
.card {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.section { margin-top: 22px; }
.section-head { display: flex; align-items: baseline; gap: 9px; margin: 0 2px 12px; }
.section-title {
  font-size: 16.5px; font-weight: 750; letter-spacing: .2px;
  display: flex; align-items: center; gap: 8px;
}
.section-title::before {
  content: ""; width: 4px; height: 15px; border-radius: 3px;
  background: var(--grad); box-shadow: 0 0 10px rgba(47, 107, 255, .45);
}
.section-desc { font-size: 12px; color: var(--text-3); }
.section-more { margin-left: auto; font-size: 12.5px; color: var(--brand); font-weight: 650; white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font-size: 14px; font-weight: 650; background: #fff; color: var(--text);
  transition: .16s ease; white-space: nowrap;
}
.btn:active { transform: scale(.985); }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 20px rgba(47, 107, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 10px 26px rgba(47, 107, 255, .36); }
.btn-primary:disabled { background: #c3d2ea; box-shadow: none; cursor: not-allowed; filter: none; }
.btn-ghost { border-color: var(--line); color: var(--text-2); background: #fff; }
.btn-ghost:hover { border-color: rgba(47, 107, 255, .34); color: var(--brand); }
.btn-soft { background: var(--brand-soft); color: var(--brand); box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .1); }
.btn-soft:hover { background: #e0eaff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { height: 33px; padding: 0 12px; font-size: 12.5px; border-radius: 10px; }
.btn-block { width: 100%; }

.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2.5px 8px; border-radius: 7px; font-size: 11.5px; font-weight: 650;
  background: #f1f4f9; color: var(--text-2); white-space: nowrap;
}
.tag-blue { background: var(--brand-soft); color: var(--brand); }
.tag-teal { background: var(--accent-soft); color: #07867a; }
.tag-warn { background: var(--warn-soft); color: #a8620a; }
.tag-danger { background: var(--danger-soft); color: #c0262b; }
.tag-gray { background: #f1f4f9; color: #667085; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 33px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--text-2);
  font-size: 13px; font-weight: 500; white-space: nowrap; transition: .16s ease;
}
.chip:hover { border-color: rgba(47, 107, 255, .3); color: var(--brand); }
.chip.on {
  background: var(--grad); border-color: transparent; color: #fff; font-weight: 650;
  box-shadow: 0 6px 16px rgba(47, 107, 255, .26);
}

.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 13px; font-weight: 650; color: var(--text-2); margin-bottom: 7px; }
.field .req { color: var(--danger); margin-left: 3px; }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line); background: #fbfcff;
  border-radius: var(--radius-sm); padding: 12px 13px; outline: none;
  transition: .16s ease; font-size: 14px;
}
.input::placeholder, .textarea::placeholder { color: #a9b4c8; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand); background: #fff; box-shadow: var(--ring);
}
.textarea { min-height: 104px; resize: vertical; line-height: 1.7; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%238b96ab' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px;
}
.hint { font-size: 11.5px; color: var(--text-3); margin-top: 6px; line-height: 1.6; }
.err-text { color: var(--danger); font-size: 12px; margin-top: 6px; }

/* 下拉选「其他」后展开的自定义输入 */
.other-wrap {
  margin-top: 8px; padding: 10px 12px 11px;
  border: 1px dashed rgba(47, 107, 255, .32); border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(47, 107, 255, .05), rgba(0, 200, 224, .04));
  animation: otherIn .18s ease;
}
.other-cap {
  display: flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 650; color: var(--brand);
  letter-spacing: .01em; margin-bottom: 7px;
}
.other-cap::before {
  content: ""; width: 3px; height: 11px; border-radius: 2px;
  background: var(--grad);
}
.other-wrap .input { background: #fff; }
@keyframes otherIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* 表单校验态 */
.field.invalid .input, .field.invalid .select, .field.invalid .textarea {
  border-color: rgba(229, 72, 77, .6); background: #fff8f8;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, .09);
}
.field-err { display: none; color: var(--danger); font-size: 11.5px; margin-top: 6px; font-weight: 500; }
.field.invalid .field-err { display: block; }
.counter { float: right; font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; font-family: var(--mono); }
.counter.over { color: var(--danger); font-weight: 700; }

.empty { text-align: center; padding: 48px 20px; color: var(--text-3); }
.empty-ico {
  width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 20px;
  background: linear-gradient(160deg, #f3f7ff, #eaf0fb); display: grid; place-items: center; color: #b6c2d6;
  box-shadow: inset 0 0 0 1px rgba(16, 26, 48, .04);
}
.empty-title { font-size: 14px; color: var(--text-2); font-weight: 650; margin-bottom: 4px; }
.empty-desc { font-size: 12.5px; line-height: 1.7; }

.spinner {
  width: 24px; height: 24px; border: 2.5px solid rgba(47, 107, 255, .16);
  border-top-color: var(--brand); border-radius: 50%;
  animation: spin .8s linear infinite; margin: 44px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton { background: linear-gradient(90deg, #eef1f7 25%, #f7f9fd 37%, #eef1f7 63%); background-size: 400% 100%; animation: sk 1.2s ease infinite; border-radius: 8px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: 24px;
  background: var(--grad-ink); color: #fff; padding: 30px 22px 24px;
  box-shadow: 0 24px 60px rgba(8, 15, 34, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
  isolation: isolate;
}
/* 网格纹理 */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(120, 180, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, .1) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(120% 90% at 78% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 78% 0%, #000 0%, transparent 72%);
}
/* 光晕 */
.hero::after {
  content: ""; position: absolute; right: -90px; top: -120px; width: 340px; height: 340px; z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 42%, rgba(0, 200, 224, .5), rgba(0, 200, 224, 0) 62%),
    radial-gradient(circle at 62% 58%, rgba(124, 92, 255, .42), rgba(124, 92, 255, 0) 60%);
  filter: blur(6px);
}
.hero > * { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.6px; font-weight: 600;
  color: #9fe6ff; text-transform: uppercase; margin-bottom: 12px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(0, 200, 224, .1); border: 1px solid rgba(0, 200, 224, .28);
}
.hero-eyebrow i {
  width: 5px; height: 5px; border-radius: 50%; background: #35e6c0;
  box-shadow: 0 0 8px #35e6c0; animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 {
  margin: 0 0 8px; font-size: 22px; line-height: 1.36; font-weight: 800; letter-spacing: .2px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #7ee8ff, #a9c4ff 60%, #c9b8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { margin: 0 0 18px; font-size: 12.5px; color: rgba(210, 226, 255, .74); max-width: 82%; line-height: 1.7; }
.hero-search {
  position: relative; display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .97); border-radius: 14px; padding: 6px 6px 6px 14px;
  box-shadow: 0 10px 30px rgba(4, 14, 36, .35), inset 0 0 0 1px rgba(255, 255, 255, .5);
  color: var(--text-3);
}
.hero-search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; height: 36px; font-size: 13.5px; color: var(--text); }
.hero-search button {
  height: 36px; padding: 0 18px; border-radius: 10px; border: none;
  background: var(--grad); color: #fff; font-weight: 650; font-size: 13px;
  box-shadow: 0 4px 14px rgba(47, 107, 255, .35);
}
.hero-stats { display: flex; gap: 0; margin-top: 20px; }
.hero-stats div {
  flex: 1; font-size: 10.5px; color: rgba(190, 210, 245, .66); letter-spacing: .2px;
  padding-left: 14px; border-left: 1px solid rgba(160, 190, 255, .16);
}
.hero-stats div:first-child { padding-left: 0; border-left: none; }
.hero-stats b {
  display: block; font-size: 20px; color: #fff; font-weight: 800;
  font-variant-numeric: tabular-nums; font-family: var(--mono); letter-spacing: -.5px;
  margin-bottom: 1px;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hero-badges span {
  font-size: 10.5px; color: rgba(206, 224, 255, .82);
  padding: 3px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(160, 195, 255, .18);
}

/* Hero 右侧撮合流程（仅桌面显示） */
.hero-side { display: none; }
.glass-panel {
  border-radius: 18px; border: 1px solid rgba(160, 195, 255, .22);
  background: rgba(255, 255, 255, .055); backdrop-filter: blur(12px);
  padding: 16px 16px 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.glass-head {
  display: flex; align-items: center; gap: 7px; padding-bottom: 10px; margin-bottom: 4px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.5px; color: #9fe6ff;
  text-transform: uppercase; border-bottom: 1px solid rgba(160, 195, 255, .14);
}
.dot-live { width: 6px; height: 6px; border-radius: 50%; background: #35e6c0; box-shadow: 0 0 10px #35e6c0; }
.flow-step { display: flex; gap: 11px; padding: 10px 0; border-bottom: 1px dashed rgba(160, 195, 255, .12); }
.flow-step:last-of-type { border-bottom: none; }
.flow-step b {
  font-family: var(--mono); font-size: 11px; color: #7ee8ff; height: fit-content;
  background: rgba(0, 200, 224, .12); border: 1px solid rgba(0, 200, 224, .24);
  border-radius: 7px; padding: 2px 6px;
}
.flow-step strong { display: block; font-size: 12.5px; color: #fff; font-weight: 700; }
.flow-step span { display: block; font-size: 11px; color: rgba(190, 210, 245, .68); line-height: 1.55; margin-top: 1px; }
.glass-foot {
  display: flex; justify-content: space-between; align-items: center; padding-top: 11px;
  font-size: 11px; color: rgba(190, 210, 245, .7); border-top: 1px solid rgba(160, 195, 255, .14);
}
.glass-foot b { color: #7ee8ff; font-family: var(--mono); font-size: 12px; }

/* ---------- 板块入口 ---------- */
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.board-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 15px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm); transition: .2s ease; overflow: hidden;
}
.board-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--grad); opacity: 0; transition: .2s ease;
}
.board-card:hover { border-color: rgba(47, 107, 255, .22); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.board-card:hover::before { opacity: 1; }
.board-ico {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  margin-bottom: 3px; box-shadow: 0 6px 16px rgba(11, 23, 48, .16);
}
.b-orders { background: linear-gradient(135deg, #2f6bff, #4f9bff); }
.b-tech { background: linear-gradient(135deg, #7c5cff, #a78bfa); }
.b-compliance { background: linear-gradient(135deg, #0fa79a, #2dd4bf); }
.b-other { background: linear-gradient(135deg, #ea7c1f, #fbbf24); }
.board-name { font-size: 14.5px; font-weight: 750; }
.board-desc { font-size: 11.5px; color: var(--text-3); line-height: 1.55; }

/* ---------- 列表卡片 ---------- */
.list { display: flex; flex-direction: column; gap: 11px; }
.item {
  display: block; padding: 15px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-sm); transition: .18s ease; position: relative;
}
.item:hover { border-color: rgba(47, 107, 255, .24); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.item-top { display: flex; align-items: center; gap: 6px; margin-bottom: 9px; flex-wrap: wrap; }
.item-title {
  font-size: 14.8px; font-weight: 700; line-height: 1.48; margin: 0 0 7px; letter-spacing: .1px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-title a:hover { color: var(--brand); }
.item-desc {
  font-size: 12.5px; color: var(--text-2); line-height: 1.65; margin: 0 0 11px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 11.5px; color: var(--text-3); }
.item-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; }
.item-meta span { display: inline-flex; align-items: center; gap: 3px; }
.item-pub { max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-foot { display: flex; align-items: center; gap: 8px; margin-top: 11px; padding-top: 11px; border-top: 1px dashed var(--line); }
.item-price {
  font-size: 14px; font-weight: 800; color: #d4380d; letter-spacing: -.2px;
  font-variant-numeric: tabular-nums;
}
.item-price small { font-weight: 500; color: var(--text-3); font-size: 11px; }

/* 带缩略图的卡片 */
.item.has-thumb { display: grid; grid-template-columns: 1fr 92px; gap: 12px; align-items: start; }
.item.has-thumb .item-main { min-width: 0; }
.item-thumb {
  width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: #eef2f9;
  border: 1px solid var(--line); position: relative;
}
.item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-thumb .more {
  position: absolute; right: 5px; bottom: 5px; font-size: 10px; font-weight: 700;
  color: #fff; background: rgba(8, 15, 34, .62); border-radius: 6px; padding: 1px 5px;
  font-family: var(--mono);
}

/* ---------- 案例 ---------- */
.case-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.case-scroll::-webkit-scrollbar { display: none; }
/* 案例网格：首页 2 列、桌面 3 列；列表页同款 */
.case-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-card {
  flex: none; width: 252px; border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .2s ease;
}
.case-grid .case-card { width: auto; }
.case-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(47, 107, 255, .22); }
.case-cover { height: 108px; position: relative; display: grid; place-items: center; color: rgba(255, 255, 255, .96); overflow: hidden; }
.case-cover::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(100% 100% at 30% 0%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(100% 100% at 30% 0%, #000, transparent 78%);
}
.case-cover span {
  position: relative; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(4px);
}
/* 有上传封面图时：图片铺满 + 标签浮到左上角 */
.case-cover.has-img { background: #0b1226; }
.case-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.case-cover.has-img::before { display: none; }
.case-cover.has-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 14, 34, .45) 0%, rgba(7, 14, 34, 0) 42%, rgba(7, 14, 34, .28) 100%);
}
.case-cover.has-img span { position: absolute; top: 9px; left: 9px; z-index: 2; background: rgba(7, 14, 34, .5); }
.g1 { background: linear-gradient(135deg, #0b3aa8, #2f8ef0); }
.g2 { background: linear-gradient(135deg, #5b21b6, #a78bfa); }
.g3 { background: linear-gradient(135deg, #0b6b62, #2dd4bf); }
.g4 { background: linear-gradient(135deg, #a15c07, #fbbf24); }
.g5 { background: linear-gradient(135deg, #12306e, #0ea5e9); }
.case-body { padding: 12px 13px 14px; }
.case-title { font-size: 13.5px; font-weight: 700; line-height: 1.5; margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-sum { font-size: 11.5px; color: var(--text-3); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 页面头 ---------- */
.page-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.back-btn {
  width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; color: var(--text-2); flex: none;
  transition: .16s ease;
}
.back-btn:hover { border-color: rgba(47, 107, 255, .3); color: var(--brand); }
.page-title { font-size: 16.5px; font-weight: 750; letter-spacing: .1px; }

/* ---------- 详情页 ---------- */
.detail-hero {
  padding: 20px; border-radius: 20px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.detail-hero::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--grad);
}
.detail-title { font-size: 19.5px; font-weight: 800; line-height: 1.45; margin: 9px 0 12px; letter-spacing: .1px; }
.detail-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border-radius: 13px; overflow: hidden; margin-top: 16px; border: 1px solid var(--line);
}
.info-cell { background: #fbfcff; padding: 11px 13px; }
.info-cell dt { font-size: 10.5px; color: var(--text-3); margin-bottom: 2px; letter-spacing: .3px; }
.info-cell dd { margin: 0; font-size: 13px; font-weight: 700; color: var(--text); word-break: break-all; }
.block { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 17px; margin-top: 13px; box-shadow: var(--shadow-sm); }
.block h3 { margin: 0 0 11px; font-size: 14px; font-weight: 750; display: flex; align-items: center; gap: 8px; }
.block h3::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--grad); }
.block p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.9; white-space: pre-wrap; }

/* 详情图集 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.gallery a, .gallery div { position: relative; border-radius: 12px; overflow: hidden; background: #eef2f9; border: 1px solid var(--line); aspect-ratio: 1 / 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: .25s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery .g-more {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(8, 15, 34, .5); color: #fff; font-size: 13px; font-weight: 700;
  font-family: var(--mono); backdrop-filter: blur(2px);
}
.gallery-single { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #eef2f9; }

.contact-locked {
  display: flex; align-items: center; gap: 12px; padding: 15px;
  background: linear-gradient(135deg, #f7faff, #eef5ff); border: 1px dashed rgba(47, 107, 255, .28);
  border-radius: 14px;
}
.contact-locked .ico {
  width: 38px; height: 38px; border-radius: 12px; background: #fff; display: grid; place-items: center;
  color: var(--brand); box-shadow: var(--shadow-sm); flex: none;
}
.contact-locked b { display: block; font-size: 13px; }
.contact-locked span { font-size: 11.5px; color: var(--text-3); }

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid rgba(16, 26, 48, .08);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; align-items: center;
  box-shadow: 0 -8px 28px rgba(11, 23, 48, .07);
}
.action-bar .btn { flex: 1; height: 46px; font-size: 15px; }

/* ---------- 举报 ---------- */
.report-line { display: flex; justify-content: center; margin: 18px 0 4px; }
.report-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-3); background: none; border: none;
  padding: 6px 10px; border-radius: 8px; cursor: pointer; transition: .16s ease;
}
.report-link:hover { color: var(--danger); background: var(--danger-soft); }
.modal-report { text-align: left; }
.report-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 12px; }
.report-opt {
  display: flex; align-items: center; gap: 7px; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 11px; font-size: 12.5px;
  color: var(--text-2); cursor: pointer; transition: .16s ease; background: #fbfcfe;
}
.report-opt input { accent-color: var(--brand); margin: 0; flex: none; }
.report-opt input:checked + span { color: var(--danger); font-weight: 650; }
.report-opt.on { border-color: rgba(229, 72, 77, .38); background: var(--danger-soft); }
.modal-report .textarea { width: 100%; min-height: 74px; margin-bottom: 4px; }

/* ---------- 个人中心 ---------- */
.profile {
  padding: 20px; border-radius: 20px; background: var(--grad-ink); color: #fff;
  box-shadow: 0 18px 44px rgba(8, 15, 34, .26); position: relative; overflow: hidden;
}
.profile::after {
  content: ""; position: absolute; right: -60px; top: -70px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 224, .38), transparent 66%);
}
.profile-row { display: flex; align-items: center; gap: 13px; position: relative; }
.avatar {
  width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .14);
  display: grid; place-items: center; font-size: 20px; font-weight: 800;
  border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(6px);
}
.profile-name { font-size: 16.5px; font-weight: 750; }
.profile-sub { font-size: 11.5px; color: rgba(206, 224, 255, .72); margin-top: 2px; }
.profile-stats { display: flex; gap: 0; margin-top: 18px; position: relative; }
.profile-stats div {
  flex: 1; font-size: 10.5px; color: rgba(190, 210, 245, .68); padding-left: 14px;
  border-left: 1px solid rgba(160, 190, 255, .16);
}
.profile-stats div:first-child { padding-left: 0; border-left: none; }
.profile-stats b { display: block; font-size: 18px; color: #fff; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.profile-stats div:last-child b { font-size: 13.5px; letter-spacing: -.3px; }

.menu { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }
.menu-row {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; width: 100%;
  background: #fff; border: none; border-bottom: 1px solid var(--line-2); text-align: left; font-size: 14px;
  transition: .14s ease;
}
.menu-row:last-child { border-bottom: none; }
.menu-row:hover { background: #fafcff; }
.menu-ico { width: 33px; height: 33px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.menu-ico.teal { background: var(--accent-soft); color: #07867a; }
.menu-ico.warn { background: var(--warn-soft); color: #a8620a; }
.menu-ico.gray { background: #f1f4f9; color: #667085; }
.menu-ico.red { background: var(--danger-soft); color: #c0262b; }
.menu-label { flex: 1; font-weight: 500; }
.menu-arrow { color: #c3ccdb; display: flex; }
.menu-badge { background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 7px; }

/* ---------- 认证页 ---------- */
.auth-wrap { max-width: 430px; margin: 0 auto; padding: 28px 0 20px; }
.auth-logo { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 24px; }
.auth-logo .mark {
  width: 58px; height: 58px; border-radius: 18px; background: var(--grad);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 16px 34px rgba(47, 107, 255, .34), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.auth-logo h2 { margin: 0; font-size: 19.5px; font-weight: 800; }
.auth-logo p { margin: 0; font-size: 12.5px; color: var(--text-3); text-align: center; }
.auth-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 19px;
  box-shadow: var(--shadow-md);
}
.agree-row { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--text-2); margin: 4px 0 16px; line-height: 1.65; }
.agree-row input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.agree-row a { color: var(--brand); font-weight: 650; }
.agree-row.invalid { color: var(--danger); }
.agree-row.invalid .box { outline: 2px solid rgba(229, 72, 77, .35); border-radius: 4px; }
.auth-foot { text-align: center; font-size: 12.5px; color: var(--text-3); margin-top: 16px; }
.auth-foot a { color: var(--brand); font-weight: 650; }

/* ---------- 发布页 ---------- */
.pub-hero {
  position: relative; overflow: hidden; border-radius: 20px; padding: 18px 18px 16px;
  background: var(--grad-ink); color: #fff; margin-bottom: 14px;
  box-shadow: 0 16px 40px rgba(8, 15, 34, .24);
}
.pub-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 180, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, .1) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(110% 100% at 80% 0%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(110% 100% at 80% 0%, #000, transparent 76%);
}
.pub-hero > * { position: relative; }
.pub-hero h2 { margin: 0 0 5px; font-size: 18px; font-weight: 800; }
.pub-hero p { margin: 0; font-size: 12px; color: rgba(206, 224, 255, .72); line-height: 1.6; }
.pub-hero .progress-wrap { margin-top: 14px; }
.progress { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.progress-fill {
  height: 100%; border-radius: 99px; background: linear-gradient(90deg, #35e6c0, #7ee8ff);
  box-shadow: 0 0 12px rgba(53, 230, 192, .6); transition: width .3s ease;
}
.progress-label {
  display: flex; justify-content: space-between; font-size: 10.5px; margin-top: 7px;
  color: rgba(206, 224, 255, .7); font-family: var(--mono); letter-spacing: .4px;
}

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.form-sec { padding: 18px 17px; border-bottom: 1px solid var(--line-2); }
.form-sec:last-of-type { border-bottom: none; }
.form-sec-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.form-sec-ico {
  width: 32px; height: 32px; border-radius: 10px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; flex: none;
}
.form-sec-title { font-size: 14px; font-weight: 750; line-height: 1.3; }
.form-sec-desc { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.form-sec-body .field:last-child { margin-bottom: 0; }

/* 分段选择 */
.seg { display: flex; gap: 8px; }
.seg-item {
  flex: 1; padding: 11px 12px; border-radius: 13px; border: 1px solid var(--line);
  background: #fbfcff; text-align: left; transition: .16s ease; position: relative;
}
.seg-item b { display: block; font-size: 13.5px; font-weight: 700; color: var(--text); }
.seg-item span { display: block; font-size: 11px; color: var(--text-3); margin-top: 1px; }
.seg-item:hover { border-color: rgba(47, 107, 255, .28); }
.seg-item.on {
  border-color: transparent; background: linear-gradient(135deg, #eef4ff, #e8fbff);
  box-shadow: inset 0 0 0 1.5px rgba(47, 107, 255, .5), 0 6px 16px rgba(47, 107, 255, .12);
}
.seg-item.on b { color: var(--brand); }
.seg-item.on::after {
  content: ""; position: absolute; right: 10px; top: 10px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(47, 107, 255, .16);
}

/* 图片上传 */
.uploader { border: 1.5px dashed rgba(47, 107, 255, .28); border-radius: 15px; padding: 12px; background: linear-gradient(160deg, #fafcff, #f4f8ff); }
.uploader.drag { border-color: var(--brand); background: #eef4ff; }
.up-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.up-item { position: relative; border-radius: 11px; overflow: hidden; aspect-ratio: 1 / 1; background: #eef2f9; border: 1px solid var(--line); }
.up-item img { width: 100%; height: 100%; object-fit: cover; }
.up-item .up-del {
  position: absolute; right: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  border: none; background: rgba(8, 15, 34, .62); color: #fff; font-size: 12px; line-height: 1;
  display: grid; place-items: center; backdrop-filter: blur(3px);
}
.up-item .up-del:hover { background: var(--danger); }
.up-add {
  aspect-ratio: 1 / 1; border-radius: 11px; border: 1.5px dashed rgba(47, 107, 255, .32);
  background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--brand); font-size: 10.5px; font-weight: 600; transition: .16s ease;
}
.up-add:hover { border-color: var(--brand); background: #f6faff; box-shadow: var(--ring); }
.up-add.disabled { opacity: .45; cursor: not-allowed; }
.up-tip { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-3); margin-top: 9px; }
.up-tip b { color: var(--brand); font-weight: 700; }

/* 提交条 */
.submit-bar {
  position: sticky; bottom: 0; z-index: 30; margin-top: 14px;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 62%, rgba(241, 245, 251, 0));
}
.submit-bar .btn { height: 48px; font-size: 15px; border-radius: 14px; }

/* ---------- 弹窗 ---------- */
.mask {
  position: fixed; inset: 0; z-index: 90; background: rgba(8, 15, 34, .55);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fade .18s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  width: 100%; max-width: 384px; background: #fff; border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 24px 21px 19px; animation: pop .2s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 750; }
.modal p { margin: 0 0 20px; font-size: 13px; color: var(--text-2); line-height: 1.75; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; height: 44px; }

.toast-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 120; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast {
  max-width: 88%; padding: 11px 17px; border-radius: 13px; background: rgba(8, 15, 34, .92);
  color: #fff; font-size: 13px; box-shadow: var(--shadow-lg); animation: drop .22s ease;
  display: flex; align-items: center; gap: 8px; backdrop-filter: blur(8px);
}
.toast.ok { background: rgba(6, 95, 70, .94); }
.toast.err { background: rgba(160, 26, 32, .94); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- 首启协议弹窗 ---------- */
.launch {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 15, 34, .6);
  backdrop-filter: blur(5px); display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 640px) { .launch { align-items: center; } }
.launch-card {
  width: 100%; max-width: 470px; background: #fff; border-radius: 26px 26px 0 0;
  padding: 26px 21px calc(20px + env(safe-area-inset-bottom)); animation: up .26s ease;
}
@media (min-width: 640px) { .launch-card { border-radius: 26px; padding-bottom: 24px; } }
@keyframes up { from { transform: translateY(24px); opacity: .6; } }
.launch-ico {
  width: 54px; height: 54px; border-radius: 17px; background: var(--grad);
  display: grid; place-items: center; color: #fff; margin-bottom: 15px;
  box-shadow: 0 12px 28px rgba(47, 107, 255, .3);
}
.launch h2 { margin: 0 0 8px; font-size: 18.5px; font-weight: 800; }
.launch p { margin: 0 0 13px; font-size: 13px; color: var(--text-2); line-height: 1.78; }
.launch-links { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.launch-links a { font-size: 12.5px; color: var(--brand); background: var(--brand-soft); padding: 5px 11px; border-radius: 9px; font-weight: 650; }
.launch-actions { display: flex; gap: 10px; }
.launch-actions .btn { flex: 1; height: 46px; }

/* ---------- 文档排版 ---------- */
.doc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 19px 17px; box-shadow: var(--shadow-sm); }
.doc h2 { font-size: 17.5px; margin: 0 0 4px; }
.doc .doc-meta { font-size: 11.5px; color: var(--text-3); margin-bottom: 15px; font-family: var(--mono); }
.doc h3 { font-size: 14px; margin: 20px 0 6px; }
.doc p { font-size: 13px; color: var(--text-2); line-height: 1.9; margin: 0 0 8px; }
.doc ul { padding-left: 18px; margin: 0 0 10px; }
.doc li { font-size: 13px; color: var(--text-2); line-height: 1.9; }
.doc table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 8px 0 14px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: #f7f9fd; font-weight: 650; color: var(--text-2); white-space: nowrap; }
.doc td { color: var(--text-2); }

/* ---------- 工具类 ---------- */
.row { display: flex; align-items: center; gap: 8px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.muted { color: var(--text-3); }
.small { font-size: 12px; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.flex1 { flex: 1; }
.hide { display: none !important; }

/* ---------- 桌面端适配 ---------- */
@media (min-width: 900px) {
  .topnav { display: flex; }
  .tabbar { display: none; }
  .topbar-right .top-pub { display: inline-flex; }
  .view { padding: 26px 26px 56px; }
  .hero { padding: 42px 40px 32px; border-radius: 26px; display: grid; grid-template-columns: minmax(0, 1fr) 328px; gap: 38px; align-items: center; }
  .hero-main { min-width: 0; }
  .hero-side { display: block; }
  .hero h1 { font-size: 31px; }
  .hero p { font-size: 13.5px; max-width: 100%; }
  .hero-search { max-width: 520px; }
  .hero-stats { max-width: 560px; gap: 0; }
  .hero-stats b { font-size: 24px; }
  .board-grid { grid-template-columns: repeat(4, 1fr); gap: 15px; }
  .board-card { padding: 20px; }
  .pub-picks { grid-template-columns: 1fr 1fr; }
  .list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
  .item { padding: 17px; }
  .case-card { width: 312px; }
  .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  .case-cover { height: 132px; }
  .detail-hero { padding: 28px 30px; }
  .detail-title { font-size: 24px; }
  .info-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .action-bar {
    position: static; background: transparent; border: none; padding: 16px 0 0;
    backdrop-filter: none; box-shadow: none; max-width: 380px;
  }
  .page-2col { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
  .auth-wrap { padding-top: 44px; }
  .profile { padding: 26px 30px; }
  .me-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
  .form-sec { padding: 22px 24px; }
  .up-grid { grid-template-columns: repeat(6, 1fr); }
  .submit-bar { position: static; background: none; padding: 16px 0 0; }
  .submit-bar .btn { max-width: 380px; }
  .pub-hero { padding: 26px 28px 22px; }
  .pub-hero h2 { font-size: 21px; }
}

/* 大屏两列发布页 */
@media (min-width: 1080px) {
  .pub-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
  .pub-side { position: sticky; top: 84px; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
