/* ============================================================
   湖南未序网络科技有限公司 · 设计系统 v3.0
   政务蓝 #0f4c81 + 琥珀金 #d97706
   居中布局 · 独特设计语言
   ============================================================ */

:root {
  --brand-50: #e8f1f8;
  --brand-100: #d1e3f1;
  --brand-200: #a3c7e3;
  --brand-300: #75abd5;
  --brand-400: #478fc7;
  --brand-500: #0f4c81;
  --brand-600: #0c3d68;
  --brand-700: #092e4f;
  --brand-800: #061f36;
  --brand-900: #030f1d;
  --gold-50: #fffbeb;
  --gold-100: #fef3c7;
  --gold-200: #fde68a;
  --gold-300: #fcd34d;
  --gold-400: #fbbf24;
  --gold-500: #d97706;
  --gold-600: #b45309;
  --gold-700: #92400e;
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --line: #e2e8f0;
  --line-light: #f1f5f9;
  --ink: #1e293b;
  --ink-mid: #475569;
  --ink-muted: #64748b;
  --ink-faint: #94a3b8;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 28px rgba(0,0,0,0.1);
  --shadow-xl: 0 24px 48px rgba(0,0,0,0.12);
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 24px;
  --r-full: 9999px;
  --max-w: 1200px;
  --font-sans: -apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  --font-serif: Georgia,"Noto Serif SC",serif;
  --transition: 0.2s ease;
  --transition-fast: 0.15s ease;
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:var(--font-sans);font-size:14px;line-height:1.6;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit}
h1,h2,h3,h4{margin:0;font-weight:600;line-height:1.3}
ul,ol{margin:0;padding:0}
li{list-style:none}
::selection{background:var(--brand-500);color:#fff}

.site-shell{min-height:100vh;display:flex;flex-direction:column}
.container{width:min(100% - 48px,var(--max-w));margin:0 auto}
.shell-main{flex:1}

/* ============================================================
   Header - 居中布局
   ============================================================ */

.shell-header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

/* 顶部信息条 */
.shell-topbar {
  background: linear-gradient(90deg, var(--brand-600), var(--brand-500));
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  padding: 10px 0;
}

.shell-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}

.shell-topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shell-topbar-item svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.shell-topbar-divider {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.3);
}

.shell-topbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.shell-topbar-link {
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.shell-topbar-link:hover {
  opacity: 1;
}

/* 主导航栏 */
.shell-header-main {
  padding: 12px 0;
}

.shell-header-inner {
  display: flex;
  align-items: center;
  position: relative;
}

/* 左侧导航 */
.shell-nav-left {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
  padding-right: 160px;
}

/* 中间Logo - 绝对定位居中 */
.shell-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.shell-brand-logo {
  height: 44px;
  width: 44px;
}

.shell-brand-text {
  display: flex;
  flex-direction: column;
}

.shell-brand-main {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-700);
  letter-spacing: 1px;
  line-height: 1.2;
}

.shell-brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* 右侧导航 */
.shell-nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  padding-left: 160px;
}

/* 导航链接 */
.shell-nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  border-radius: var(--r-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.shell-nav-link:hover {
  color: var(--brand-500);
  background: var(--brand-50);
}

.shell-nav-link.is-active {
  color: var(--brand-600);
  background: var(--brand-50);
  font-weight: 600;
}

/* 用户栏 */
.shell-userbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.shell-user-dropdown {
  position: relative;
}

.shell-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.shell-user-avatar:hover {
  transform: scale(1.05);
}

.shell-user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.shell-user-dropdown:hover .shell-user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.shell-user-menu-item {
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--ink);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.shell-user-menu-item:first-child {
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.shell-user-menu-item:last-child {
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}

.shell-user-menu-item:hover {
  background: var(--brand-50);
  color: var(--brand-600);
}

/* ============================================================
   Hero - 大胆视觉增强
   ============================================================ */

.z-hero {
  position: relative;
  background: var(--brand-600);
  padding: 48px 0 60px;
  overflow: hidden;
}

/* 动态背景层 */
.z-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(217,119,6,0.3) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

/* 点状图案 */
.z-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.z-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* 左侧内容 */
.z-hero-left {
  flex: 1;
  min-width: 0;
}

/* Logo行 */
.z-hero-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.z-hero-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.z-hero-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.z-hero-brand-main {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  line-height: 1.2;
}

.z-hero-brand-sub {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 1px;
  line-height: 1.2;
}

/* 标题 */
.z-hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.z-hero-title span {
  color: var(--gold-400);
  display: block;
}

/* 描述 */
.z-hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 500px;
}

/* 按钮行 */
.z-hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

/* 特性行 - 横向排列 */
.z-hero-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.z-hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-full);
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  transition: all var(--transition-fast);
}

