/* ============================================================
 * 权易通 · 全局样式 V1.1
 * ============================================================ */

:root {
  --primary: #1b3a6b;
  --primary-dark: #12294d;
  --primary-light: #2c5296;
  --accent: #c9a063;
  --accent-dark: #b08a4a;
  --red: #c0392b;
  --green: #2f7d4f;
  --orange: #e67e22;
  --bg: #f4f6fa;
  --card: #ffffff;
  --text: #242a33;
  --muted: #7d8697;
  --border: #e4e8f0;
  --shadow: 0 2px 12px rgba(18, 41, 77, 0.08);
  --shadow-lg: 0 8px 30px rgba(18, 41, 77, 0.14);
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶部（悬浮：topbar + header 始终可见） ---------------- */
/* 注意：sticky 必须作用于 #siteHeader（其父级是 body，有足够的滚动空间）。
   若只给内部 .header-wrap 设 sticky，其父级 #siteHeader 高度等于自身，无粘附空间，会随滚动消失。 */
#siteHeader { position: sticky; top: 0; z-index: 200; }
.header-wrap { background: #fff; }

.topbar { background: var(--primary-dark); color: rgba(255,255,255,0.78); font-size: 13px; padding: 6px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-left { letter-spacing: 0.5px; }
.topbar .top-right { display: flex; gap: 22px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar .hotline { color: var(--accent); font-weight: 600; letter-spacing: 0.5px; }
.topbar .me-link {
  padding: 2px 12px; border: 1px solid rgba(201,160,99,0.55); border-radius: 100px;
  color: var(--accent); font-weight: 600;
}
.topbar .me-link:hover { background: rgba(201,160,99,0.12); color: #fff; }

/* ---------------- 主导航 ---------------- */
.header { background: #fff; border-bottom: 3px solid var(--primary); box-shadow: 0 2px 10px rgba(18,41,77,0.06); }
.header .container { display: flex; align-items: center; height: 62px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; border-radius: 7px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; border-bottom: 2px solid var(--accent); }
.logo-text { line-height: 1.2; }
.logo-name { font-size: 21px; font-weight: 700; color: var(--primary); letter-spacing: 2px; }
.logo-name em { font-style: normal; color: var(--accent-dark); font-size: 12px; margin-left: 6px; letter-spacing: 1px; }
.logo-sub { font-size: 10.5px; color: var(--muted); letter-spacing: 0.5px; }

.nav { display: flex; gap: 4px; margin-left: auto; height: 100%; }
.nav a { display: flex; align-items: center; padding: 0 16px; font-size: 15.5px; color: var(--text); position: relative; transition: color 0.2s; }
.nav a:hover { color: var(--primary); }
.nav a.active { color: var(--primary); font-weight: 600; }
.nav a.active::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: var(--accent); border-radius: 2px 2px 0 0; }
.nav .nav-cta { align-self: center; margin-left: 10px; padding: 7px 18px; background: var(--primary); color: #fff; border-radius: 6px; font-size: 14px; }
.nav .nav-cta:hover { background: var(--primary-dark); color: #fff; }
.nav .nav-gold { background: var(--accent); color: #4a3a1a; font-weight: 600; }
.nav .nav-gold:hover { background: var(--accent-dark); color: #fff; }

/* ---------------- Hero ---------------- */
.hero { position: relative; background: linear-gradient(120deg, #0e2140 0%, #1b3a6b 55%, #27497e 100%); color: #fff; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 600px 300px at 85% 20%, rgba(201,160,99,0.18), transparent), radial-gradient(ellipse 500px 260px at 10% 90%, rgba(44,82,150,0.35), transparent); }
.hero-inner { position: relative; padding: 44px 24px 44px; text-align: center; }
.hero h1 { font-size: 42px; letter-spacing: 4px; font-weight: 700; }
.hero h1 span { color: var(--accent); }
.hero p.hero-sub { margin-top: 16px; font-size: 16px; color: rgba(255,255,255,0.78); letter-spacing: 2px; }

/* Hero 搜索（3 个下拉 + 关键词，下拉宽度按文字收紧） */
.hero-search { max-width: 980px; margin: 36px auto 0; background: #fff; border-radius: 12px; padding: 10px; display: flex; gap: 8px; box-shadow: 0 12px 40px rgba(0,0,0,0.28); }
.hero-search select { flex: 0 0 auto; width: 96px; border: none; outline: none; background: var(--bg); padding: 0 6px; border-radius: 8px; color: var(--text); font-size: 13.5px; min-width: 0; }
.hero-search select:nth-of-type(2) { width: 108px; }
.hero-search select:nth-of-type(3) { width: 104px; }
.hero-search input[type='text'] { flex: 1; border: none; outline: none; padding: 13px 14px; font-size: 14.5px; color: var(--text); border-radius: 8px; min-width: 0; }
.hero-search button { flex: 0 0 auto; background: var(--red); color: #fff; border: none; padding: 0 30px; border-radius: 8px; font-size: 16px; letter-spacing: 3px; transition: background 0.2s; }
.hero-search button:hover { background: #a93226; }

/* Hero 数据展示（后台可关闭） */
.hero-stats { position: relative; display: flex; justify-content: center; gap: 60px; padding: 30px 24px 36px; flex-wrap: wrap; }
.hero-stats .stat { text-align: center; color: #fff; }
.hero-stats .stat b { font-size: 28px; color: var(--accent); font-weight: 700; display: block; }
.hero-stats .stat span { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 2px; letter-spacing: 1px; display: block; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 38px 0; }  /* 3.1：板块间距降低 */
.section.gray { background: #eef1f7; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.section-title { position: relative; padding-left: 16px; }
.section-title::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--primary), var(--accent)); }
.section-title h2 { font-size: 26px; color: var(--primary); letter-spacing: 1px; }
.section-title p { font-size: 13px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }
.section-more { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.section-more:hover { color: var(--primary); }
.section-more::after { content: ' →'; }

/* ---------------- 分类入口（7 类同排，紧凑） ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.cat-card { background: var(--card); border-radius: var(--radius); padding: 20px 8px 16px; text-align: center; box-shadow: var(--shadow); border: 1px solid transparent; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.cat-icon { width: 50px; height: 50px; margin: 0 auto 10px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; font-weight: 700; }
.cat-card h3 { font-size: 15.5px; color: var(--text); font-weight: 600; }
.cat-card p { font-size: 12px; color: var(--muted); margin-top: 4px; display: none; }  /* 副标题隐藏 */
.cat-card .cat-count { display: inline-block; margin-top: 8px; font-size: 11.5px; color: var(--accent-dark); background: #faf4ea; padding: 2px 10px; border-radius: 20px; white-space: nowrap; }

/* ---------------- 资产卡片 ---------------- */
.asset-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.asset-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.asset-grid.one-row { grid-template-columns: repeat(4, 1fr); }

.asset-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.asset-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.asset-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #22304a; }
.asset-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.asset-card:hover .asset-thumb img { transform: scale(1.05); }
.thumb-watermark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 2;
}
.thumb-watermark::before {
  content: '已成交'; padding: 5px 20px; transform: rotate(-15deg);
  background: rgba(47,125,79,0.85); color: #fff; font-size: 15px; font-weight: 700;
  letter-spacing: 4px; border: 2px solid rgba(255,255,255,0.6); border-radius: 5px;
}
.badge-status { position: absolute; top: 12px; left: 12px; padding: 3px 12px; border-radius: 4px; font-size: 12px; color: #fff; letter-spacing: 1px; z-index: 3; }
.badge-status.listing { background: var(--red); }
.badge-status.ending { background: var(--orange); }
.badge-status.ended { background: #9aa3b2; }
.badge-status.sold { background: var(--green); }
.badge-status.failed { background: #5a667a; }
.badge-cat { position: absolute; top: 12px; right: 12px; padding: 3px 10px; border-radius: 4px; font-size: 12px; color: #fff; background: rgba(18,41,77,0.82); backdrop-filter: blur(2px); z-index: 3; }

/* 业务类型色块标签（标题后） */
.biz-tag {
  position: absolute; bottom: 10px; left: 12px; padding: 3px 10px;
  border-radius: 3px; font-size: 12px; color: #fff; letter-spacing: 1px; z-index: 3;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
/* 详情页业务类型标签：圆角矩形色块 + 白色文字 */
.biz-tag.bizi {
  position: static; display: inline-flex; align-items: center;
  padding: 4px 14px; border-radius: 6px; font-size: 13px; color: #fff;
  margin-right: 4px; letter-spacing: 2px; font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.16);
}

.asset-body { padding: 12px 16px 10px; display: flex; flex-direction: column; flex: 1; }
.asset-title { font-size: 15.5px; font-weight: 600; line-height: 1.45; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.asset-card:hover .asset-title { color: var(--primary); }

.asset-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.asset-price { color: var(--red); font-size: 20px; font-weight: 700; }
.asset-price.red-bold { color: var(--red); font-weight: 800; }
.asset-price-sub { color: var(--muted); font-size: 12px; }

.asset-info { display: flex; flex-wrap: wrap; gap: 3px 12px; margin-top: 4px; font-size: 12.5px; color: var(--muted); }

.asset-tags { display: flex; flex-wrap: wrap; gap: 3px 6px; margin-top: 6px; min-height: 22px; max-height: 50px; overflow: hidden; }
.asset-tags i { font-style: normal; font-size: 11px; color: var(--accent-dark); background: #faf4ea; border: 1px solid #eadfc8; padding: 1px 7px; border-radius: 3px; white-space: nowrap; }

.asset-foot { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border); display: flex; justify-content: flex-end; font-size: 12px; color: var(--muted); }
.asset-foot .dl-normal { color: var(--muted); }
.asset-foot .deadline-hot { color: var(--red); font-weight: 600; }
.asset-foot .dl-listing { color: var(--red); font-weight: 600; }
.asset-foot .dl-ending { color: var(--orange); font-weight: 600; }
.asset-foot .dl-sold { color: var(--green); }
.asset-foot .dl-ended { color: #9aa3b2; }
.asset-foot .dl-failed { color: #5a667a; }

/* ---------------- 公告 ---------------- */
.notice-list { display: flex; flex-direction: column; }
.notice-item { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.notice-item:last-child { border-bottom: none; }
.notice-tag { flex-shrink: 0; font-size: 11px; padding: 1px 0; border-radius: 3px; letter-spacing: 1px; width: 74px; text-align: center; display: inline-block; }
.notice-tag.tag-list { color: #1b3a6b; background: #e8eef8; border: 1px solid #cfdbee; }
.notice-tag.tag-plan { color: #fff; background: #c0392b; border: 1px solid #c0392b; }
.notice-tag.tag-article { color: #6b4f1d; background: #f6ecd8; border: 1px solid #e8d9b8; }
.notice-item .notice-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-item:hover .notice-title { color: var(--primary); }
.notice-item time { flex-shrink: 0; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------------- 详情页 ---------------- */
.detail-wrap { display: grid; grid-template-columns: 8fr 4fr; gap: 28px; margin-top: 26px; align-items: start; }
.detail-main, .detail-side { min-width: 0; }

.gallery { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.gallery-main-wrap { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16/10; background: #22304a; }
.gallery-main { width: 100%; height: 100%; object-fit: cover; }
.gallery-main-wrap .thumb-watermark { font-size: 32px; }
.thumb-watermark-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-15deg);
  padding: 12px 60px; background: rgba(47,125,79,0.78); color: #fff;
  font-size: 28px; font-weight: 700; letter-spacing: 10px;
  border: 3px solid rgba(255,255,255,0.7); border-radius: 8px; pointer-events: none; z-index: 2;
}
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.gallery-thumbs button { flex: 0 0 calc(25% - 8px); }
.gallery-thumbs button { border: 2px solid transparent; border-radius: 6px; overflow: hidden; aspect-ratio: 16/10; padding: 0; background: #22304a; opacity: 0.65; transition: all 0.2s; }
.gallery-thumbs button.on { border-color: var(--accent); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-title-box { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 28px; margin-top: 22px; }
.detail-title-box h1 { font-size: 22px; line-height: 1.5; }
.detail-sub { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; font-size: 13px; color: var(--muted); align-items: center; }
.detail-sub .hot { color: var(--red); font-weight: 600; }

/* 概要彩色区（已按修改意见重构） */
.price-strip {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 20px;
  background: linear-gradient(90deg, #fdf3ee, #fbf7f0);
  border: 1px solid #f0ddd2; border-radius: 8px;
  padding: 18px 24px; margin-top: 18px; align-items: center;
}
.price-strip .p-main b { color: var(--red); font-size: 28px; font-weight: 700; }
.price-strip .p-main span { color: var(--muted); font-size: 13px; display: block; margin-top: 4px; }
.price-strip .p-item { font-size: 12.5px; color: var(--muted); }
.price-strip .p-item b { display: block; color: var(--text); font-size: 15px; margin-top: 4px; font-weight: 600; }

/* 项目名称块（侧栏顶部新增） */
.d-name-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px; margin-bottom: 16px; border-top: 3px solid var(--primary); }
.d-name-label { font-size: 12px; color: var(--muted); letter-spacing: 2px; }
.d-name-value { font-size: 17px; color: var(--text); font-weight: 600; margin-top: 6px; line-height: 1.45; }

/* Tabs */
.tabs { display: flex; gap: 4px; margin-top: 26px; border-bottom: 2px solid var(--border); }
.tab-btn { padding: 12px 26px; font-size: 16px; background: none; border: none; color: var(--muted); position: relative; top: 2px; border-bottom: 3px solid transparent; }
.tab-btn.on { color: var(--primary); font-weight: 600; border-bottom-color: var(--accent); }

.tab-panel { background: var(--card); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 30px 32px; }
.tab-panel h3 { font-size: 17px; color: var(--primary); margin: 18px 0 12px; }
.tab-panel h3:first-child { margin-top: 0; }
.tab-panel p { font-size: 14.5px; color: #454d5a; margin-bottom: 10px; }

.info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table th, .info-table td { border: 1px solid var(--border); padding: 11px 16px; text-align: left; vertical-align: top; }
.info-table th { background: #f6f8fc; color: var(--muted); font-weight: 500; width: 200px; white-space: nowrap; }

/* 信息披露三段式（无可见分割，每项一行） */
.disclosure-block { margin-top: 34px; }  /* 3.0：无小标题，板块间以空白间隔分隔 */
.disclosure-block:first-child { margin-top: 0; }

.cond-list li { position: relative; padding-left: 22px; margin-bottom: 12px; font-size: 14.5px; color: #454d5a; }
.cond-list li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* 侧栏 */
.side-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 16px; }
.side-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.side-card h3::before { content: ''; width: 4px; height: 16px; background: var(--accent); border-radius: 2px; }

.contact-card { border-top: 3px solid var(--primary); }
.contact-row { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.contact-row:last-of-type { border-bottom: none; }
.contact-row b { display: block; font-size: 15px; }
.contact-row span { color: var(--muted); font-size: 12.5px; }

.btn-block { display: block; width: 100%; padding: 13px; border: none; border-radius: 8px; font-size: 16px; letter-spacing: 4px; margin-top: 14px; transition: all 0.2s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #a93226; }
.btn-outline { background: #fff; color: var(--primary); border: 1px solid var(--primary) !important; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-block:disabled { background: #9aa3b2; cursor: not-allowed; letter-spacing: 2px; }

.progress-info { font-size: 13px; color: var(--muted); }
.progress-info .row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.progress-info .row:last-child { border-bottom: none; }
.progress-info .row b { color: var(--text); font-weight: 600; }
.progress-bar { height: 8px; background: #edf0f6; border-radius: 5px; overflow: hidden; margin: 14px 0 6px; }
.progress-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--red)); border-radius: 5px; }

.platform-service { font-size: 13.5px; color: #454d5a; }
.platform-service p { margin-bottom: 8px; }

/* 相关推荐 1 排 4 个铺满 */
.related-section { margin-top: 50px; }
.related-section .asset-grid { grid-template-columns: repeat(4, 1fr); }

/* 报名表单弹层 */
.modal-mask { position: fixed; inset: 0; background: rgba(14,25,44,0.55); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 14px; width: 520px; max-width: 100%; max-height: 90vh; overflow: auto; padding: 32px 36px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
/* 3.3：弹窗内容滚动时关闭按钮固定可见 */
.modal-close { position: sticky; top: 0; margin-left: auto; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: none; background: #eef1f7; border-radius: 50%; font-size: 18px; color: var(--muted); line-height: 1; cursor: pointer; z-index: 10; }
.modal-close:hover { background: var(--primary); color: #fff; }
.modal h2 { font-size: 20px; color: var(--primary); margin-bottom: 4px; }
.modal .modal-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.form-item { margin-bottom: 16px; }
.form-item label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.form-item label i { color: var(--red); font-style: normal; }
.form-item input, .form-item select, .form-item textarea { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 11px 14px; font-size: 14.5px; outline: none; transition: border-color 0.2s; background: #fbfcfe; }
.form-item input:focus, .form-item select:focus, .form-item textarea:focus { border-color: var(--primary); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-tip { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .ok-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #eaf6ef; color: var(--green); font-size: 32px; display: flex; align-items: center; justify-content: center; }
.form-success h3 { color: var(--green); font-size: 19px; }
.form-success p { color: var(--muted); font-size: 13.5px; margin-top: 8px; }

/* 反向委托报价弹层 */
.quote-modal { width: 640px; }
.quote-intro { font-size: 13.5px; color: #454d5a; line-height: 1.9; }
.quote-intro p { margin-bottom: 10px; text-indent: 2em; }
.quote-flow { display: flex; align-items: stretch; gap: 0; margin: 20px 0 8px; }
.qf-step { flex: 1; text-align: center; position: relative; padding: 0 4px; }
.qf-step .qf-dot { width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.qf-step .qf-t { font-size: 13px; color: var(--primary); font-weight: 600; }
.qf-step .qf-d { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.qf-step:not(:last-child)::after { content: ''; position: absolute; top: 17px; left: calc(50% + 22px); right: calc(-50% + 22px); height: 2px; background: linear-gradient(90deg, var(--accent), #e3d9c4); }
.quote-guarantee { background: #fdf7ec; border: 1px solid #f0e2c4; border-radius: 8px; padding: 12px 16px; font-size: 12.5px; color: #8a6500; margin-top: 14px; }

/* 列表页 */
.page-banner { background: linear-gradient(120deg, #0e2140, #1b3a6b); color: #fff; padding: 34px 0; }
.page-banner h1 { font-size: 26px; letter-spacing: 2px; }
.page-banner .crumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 6px; }
.page-banner .crumb a:hover { color: var(--accent); }

.filter-panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -22px; position: relative; z-index: 5; padding: 6px 24px; }
.filter-row { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--border); }
.filter-row:last-child { border-bottom: none; }
.filter-label { flex-shrink: 0; width: 72px; color: var(--muted); font-size: 14px; padding-top: 2px; }
.filter-opts { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.filter-opt { padding: 3px 14px; border-radius: 4px; font-size: 13.5px; color: var(--text); background: transparent; border: 1px solid transparent; transition: all 0.15s; }
.filter-opt:hover { color: var(--primary); }
.filter-opt.on { background: var(--primary); color: #fff; }

.list-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 18px; }
.list-toolbar .result-count { font-size: 14px; color: var(--muted); }
.list-toolbar .result-count b { color: var(--red); }
.sort-opts { display: flex; gap: 4px; }
.sort-opt { padding: 5px 14px; font-size: 13px; border: 1px solid var(--border); background: #fff; color: var(--muted); border-radius: 4px; }
.sort-opt.on { color: var(--primary); border-color: var(--primary); font-weight: 600; }
/* 3.0：后台选择项统一下拉框样式 */
select.sort-opt { padding: 7px 30px 7px 12px; color: var(--text); border-radius: 6px; cursor: pointer; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237d8697' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center; }

.pagination { display: flex; justify-content: center; gap: 8px; margin: 40px 0 10px; }
.pagination button { min-width: 38px; height: 38px; border: 1px solid var(--border); background: #fff; border-radius: 6px; color: var(--text); font-size: 14px; padding: 0 12px; }
.pagination button.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination button:disabled { opacity: 0.4; cursor: default; }

.empty-box { text-align: center; padding: 80px 0; color: var(--muted); }
.empty-box .empty-icon { font-size: 46px; margin-bottom: 12px; opacity: 0.4; }

/* 关于页 */
.about-hero-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 44px; margin-top: -22px; position: relative; z-index: 5; }
.about-hero-card h2 { color: var(--primary); font-size: 24px; margin-bottom: 14px; }
.about-hero-card p { color: #454d5a; font-size: 15px; margin-bottom: 10px; }

.contact-info { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; }
.contact-info li { padding: 12px 0; border-bottom: 1px dashed var(--border); display: flex; font-size: 15px; }
.contact-info li:last-child { border-bottom: none; }
.contact-info li b { width: 110px; flex-shrink: 0; color: var(--muted); font-weight: 500; }

/* 页脚 */
.footer { background: #101f38; color: rgba(255,255,255,0.68); margin-top: 20px; }
.footer-main { display: grid; grid-template-columns: 4fr 2fr 4fr; gap: 60px; padding: 52px 0 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-brand p { font-size: 13px; margin-top: 12px; line-height: 1.9; }
.footer-links li { margin-bottom: 10px; font-size: 13.5px; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { margin-bottom: 10px; font-size: 13.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; font-size: 12.5px; color: rgba(255,255,255,0.4); display: flex; justify-content: space-between; }

/* 登录页 */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(120deg, #0e2140, #1b3a6b); padding: 40px 20px; }
.auth-card { background: #fff; border-radius: 14px; width: 440px; max-width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.3); overflow: hidden; }
.auth-head { padding: 30px 36px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.auth-head .logo-mark { width: 54px; height: 54px; font-size: 26px; margin: 0 auto 12px; }
.auth-head .logo-name { font-size: 26px; }
.auth-tabs { display: flex; background: #f6f8fc; }
.auth-tabs button { flex: 1; padding: 14px; background: none; border: none; color: var(--muted); font-size: 15px; border-bottom: 3px solid transparent; }
.auth-tabs button.on { background: #fff; color: var(--primary); font-weight: 600; border-bottom-color: var(--accent); }
.auth-body { padding: 28px 36px 32px; }
.auth-body .form-item { margin-bottom: 14px; }
.auth-body .btn-block { margin-top: 22px; letter-spacing: 6px; }
.auth-foot { padding: 0 36px 28px; text-align: center; font-size: 13px; color: var(--muted); }
.auth-foot a { color: var(--primary); }
.auth-tip { background: #fff7e6; border: 1px solid #ffe2a8; color: #8a6500; padding: 10px 14px; border-radius: 6px; font-size: 12.5px; margin-bottom: 16px; }
.auth-tip b { display: block; margin-bottom: 4px; }
.auth-tip code { background: #f5e8c5; padding: 1px 6px; border-radius: 3px; font-family: Consolas, monospace; }

/* 后台布局 */
.admin-page { min-height: 100vh; background: #f1f4f9; }
/* 布局容器是 #layout（aside+main 由 JS 注入其中），grid 需作用于它而非 body */
.admin-page #layout { display: grid; grid-template-columns: 176px 1fr; min-height: 100vh; align-items: start; }  /* 3.1：侧栏收窄 */
.admin-side { background: #14233f; color: rgba(255,255,255,0.78); padding: 20px 0; position: sticky; top: 0; height: 100vh; overflow: auto; display: flex; flex-direction: column; }
.admin-side .logo { display: flex; align-items: center; gap: 10px; padding: 0 16px 14px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 10px; }  /* 3.1：logo 横向对齐 */
.admin-side .logo .logo-mark { width: 38px; height: 38px; font-size: 19px; flex-shrink: 0; }
.admin-side .logo-name { color: #fff; font-size: 17px; }
.admin-side .logo-sub { color: rgba(255,255,255,0.5); font-size: 11px; margin-top: 2px; }
.admin-side .side-role { padding: 0 16px 14px; font-size: 12.5px; color: var(--accent); }
.admin-nav a { display: flex; align-items: center; gap: 8px; padding: 7px 16px; font-size: 13px; color: rgba(255,255,255,0.7); border-left: 3px solid transparent; }  /* 3.1：导航紧凑，一页全显 */
.admin-nav a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.admin-nav a.on { background: rgba(201,160,99,0.1); color: #fff; border-left-color: var(--accent); font-weight: 600; }
.admin-main { padding: 24px 28px; overflow: auto; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 14px 22px; border-radius: var(--radius); margin-bottom: 18px; box-shadow: var(--shadow); }
.admin-topbar h1 { font-size: 18px; color: var(--primary); font-weight: 600; }
.admin-user { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.admin-user .avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.admin-user a { color: var(--primary); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stat-card .label { font-size: 13px; color: var(--muted); }
.stat-card .value { font-size: 28px; color: var(--primary); font-weight: 700; margin-top: 6px; }
.stat-card .sub { font-size: 12px; color: var(--accent-dark); margin-top: 4px; }

.panel-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.panel-card h2 { font-size: 16.5px; color: var(--primary); margin-bottom: 16px; padding-left: 10px; border-left: 3px solid var(--accent); font-weight: 600; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th, .table td { padding: 12px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.table th { background: #f6f8fc; color: #5a667a; font-weight: 600; font-size: 13px; white-space: nowrap; }
/* 3.3：单元格同一行展示、超长省略，宽表在卡片内横向滚动 */
.table td { white-space: nowrap; max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
/* 含按钮的操作列不裁剪（修复成交管理等操作栏按钮被遮住） */
.table td:has(> .btn-sm) { max-width: none; overflow: visible; }
.panel-card { overflow-x: auto; }
.table tr:hover td { background: #fafbfd; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 12px; letter-spacing: 0.5px; }
.tag-list { background: #e8eef8; color: #1b3a6b; }
.tag-plan { background: #fbe2dd; color: #c0392b; }
.tag-rent { background: #e2efe2; color: #2f7d4f; }
.tag-pending { background: #fff5e0; color: #c98700; }
.tag-pass { background: #e2efe2; color: #2f7d4f; }
.tag-reject { background: #fbe2dd; color: #c0392b; }
.tag-ended { background: #ecedf2; color: #7d8697; }
.tag-sold { background: #eaf6ef; color: #2f7d4f; }

.btn-sm { padding: 4px 12px; border-radius: 4px; font-size: 12.5px; border: 1px solid var(--border); background: #fff; color: var(--text); margin-right: 6px; }
.btn-sm:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-sm.danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn-sm.success { background: var(--green); color: #fff; border-color: var(--green); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
/* 3.2：表单项统一 stacked 布局，同列输入框纵向对齐 */
.form-grid > div { display: flex; flex-direction: column; }
.form-grid > div label { display: block; font-size: 13px; color: #5a667a; font-weight: 500; margin-bottom: 6px; }
.form-grid > div input, .form-grid > div select, .form-grid > div textarea { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; background: #fbfcfe; box-sizing: border-box; }
.form-grid > div textarea { height: auto; min-height: 80px; padding: 9px 12px; }
.form-grid > div input:focus, .form-grid > div select:focus, .form-grid > div textarea:focus { border-color: var(--primary); outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(27,58,107,0.08); }
/* 3.2：选项横排平铺 chips（替代 Ctrl 多选） */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 2px; }
.chip { padding: 7px 16px; border: 1px solid var(--border); border-radius: 18px; font-size: 13px; color: #5a667a; background: #fff; cursor: pointer; user-select: none; transition: all .15s; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.field-required::after { content: ' *'; color: var(--red); }
.help-text { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* 响应式 */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .asset-grid, .asset-grid.cols-3, .asset-grid.one-row { grid-template-columns: repeat(2, 1fr); }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search input { grid-column: 1 / -1; }
  .hero-search button { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .detail-wrap { grid-template-columns: 1fr; }
  .price-strip { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-page #layout { grid-template-columns: 1fr; }
  .admin-side { display: none; }
}
@media (max-width: 680px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero h1 { font-size: 28px; }
  .cat-grid, .asset-grid, .asset-grid.cols-3, .asset-grid.one-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .form-row, .form-grid { grid-template-columns: 1fr; }
  .hero-search { grid-template-columns: 1fr; }
  /* 3.4：手机端（扫码打开详情页）适配 */
  .container { padding: 0 14px; }
  .detail-wrap { gap: 18px; }
  .detail-main { padding: 18px 16px; }
  .d-name-card, .side-card { padding: 16px; }
  .price-strip { grid-template-columns: 1fr 1fr; padding: 14px; }
  .price-strip .p-item b { font-size: 16px; }
  .gallery-main-wrap img, #galleryMain { height: 220px; }
  .d-tabs button { padding: 10px 12px; font-size: 14px; }
  .modal { width: 94vw !important; padding: 22px 18px; }
  .modal h2 { font-size: 18px; }
  .info-table th { width: 96px; font-size: 12.5px; }
  .info-table td { font-size: 13px; }
  .page-banner h1 { font-size: 24px; }
  .section { padding: 26px 0; }
}
/* 3.9 通用分页条 */
.pager { display: flex; gap: 6px; align-items: center; justify-content: flex-end; padding-top: 14px; flex-wrap: wrap; }
.pager button { padding: 5px 12px; border: 1px solid var(--border); border-radius: 6px; background: #fff; font-size: 12.5px; color: #39424e; cursor: pointer; }
.pager button:hover:not([disabled]) { border-color: var(--primary); color: var(--primary); }
.pager button.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager button[disabled] { opacity: 0.45; cursor: not-allowed; }