.z-hero-feature:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.z-hero-feature svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-400);
  fill: none;
}

/* 分类快捷入口 */
.z-hero-cats {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}

.z-hero-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 12px;
  color: var(--ink-mid);
  transition: all var(--transition-fast);
}

.z-hero-cat:hover {
  background: var(--brand-50);
  border-color: var(--brand-300);
  color: var(--brand-600);
}

.z-hero-cat svg {
  width: 14px;
  height: 14px;
}

/* 右侧卡片 */
.z-hero-side {
  width: 320px;
  flex-shrink: 0;
}

.z-hero-activity {
  background: rgba(255,255,255,0.95);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 
    0 4px 6px -1px rgba(0,0,0,0.1),
    0 20px 40px -8px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
}

.z-hero-activity-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-light);
}

.z-hero-activity-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.z-hero-activity-list {
  padding: 12px 0;
  max-height: 320px;
  overflow-y: auto;
}

.z-hero-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 20px;
  transition: background var(--transition-fast);
}

.z-hero-activity-item:hover {
  background: var(--slate-50);
}

.z-hero-activity-type {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.z-hero-activity-type--supply {
  background: var(--brand-500);
}

.z-hero-activity-type--demand {
  background: var(--gold-500);
}

.z-hero-activity-content {
  flex: 1;
  min-width: 0;
}

.z-hero-activity-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.z-hero-activity-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--ink-faint);
}

.z-hero-activity-loading {
  padding: 40px 20px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
}

.z-hero-activity-more {
  display: block;
  padding: 14px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-500);
  border-top: 1px solid var(--line-light);
  transition: all var(--transition-fast);
}

.z-hero-activity-more:hover {
  background: var(--brand-50);
  color: var(--brand-600);
}

/* ============================================================
   搜索条
   ============================================================ */

.z-search-bar {
  background: var(--surface);
  border: none;
  border-radius: var(--r-2xl);
  padding: 24px 32px;
  box-shadow: 
    0 -4px 20px rgba(0,0,0,0.1),
    0 4px 24px rgba(0,0,0,0.12);
  margin-top: -44px;
  position: relative;
  z-index: 10;
}

.z-search-form {
  display: flex;
  gap: 12px;
}

.z-search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  height: 54px;
  background: var(--slate-50);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  transition: all var(--transition-fast);
}

.z-search-input-wrap:focus-within {
  border-color: var(--brand-400);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--brand-100);
}

.z-search-input-wrap svg {
  width: 20px;
  height: 20px;
  stroke: var(--brand-400);
  flex-shrink: 0;
}

.z-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}

.z-search-input::placeholder {
  color: var(--ink-faint);
}

.z-hot-tags {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}

.z-hot-tags-label {
  font-size: 13px;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.z-hot-tags-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.z-hot-tag {
  padding: 6px 14px;
  font-size: 13px;
  color: var(--brand-600);
  background: var(--slate-50);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.z-hot-tag:hover {
  color: var(--brand-500);
  background: var(--brand-50);
}

/* ============================================================
   统计条
   ============================================================ */

.z-stats-bar {
  background: linear-gradient(135deg, var(--slate-50) 0%, var(--surface) 100%);
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.z-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.z-stats-item {
  text-align: center;
  position: relative;
}

.z-stats-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, var(--brand-200), transparent);
}

.z-stats-num {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--brand-600);
}

.z-stats-label {
  font-size: 14px;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* ============================================================
   分类导航
   ============================================================ */

.z-section {
  padding: 64px 0;
}

.z-section--alt {
  background: var(--surface-alt);
}

.z-section--brand {
  background: linear-gradient(180deg, var(--brand-50) 0%, var(--bg) 100%);
}

.z-section--dark {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-800));
  color: #fff;
}

.z-section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.z-section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-500);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.z-section--dark .z-section-eyebrow {
  color: var(--gold-400);
}

.z-section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.z-section--dark .z-section-title {
  color: #fff;
}

.z-section-desc {
  font-size: 16px;
  color: var(--ink-muted);
}

.z-section--dark .z-section-desc {
  color: rgba(255,255,255,0.7);
}

.z-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}

.z-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  transition: all var(--transition);
  cursor: pointer;
}

.z-category-card:hover {
  border-color: var(--brand-300);
  background: linear-gradient(135deg, var(--brand-50), var(--surface));
  box-shadow: 
    0 4px 12px rgba(15,76,129,0.1),
    0 8px 24px rgba(15,76,129,0.08);
  transform: translateY(-6px);
}

.z-category-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-50));
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
}

.z-category-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--brand-500);
}

.z-category-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.z-category-count {
  font-size: 12px;
  color: var(--ink-faint);
}

/* ============================================================
   双栏信息流
   ============================================================ */

.z-dual-feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.z-feed-col {
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.z-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-light);
}

.z-feed-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.z-feed-title-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.z-feed-title-icon--supply {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
  color: var(--gold-600);
}

.z-feed-title-icon--demand {
  background: linear-gradient(135deg, var(--brand-100), var(--brand-200));
  color: var(--brand-600);
}

.z-feed-title-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.z-feed-more {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--brand-500);
  font-weight: 500;
  transition: gap var(--transition-fast);
}

.z-feed-more:hover {
  gap: 8px;
}

.z-feed-more svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.z-feed-list {
  padding: 8px;
}

.z-feed-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  transition: all var(--transition-fast);
}

.z-feed-item:hover {
  background: var(--slate-50);
}

.z-feed-thumb {
  width: 72px;
  height: 54px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--slate-100);
  flex-shrink: 0;
}

.z-feed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.z-feed-body {
  flex: 1;
  min-width: 0;
}

.z-feed-item-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.z-feed-item:hover .z-feed-item-title {
  color: var(--brand-500);
}

.z-feed-item-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-faint);
}

/* ============================================================
   最新需求 - 无图网格布局
   ============================================================ */

.z-demand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.z-demand-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 24px;
  border: 1px solid var(--line);
  display: flex;
  gap: 20px;
  transition: all var(--transition);
}

.z-demand-card:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
}

.z-demand-main {
  flex: 1;
  min-width: 0;
}

.z-demand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--r-full);
  margin-bottom: 12px;
}

.z-demand-badge--tech {
  background: var(--brand-50);
  color: var(--brand-600);
}

.z-demand-badge--ad {
  background: #fef3c7;
  color: #b45309;
}

.z-demand-badge--service {
  background: #dcfce7;
  color: #15803d;
}

.z-demand-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 10px;
}

.z-demand-title a {
  color: inherit;
  text-decoration: none;
}

.z-demand-title a:hover {
  color: var(--brand-500);
}

.z-demand-desc {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.z-demand-side {
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  flex-shrink: 0;
}

.z-demand-views {
  font-size: 12px;
  color: var(--ink-faint);
}

.z-demand-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: all var(--transition);
}

.z-demand-card:hover .z-demand-arrow {
  background: var(--brand-500);
  color: white;
}

/* ============================================================
   热门精选 - 列表布局
   ============================================================ */

.z-hot-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.z-hot-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  transition: all var(--transition);
}

.z-hot-item:hover {
  background: var(--slate-50);
  border-color: var(--brand-200);
}

.z-hot-index {
  width: 28px;
  height: 28px;
  border-radius: var(--r-md);
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.z-hot-item:nth-child(1) .z-hot-index {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
}

.z-hot-item:nth-child(2) .z-hot-index {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: white;
}

.z-hot-item:nth-child(3) .z-hot-index {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
}

.z-hot-content {
  flex: 1;
  min-width: 0;
}

.z-hot-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.z-hot-title a {
  color: inherit;
  text-decoration: none;
}

.z-hot-title a:hover {
  color: var(--brand-500);
}

.z-hot-excerpt {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.z-hot-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.z-hot-cat {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  background: var(--slate-100);
  border-radius: var(--r-full);
  color: var(--ink-muted);
}

.z-hot-views {
  font-size: 12px;
  color: var(--ink-faint);
}

@media (max-width: 768px) {
  .z-demand-grid {
    grid-template-columns: 1fr;
  }
  .z-demand-card {
    flex-direction: column;
    gap: 16px;
  }
  .z-demand-side {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ============================================================
   精选推荐
   ============================================================ */

.z-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.z-featured-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all var(--transition);
}

.z-featured-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.z-featured-thumb {
  height: 140px;
  background: var(--slate-100);
  overflow: hidden;
}

.z-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.z-featured-card:hover .z-featured-thumb img {
  transform: scale(1.05);
}

.z-featured-body {
  padding: 20px;
}

/* 无图卡片 - 垂直居中 */
.z-featured-card--noimg .z-featured-body {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.z-featured-card--noimg .z-featured-excerpt {
  -webkit-line-clamp: 3;
}

.z-featured-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.z-featured-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.z-featured-card:hover .z-featured-title {
  color: var(--brand-500);
}

.z-featured-excerpt {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.z-featured-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
}

.z-featured-views {
  font-size: 12px;
  color: var(--ink-faint);
}

/* ============================================================
   最新发布
   ============================================================ */

.z-latest-list {
  display: grid;
  gap: 16px;
}

.z-latest-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all var(--transition-fast);
}

.z-latest-item:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}

.z-latest-main {
  min-width: 0;
}

.z-latest-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.z-latest-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 8px;
}

.z-latest-item:hover .z-latest-title {
  color: var(--brand-500);
}

.z-latest-excerpt {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.z-latest-meta {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--ink-faint);
}

.z-latest-side {
  text-align: right;
  white-space: nowrap;
}

.z-latest-time {
  font-size: 12px;
  color: var(--ink-faint);
}

/* ============================================================
   服务优势
   ============================================================ */

.z-advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.z-advantage-card {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  transition: all var(--transition);
}

.z-advantage-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.z-advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.z-advantage-icon svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
}

.z-advantage-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.z-advantage-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ============================================================
   按钮
   ============================================================ */

.shell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  height: 42px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.shell-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.shell-btn--primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 4px 12px rgba(15,76,129,0.3);
}

.shell-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15,76,129,0.4);
}

.shell-btn--secondary {
  background: var(--surface);
  color: var(--brand-500);
  border-color: var(--brand-500);
}

.shell-btn--secondary:hover {
  background: var(--brand-50);
}

.shell-btn--white {
  background: var(--surface);
  color: var(--brand-600);
  box-shadow: var(--shadow-md);
}

.shell-btn--white:hover {
  transform: translateY(-2px);
}

.shell-btn--ghost {
  background: transparent;
  color: var(--ink-mid);
}

.shell-btn--ghost:hover {
  color: var(--brand-500);
  background: var(--brand-50);
}

.shell-btn--gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  box-shadow: 0 4px 12px rgba(217,119,6,0.3);
}

.shell-btn--gold:hover {
  transform: translateY(-2px);
}

.shell-btn--lg {
  height: 48px;
  padding: 0 32px;
  font-size: 15px;
}

.shell-btn--sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

.shell-btn--block {
  width: 100%;
}

.shell-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ============================================================
   徽章
   ============================================================ */

.shell-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
  color: var(--gold-700);
}

.shell-chip--supply {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
  color: var(--gold-700);
}

.shell-chip--demand {
  background: linear-gradient(135deg, var(--brand-100), var(--brand-200));
  color: var(--brand-700);
}

.shell-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  border-radius: var(--r-full);
  background: var(--slate-100);
  color: var(--ink-mid);
}

/* ============================================================
   分页
   ============================================================ */

.shell-pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.shell-pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all var(--transition-fast);
}

.shell-pager-btn:hover {
  border-color: var(--brand-300);
  color: var(--brand-500);
  background: var(--brand-50);
}

.shell-pager-btn.is-active {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
  font-weight: 600;
}

/* ============================================================
   列表页
   ============================================================ */

.z-list-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.z-list-sidebar {
  position: sticky;
  top: 100px;
}

.z-list-content {
  min-width: 0;
}

.z-list-search {
  margin-bottom: 24px;
}

.z-list-search-form {
  display: flex;
  gap: 12px;
}

.z-list-search-form .z-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 15px;
}

.z-filter-panel {
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.z-filter-header {
  padding: 20px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
}

.z-filter-title {
  font-size: 15px;
  font-weight: 600;
}

.z-filter-body {
  padding: 20px;
}

.z-filter-group {
  margin-bottom: 24px;
}

.z-filter-group:last-child {
  margin-bottom: 0;
}

.z-filter-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.z-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.z-filter-chip {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--ink-mid);
  background: var(--slate-50);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.z-filter-chip:hover {
  border-color: var(--brand-300);
  color: var(--brand-500);
}

.z-filter-chip.is-active {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
}

.z-list-content {
  min-width: 0;
}

.z-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}

.z-list-count {
  font-size: 14px;
  color: var(--ink-muted);
}

.z-list-count strong {
  color: var(--brand-500);
  font-weight: 600;
}

.z-list-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.z-sort-label {
  font-size: 13px;
  color: var(--ink-muted);
}

.z-sort-select {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink-mid);
  background: var(--slate-50);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  outline: none;
}

/* ============================================================
   详情页 - 丰富信息维度
   ============================================================ */

.z-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.z-detail-main {
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.z-detail-header {
  padding: 32px;
  border-bottom: 1px solid var(--line-light);
}

.z-detail-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.z-detail-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.z-detail-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-muted);
}

.z-detail-section {
  padding: 24px 32px;
  border-bottom: 1px solid var(--line-light);
}

.z-detail-section:last-child {
  border-bottom: none;
}

.z-detail-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}

.z-detail-section-title svg {
  width: 20px;
  height: 20px;
  stroke: var(--brand-500);
}

.z-detail-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-mid);
}

.z-detail-content p {
  margin: 0 0 16px;
}

.z-detail-gallery {
  padding: 24px 32px;
}

.z-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.z-detail-gallery-grid img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.z-detail-gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* 发布者卡片 */
.z-publisher-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--slate-50);
  border-radius: var(--r-lg);
}

.z-publisher-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.z-publisher-info {
  flex: 1;
  min-width: 0;
}

.z-publisher-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.z-publisher-stats {
  font-size: 13px;
  color: var(--ink-muted);
}

.z-publisher-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--ink-faint);
  border-radius: 50%;
  margin: 0 8px;
  vertical-align: middle;
}

.z-publisher-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: var(--success);
  color: #fff;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 500;
}

.z-publisher-badge svg {
  width: 14px;
  height: 14px;
}

/* 右侧边栏 */
.z-detail-side {
  position: sticky;
  top: 100px;
}

.z-contact-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.z-contact-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
}

.z-contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.z-contact-icon svg {
  width: 24px;
  height: 24px;
}

.z-contact-title {
  font-size: 16px;
  font-weight: 600;
}

.z-contact-hint {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 2px;
}

.z-contact-body {
  padding: 20px;
}

.z-contact-list {
  margin-bottom: 16px;
}

.z-contact-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 14px;
}

.z-contact-item:last-child {
  border-bottom: none;
}

.z-contact-item-label {
  color: var(--ink-muted);
}

.z-contact-item-value {
  color: var(--ink);
  font-weight: 500;
}

.z-contact-empty {
  padding: 20px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 14px;
}

.z-contact-tip {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--slate-50);
  border-radius: var(--r-md);
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.z-contact-tip a {
  color: var(--brand-500);
  text-decoration: none;
}

.z-contact-tip a:hover {
  text-decoration: underline;
}

/* 操作卡片 */
.z-action-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.z-action-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: var(--slate-50);
  border: none;
  border-radius: var(--r-lg);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.z-action-btn:hover {
  background: var(--brand-50);
  color: var(--brand-600);
}

.z-action-btn svg {
  width: 20px;
  height: 20px;
}

/* 相关推荐 */
.z-related-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.z-related-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}

.z-related-title svg {
  width: 18px;
  height: 18px;
  stroke: var(--brand-500);
}

.z-related-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.z-related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--slate-50);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--ink);
  transition: all var(--transition-fast);
}

.z-related-item:hover {
  background: var(--brand-50);
  color: var(--brand-600);
}

.z-related-item-type {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.z-related-item-type.is-supply {
  background: var(--brand-500);
}

.z-related-item-type.is-demand {
  background: var(--gold-500);
}

.z-related-item-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.z-related-empty {
  padding: 20px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
}

.z-contact-body {
  padding: 20px;
}

.z-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.z-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.z-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--brand-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.z-contact-item-text {
  flex: 1;
}

.z-contact-item-label {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.z-contact-item-value {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}



/* ============================================================
   表单
   ============================================================ */

.z-form-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.z-form-section {
  padding: 28px 32px;
  border-bottom: 1px solid var(--line-light);
}

.z-form-section:last-child {
  border-bottom: none;
}

.z-form-section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
}

.z-form-grid {
  display: grid;
  gap: 20px;
}

.z-form-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.z-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.z-form-group--full {
  grid-column: 1 / -1;
}

.z-form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
}

.z-form-label .required {
  color: var(--danger);
}

.z-input, .z-textarea, .z-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  outline: none;
  transition: all var(--transition-fast);
}

.z-input:focus, .z-textarea:focus, .z-select:focus {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(15,76,129,0.1);
}

.z-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.z-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

.z-form-hint {
  font-size: 12px;
  color: var(--ink-faint);
}

.z-form-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 24px 32px;
  background: var(--slate-50);
}

/* ============================================================
   登录注册
   ============================================================ */

.z-auth-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  background: linear-gradient(135deg, var(--brand-50) 0%, var(--bg) 100%);
}

/* ============================================================
   会员服务页
   ============================================================ */

.z-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.z-pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.z-pricing-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-lg);
}

.z-pricing-card.is-popular {
  border-color: var(--brand-400);
  background: linear-gradient(180deg, var(--brand-50) 0%, var(--surface) 100%);
}

.z-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--brand-500);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-full);
}

.z-pricing-header {
  margin-bottom: 24px;
}

.z-pricing-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.z-pricing-desc {
  font-size: 13px;
  color: var(--ink-muted);
}

.z-pricing-price {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.z-pricing-currency {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-500);
}

.z-pricing-amount {
  font-size: 42px;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--brand-600);
  line-height: 1;
}

.z-pricing-period {
  font-size: 14px;
  color: var(--ink-muted);
}

.z-pricing-features {
  text-align: left;
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
}

.z-pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--line-light);
}

.z-pricing-features li:last-child {
  border-bottom: none;
}

.z-pricing-features li svg {
  width: 16px;
  height: 16px;
  stroke: var(--success);
  flex-shrink: 0;
}

.z-pricing-note {
  background: var(--slate-50);
  border-radius: var(--r-xl);
  padding: 24px 32px;
}

.z-pricing-note-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}

.z-pricing-note-title svg {
  width: 20px;
  height: 20px;
  stroke: var(--brand-500);
}

.z-pricing-note ul {
  padding-left: 20px;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.8;
}

.z-pricing-note li {
  list-style: disc;
}

.z-pricing-note a {
  color: var(--brand-500);
}

/* ============================================================
   登录注册页
   ============================================================ */

.z-auth-layout {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 0;
  background: var(--surface);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 960px;
  width: 100%;
}

.z-auth-side {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  position: relative;
}

.z-auth-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.z-auth-logo img {
  height: 44px;
  filter: brightness(0) invert(1);
}

.z-auth-brand {
  font-size: 18px;
  font-weight: 700;
}

.z-auth-side-title {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.z-auth-side-desc {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 32px;
}

.z-auth-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.z-auth-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  opacity: 0.9;
}

.z-auth-features li svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold-400);
  flex-shrink: 0;
}

.z-auth-main {
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.z-auth-form-wrap {
  width: 100%;
  max-width: 360px;
}

.z-auth-form-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.z-auth-form-desc {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 32px;
}

.z-auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.z-auth-foot {
  font-size: 14px;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 24px;
}

.z-auth-link {
  color: var(--brand-500);
  font-weight: 600;
}

.z-auth-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  font-size: 12px;
  color: var(--ink-faint);
}

.z-auth-security svg {
  color: var(--success);
}

.z-agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-muted);
  cursor: pointer;
}

.z-agreement input {
  margin-top: 3px;
  flex-shrink: 0;
}

.z-agreement a {
  color: var(--brand-500);
}

/* ============================================================
   用户中心 - 运营台设计
   ============================================================ */

.z-user-hero {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  padding: 40px 0;
  color: #fff;
}

.z-user-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.z-user-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.z-user-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  border: 3px solid rgba(255,255,255,0.3);
}

.z-user-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.z-user-meta {
  font-size: 14px;
  opacity: 0.85;
}

.z-user-actions {
  display: flex;
  gap: 12px;
}

.z-user-stats {
  background: var(--bg);
  padding: 32px 0;
  margin-top: -1px;
}

.z-user-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.z-user-stat-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.z-user-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.z-user-stat-icon svg {
  width: 24px;
  height: 24px;
}

.z-user-stat-value {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1;
}

.z-user-stat-label {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 4px;
}

.z-user-main {
  padding: 40px 0;
}

.z-user-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
}

.z-user-sidebar {
  position: sticky;
  top: 100px;
}

.z-user-nav {
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.z-user-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--line-light);
  transition: all var(--transition-fast);
}

.z-user-nav-item:last-child {
  border-bottom: none;
}

.z-user-nav-item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.z-user-nav-item:hover {
  background: var(--slate-50);
  color: var(--ink);
}

.z-user-nav-item.is-active {
  background: var(--brand-50);
  color: var(--brand-600);
  font-weight: 600;
}

.z-user-content {
  min-width: 0;
}

.z-user-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.z-user-section-title {
  font-size: 20px;
  font-weight: 700;
}

.z-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.z-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all var(--transition-fast);
}

.z-info-item:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}

.z-info-main {
  min-width: 0;
}

.z-info-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.z-info-item:hover .z-info-title a {
  color: var(--brand-500);
}

.z-info-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-faint);
}

.z-info-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.z-info-status {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-full);
}

.z-info-status.is-active {
  background: var(--brand-50);
  color: var(--brand-600);
}

.z-info-status.is-pending {
  background: var(--gold-50);
  color: var(--gold-600);
}

.z-order-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.z-order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.z-order-type {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.z-order-date {
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 4px;
}

.z-order-amount {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-serif);
}

.z-order-amount.is-positive {
  color: var(--success);
}

.z-order-amount.is-negative {
  color: var(--danger);
}

/* ============================================================
   提示/空状态
   ============================================================ */

.z-notice {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: #fffbeb;
  border: 1px solid var(--gold-200);
  border-radius: var(--r-lg);
  margin-bottom: 20px;
}

.z-notice-icon {
  width: 22px;
  height: 22px;
  stroke: var(--gold-500);
  flex-shrink: 0;
}

.z-notice-text {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.6;
}

.z-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--ink-muted);
}

.z-empty-text {
  font-size: 15px;
}

.z-loading {
  text-align: center;
  padding: 60px 24px;
  color: var(--ink-muted);
}

.z-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.z-breadcrumb-sep {
  opacity: 0.4;
}

/* ============================================================
   Footer
   ============================================================ */

.shell-footer {
  background: var(--slate-900);
  color: var(--slate-300);
}

.shell-footer-cta {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  padding: 48px 0;
}

.shell-footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.shell-footer-cta-content h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}

.shell-footer-cta-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

.shell-footer-cta-actions {
  display: flex;
  gap: 12px;
}

.shell-footer-main {
  padding: 60px 0 40px;
}

.shell-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
}

.shell-footer-brand {
  margin-bottom: 24px;
}

.shell-footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.shell-footer-brand-logo img {
  height: 40px;
  width: 40px;
}

.shell-footer-brand-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.shell-footer-brand-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate-400);
  margin-bottom: 20px;
}

.shell-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shell-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--slate-400);
}

.shell-footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-400);
}

.shell-footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-700);
}

.shell-footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shell-footer-link {
  font-size: 13px;
  color: var(--slate-400);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.shell-footer-link:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.shell-footer-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  opacity: 0;
}

.shell-footer-link:hover svg {
  opacity: 1;
}

.shell-footer-bottom {
  background: var(--slate-800);
  padding: 20px 0;
  border-top: 1px solid var(--slate-700);
}

.shell-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shell-footer-copyright {
  font-size: 13px;
  color: var(--slate-500);
}

.shell-footer-icp a {
  font-size: 13px;
  color: var(--slate-500);
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1024px) {
  .z-detail-layout { grid-template-columns: 1fr; }
  .z-list-layout { grid-template-columns: 1fr; }
  .z-list-sidebar { position: static; }
  .z-hero-card { display: none; }
  .z-dual-feed { grid-template-columns: 1fr; }
  .z-featured { grid-template-columns: 1fr 1fr; }
  .z-advantages { grid-template-columns: repeat(2, 1fr); }
  .shell-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .z-user-layout { grid-template-columns: 1fr; }
  .z-user-sidebar { position: static; }
  .z-user-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .shell-topbar { display: none; }
  .shell-brand-name { display: none; }
  .shell-nav-left, .shell-nav-right { display: none; }
  .shell-brand { padding: 0; }
  .shell-brand-logo { height: 40px; width: 40px; }
  .shell-header-main { padding: 16px 0; }
  .shell-header-inner { justify-content: space-between; }
  .shell-userbar { margin-left: 0; }
  
  .z-hero { padding: 48px 0; }
  .z-hero-logo { width: 60px; height: 60px; }
  .z-hero-brand { font-size: 22px; }
  .z-hero-title { font-size: 28px; }
  .z-hero-actions { flex-direction: column; width: 100%; }
  .z-hero-actions .shell-btn { width: 100%; }
  .z-hero-features { flex-direction: column; gap: 24px; }
  
  .z-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .z-stats-item:not(:last-child)::after { display: none; }
  .z-featured { grid-template-columns: 1fr; }
  .z-advantages { grid-template-columns: 1fr; }
  
  .z-auth-layout { grid-template-columns: 1fr; }
  .z-auth-side { padding: 40px 32px; }
  .z-auth-main { padding: 40px 32px; }
  .z-form-grid--2 { grid-template-columns: 1fr; }
  
  .z-user-hero-inner { flex-direction: column; text-align: center; }
  .z-user-avatar-wrap { flex-direction: column; }
  .z-user-stats-grid { grid-template-columns: 1fr; }
  .z-user-nav { display: flex; overflow-x: auto; }
  .z-user-nav-item { border-bottom: none; border-right: 1px solid var(--line-light); }
  
  .shell-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .shell-footer-cta-inner { flex-direction: column; text-align: center; }
  .shell-footer-bottom-inner { flex-direction: column; gap: 12px; }
}

/* ============================================================
   充值弹窗
   ============================================================ */

.z-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.z-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.z-modal-content {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.z-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-light);
}

.z-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.z-modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-100);
  border: none;
  border-radius: var(--r-md);
  font-size: 20px;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.z-modal-close:hover {
  background: var(--slate-200);
  color: var(--ink);
}

.z-modal-body {
  padding: 24px;
}

.z-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--line-light);
}

.z-recharge-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.z-recharge-amount {
  padding: 16px 12px;
  text-align: center;
  background: var(--slate-50);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.z-recharge-amount:hover {
  border-color: var(--brand-300);
  background: var(--brand-50);
}

.z-recharge-amount.is-active {
  border-color: var(--brand-500);
  background: var(--brand-50);
  color: var(--brand-600);
}

.z-recharge-custom {
  margin-bottom: 20px;
}

.z-recharge-custom .z-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
}

/* 二维码区域 */
.z-recharge-qrcode-wrap {
  text-align: center;
}

.z-recharge-qrcode-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.z-recharge-label {
  font-size: 14px;
  color: var(--ink-muted);
}

.z-recharge-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-600);
  font-family: var(--font-serif);
}

.z-recharge-qrcode {
  display: flex;
  justify-content: center;
  padding: 20px;
  background: #fff;
  border-radius: var(--r-lg);
  margin-bottom: 16px;
}

.z-recharge-tip {
  font-size: 13px;
  color: var(--ink-muted);
}

/* 加载动画 */
.z-recharge-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 20px;
  color: var(--ink-muted);
  font-size: 14px;
}

.z-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--line);
  border-top-color: var(--brand-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Toast提示 */
.z-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border: 1px solid var(--line);
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s ease;
}

.z-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.z-toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.z-toast-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.z-toast--warning .z-toast-icon {
  color: var(--gold-500);
}

.z-toast--info .z-toast-icon {
  color: var(--brand-500);
}

.z-toast-msg {
  font-size: 14px;
  color: var(--ink);
}

/* 余额卡片充值按钮 */
.z-user-stat-card {
  position: relative;
}

.z-user-stat-action {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.z-user-stat-action:hover {
  background: var(--brand-100);
  border-color: var(--brand-300);
}
