/* ============================================================ */
/* 山己路(大连)教育科技有限公司 · 大学生招聘信息平台 · V5 山海青（现代清爽）              */
/* 深海青 #093f3a / #0e6b60 · 云白 #f4f7f6 · 晨光橙 #f28c28 · 圆角卡片 · 无衬线        */
/* ============================================================ */

:root {
  --bg: #f4f7f6;
  --bg-soft: #eaf1ee;
  --card: #ffffff;
  --ink: #132a2e;
  --primary: #0e6b60;
  --primary-deep: #093f3a;
  --primary-bright: #1a9c8a;
  --primary-soft: #e2f1ed;
  --accent: #f28c28;
  --accent-soft: #fdf0e2;
  --hair: #d9e4e0;
  --text: #16292e;
  --text-soft: #4a5f60;
  --text-faint: #7d918f;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(9, 63, 58, 0.06);
  --shadow-md: 0 10px 30px rgba(9, 63, 58, 0.12);
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: 0.02em; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.wrap { width: min(1240px, 92vw); margin: 0 auto; }

/* ---------- 顶部：深青通栏 + 白头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}

.topbar { background: var(--primary-deep); color: rgba(255, 255, 255, 0.78); font-size: 12px; letter-spacing: 0.08em; }

.topbar-inner { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }

.nav-row { display: flex; align-items: center; gap: 32px; padding: 14px 0 12px; }

.brand { display: flex; align-items: center; gap: 14px; }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
  box-shadow: 0 4px 12px rgba(14, 107, 96, 0.28);
}

.brand-mark svg { display: block; width: 100%; height: 100%; }

.brand strong { display: block; font-size: 16.5px; font-weight: 800; letter-spacing: 0.04em; }
.brand small { display: block; color: var(--text-faint); font-size: 11px; letter-spacing: 0.14em; margin-top: 1px; }

.main-nav { display: flex; gap: 28px; margin-left: auto; }

.main-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 0.25s var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: width 0.3s var(--ease);
}

.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { width: 100%; }

.account-bar { display: flex; align-items: center; gap: 10px; }
.account-name { font-size: 12.5px; color: var(--text-faint); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 按钮：胶囊形 ---------- */
.btn, .small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.25s var(--ease);
}

.btn { padding: 12px 28px; font-size: 14px; }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-deep); box-shadow: 0 6px 18px rgba(9, 63, 58, 0.25); }
.btn.secondary { background: var(--card); color: var(--primary); border-color: var(--primary); }
.btn.secondary:hover { background: var(--primary); color: #fff; }
.btn.ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.55); backdrop-filter: blur(2px); }
.btn.ghost:hover { background: #fff; border-color: #fff; color: var(--primary-deep); }

.small-btn { padding: 7px 16px; font-size: 12.5px; background: var(--card); color: var(--text); border-color: var(--hair); }
.small-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.small-btn.danger { color: #b3372a; border-color: rgba(179, 55, 42, 0.35); }
.small-btn.danger:hover { background: #b3372a; border-color: #b3372a; color: #fff; }

/* ---------- HERO 轮播：山海青渐变 ---------- */
.hero-carousel { position: relative; width: 100%; height: min(74vh, 660px); min-height: 500px; overflow: hidden; background: var(--primary-deep); }

.carousel-track, .carousel-slide { position: absolute; inset: 0; }

.carousel-slide { opacity: 0; transition: opacity 0.9s var(--ease); pointer-events: none; }
.carousel-slide.is-active { opacity: 1; pointer-events: auto; }

.carousel-slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); }

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 63, 58, 0.5) 0%, rgba(9, 63, 58, 0.12) 42%, rgba(9, 63, 58, 0.86) 100%);
}

.slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(1240px, 92vw);
  margin: 0 auto;
  padding-bottom: 96px;
  color: #fff;
}

.slide-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}

.slide-copy h2 {
  margin: 20px 0 16px;
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0.03em;
  max-width: 760px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.slide-copy p:not(.eyebrow) { max-width: 600px; margin: 0 0 28px; font-size: 15px; color: rgba(255, 255, 255, 0.85); }

.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(9, 63, 58, 0.3);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.carousel-arrow:hover { background: #fff; border-color: #fff; color: var(--primary-deep); }
.carousel-prev { left: 28px; }
.carousel-next { right: 28px; }

.carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.carousel-dots button { width: 26px; height: 4px; border: none; border-radius: 999px; background: rgba(255, 255, 255, 0.32); cursor: pointer; transition: all 0.3s var(--ease); }
.carousel-dots button.active { background: var(--primary-bright); width: 44px; }

/* ---------- 通用标题 ---------- */
.eyebrow {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--primary);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hair);
}

.section-head h2 { margin: 10px 0 0; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: 0.03em; }
.section-head > span { color: var(--text-faint); font-size: 12.5px; }

/* ---------- 分类卡片 ---------- */
.category-band { padding: 64px 0 10px; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.category-card {
  display: block;
  padding: 26px 24px 24px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.category-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-md); }

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-weight: 800;
  font-size: 15px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.category-card strong { display: block; font-size: 16px; font-weight: 700; color: var(--text); }
.category-card p { margin: 6px 0 0; color: var(--text-faint); font-size: 12.5px; }

/* ---------- 信息大厅 ---------- */
.content-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 24px;
  align-items: start;
}

.filter-panel { position: sticky; top: 118px; }

.filter-panel h2 {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--hair);
}

.filter-buttons { display: flex; flex-direction: column; gap: 8px; }

.filter-buttons button {
  padding: 10px 18px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--card);
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.filter-buttons button:hover { border-color: var(--primary); color: var(--primary); }
.filter-buttons button.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.notice {
  margin-top: 28px;
  padding: 20px;
  background: var(--accent-soft);
  border: none;
  border-left: 3px solid var(--accent);
  border-radius: 12px;
}

.notice strong { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.notice p { margin: 0; font-size: 12.5px; color: var(--text-soft); line-height: 1.9; }

.listing-list { display: flex; flex-direction: column; }

.listing-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 40px;
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.listing-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }

.listing-card.has-media { grid-template-columns: 1fr 280px; grid-template-rows: auto auto; }
.listing-card.has-media .listing-media { order: 2; grid-column: 2; grid-row: 1 / 3; }
.listing-card.has-media .listing-body { order: 1; grid-column: 1; }
.listing-card.has-media .listing-side { order: 3; grid-column: 1 / 2; }

.listing-media { border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.listing-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform 0.6s var(--ease); }
.listing-card:hover .listing-media img { transform: scale(1.04); }

.listing-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }

.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 12px;
  color: var(--text-soft);
}

.tag.vip { background: var(--primary-soft); color: var(--primary-deep); font-weight: 600; }
.tag.live { background: #e6f4ec; color: #177a56; }

.listing-body h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: 0.02em; line-height: 1.45; transition: color 0.25s var(--ease); }
.listing-card:hover .listing-body h3 { color: var(--primary); }
.listing-body p { margin: 0 0 16px; color: var(--text-soft); font-size: 13.5px; max-width: 640px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.listing-side {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 24px;
  font-size: 12.5px;
  color: var(--text-faint);
  border-top: 1px dashed var(--hair);
  padding-top: 14px;
  margin-top: 10px;
}

.listing-side strong { color: var(--text); font-size: 14px; font-weight: 700; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--text-faint); }
.empty-state h3 { color: var(--text); margin: 0 0 10px; font-size: 20px; }

/* ---------- 服务方案 ---------- */
.membership { padding: 80px 0 40px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }

.plan {
  position: relative;
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.plan.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(165deg, var(--primary-soft) 0%, var(--card) 55%);
  box-shadow: 0 14px 36px rgba(14, 107, 96, 0.16);
}

.plan h3 { margin: 0; font-size: 18px; letter-spacing: 0.04em; }

.plan .price { margin: 0; font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: 0.01em; }
.plan.featured .price { color: var(--primary); }

.plan p:not(.price) { margin: 0; color: var(--text-soft); font-size: 13.5px; line-height: 1.9; flex: 1; }

.plan span {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 12px;
  color: var(--text-faint);
}

.plan .btn { align-self: flex-start; }

/* ---------- 发布入驻 ---------- */
.publish-band { margin: 60px 0 0; padding: 80px 0; background: var(--bg-soft); border-top: 1px solid var(--hair); }

.publish-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }

.publish-grid h2 { margin: 14px 0 16px; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: 0.03em; line-height: 1.4; }
.publish-grid p:not(.eyebrow) { color: var(--text-soft); font-size: 14.5px; line-height: 2; }

.publish-form {
  display: grid;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}

.publish-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text-soft); }

.publish-form input, .publish-form select, .publish-form textarea {
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 11px 14px;
  background: #fbfdfc;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.publish-form input:focus, .publish-form select:focus, .publish-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 107, 96, 0.12);
}

.publish-form textarea { resize: vertical; }

label.checkline { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; }
label.checkline input { width: auto; margin-top: 6px; accent-color: var(--primary); }
.checkline a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--primary-deep); color: rgba(255, 255, 255, 0.66); padding: 64px 0 44px; font-size: 13px; position: relative; }

.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary-bright), var(--accent)); }

.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }

.footer-grid strong { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: 0.04em; display: block; margin-bottom: 14px; }
.footer-grid p { margin: 6px 0; line-height: 1.9; }
.footer-grid a { color: var(--primary-bright); }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.tech-support { margin-top: 16px; }
.tech-support a { color: rgba(255, 255, 255, 0.42); font-size: 12px; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(9, 63, 58, 0.55); backdrop-filter: blur(4px); }
.modal.show { display: flex; }

.modal-card { position: relative; width: min(480px, 100%); max-height: 86vh; overflow: auto; background: var(--card); border-radius: 18px; padding: 36px 32px; box-shadow: 0 30px 80px rgba(9, 63, 58, 0.35); }
.modal-card.wide { width: min(780px, 100%); }
.modal-card h2 { margin: 4px 0 18px; font-size: 22px; letter-spacing: 0.03em; }

.modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 1px solid var(--hair); border-radius: 999px; background: transparent; font-size: 16px; cursor: pointer; color: var(--text-soft); transition: all 0.2s; }
.modal-close:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.modal-icon { width: 44px; height: 44px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-deep); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }

.modal-actions { display: flex; gap: 12px; margin-top: 24px; justify-content: flex-end; }

.notice-card p { color: var(--text-soft); font-size: 14px; }

.payment-box { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.payment-box div { background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; }
.payment-box span { display: block; font-size: 11.5px; color: var(--text-faint); }
.payment-box strong { font-size: 18px; }

.pay-code { display: flex; justify-content: center; margin: 12px 0; }
.pay-code img { width: 172px; height: 172px; object-fit: contain; border: 1px solid var(--hair); border-radius: 12px; padding: 10px; background: #fff; }

.payment-message { color: var(--text-faint); font-size: 12.5px; }

.auth-tabs { display: flex; gap: 0; margin-bottom: 24px; border-bottom: 1px solid var(--hair); }

.auth-tabs button { flex: 1; padding: 12px; border: none; border-radius: 0; background: transparent; font-family: var(--sans); font-size: 14.5px; font-weight: 600; cursor: pointer; color: var(--text-faint); position: relative; }
.auth-tabs button.active { color: var(--primary); }
.auth-tabs button.active::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--primary); }

.auth-form { display: grid; gap: 16px; }
.auth-form.hidden { display: none; }

.auth-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text-soft); }

.auth-form input { border: 1px solid var(--hair); border-radius: 10px; padding: 11px 14px; font-family: var(--sans); font-size: 14px; background: #fbfdfc; transition: border-color 0.25s, box-shadow 0.25s; }
.auth-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 107, 96, 0.12); }

.captcha-row { display: flex; align-items: flex-end; gap: 12px; }
.captcha-row label { flex: 1; min-width: 0; }
.captcha-box { flex: none; padding: 0; border: 1px solid var(--hair); border-radius: 10px; overflow: hidden; cursor: pointer; background: #fff; line-height: 0; transition: border-color 0.25s, box-shadow 0.25s; }
.captcha-box:hover { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 107, 96, 0.12); }
.captcha-box canvas { display: block; width: 100px; height: 40px; }

.agreement-note { margin: 4px 0 0; font-size: 12px; color: var(--text-faint); text-align: center; }
.agreement-note a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 详情 ---------- */
.detail-content section { margin: 22px 0; }
.detail-content h3 { margin: 0 0 12px; font-size: 16px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 10px; }
.detail-content h3::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--primary); flex: none; }
.detail-content p { color: var(--text-soft); font-size: 14px; line-height: 2; }
.detail-content ul { padding-left: 0; list-style: none; color: var(--text-soft); font-size: 14px; }
.detail-content li { margin: 8px 0; padding-left: 18px; position: relative; }
.detail-content li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 7px; height: 7px; border-radius: 999px; background: var(--primary-bright); }

.detail-media { border-radius: 12px; overflow: hidden; margin-bottom: 10px; border: 1px solid var(--hair); }
.detail-media img { width: 100%; max-height: 300px; object-fit: cover; }

.detail-box { margin-top: 24px; padding: 22px; background: var(--bg-soft); border-left: 3px solid var(--primary); border-radius: 12px; display: grid; gap: 8px; font-size: 14px; }
.detail-box strong { color: var(--text-faint); font-size: 11.5px; letter-spacing: 0.2em; }
.detail-box p { margin: 0; color: var(--text); font-weight: 700; }

/* ---------- 个人中心 ---------- */
.profile-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 20px 0; }
.profile-summary div { background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; }
.profile-summary span { display: block; font-size: 11.5px; color: var(--text-faint); }
.profile-summary strong { font-size: 16px; }

.profile-section { margin: 24px 0; }
.profile-section h3 { margin: 0 0 14px; font-size: 15px; font-weight: 800; }

.mini-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.mini-plans article { border: 1px solid var(--hair); border-radius: 14px; padding: 16px; display: grid; gap: 6px; background: var(--card); }
.mini-plans strong { font-size: 14px; }
.mini-plans span { color: var(--primary); font-weight: 800; font-size: 15px; }

.record-list { display: grid; gap: 10px; }
.record-row { border: 1px solid var(--hair); border-radius: 12px; padding: 12px 16px; display: grid; gap: 3px; font-size: 12.5px; background: var(--card); }
.record-row strong { font-size: 13.5px; }
.record-row span { color: var(--text-faint); }

.muted-text { color: var(--text-faint); font-size: 12.5px; }

/* ---------- 后台 ---------- */
.admin-hero { background: linear-gradient(140deg, var(--primary) 0%, var(--primary-deep) 70%); color: #fff; padding: 56px 0; margin-bottom: 40px; position: relative; }
.admin-hero::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary-bright), var(--accent)); }
.admin-hero .eyebrow { color: rgba(255, 255, 255, 0.85); }
.admin-hero h1 { margin: 12px 0 12px; font-size: 30px; letter-spacing: 0.04em; }
.admin-hero .lead { color: rgba(255, 255, 255, 0.75); max-width: 640px; }

.admin-tabs { display: flex; gap: 0; margin-bottom: 26px; border-bottom: 1px solid var(--hair); }

.admin-tabs button { padding: 11px 24px 13px; border: none; border-radius: 0; background: transparent; font-family: var(--sans); font-size: 14px; font-weight: 600; cursor: pointer; color: var(--text-faint); position: relative; }
.admin-tabs button.active { color: var(--primary); }
.admin-tabs button.active::after { content: ""; position: absolute; left: 16%; right: 16%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--primary); }

.admin-panel { padding: 8px 0 30px; min-height: 200px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: 14px; overflow: hidden; margin-bottom: 24px; }

.stat { background: var(--card); padding: 20px 22px; }
.stat strong { display: block; font-size: 26px; font-weight: 800; color: var(--text); }
.stat span { font-size: 12px; color: var(--text-faint); }

.notice { margin-top: 16px; }
.admin-panel table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-panel th, .admin-panel td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.admin-panel th { color: var(--text-faint); font-weight: 600; font-size: 12px; }
.admin-panel select { padding: 6px 10px; border: 1px solid var(--hair); border-radius: 8px; font-family: inherit; background: var(--card); }

.content-form { display: grid; gap: 16px; max-width: 540px; }
.content-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text-soft); }
.content-form input, .content-form textarea { border: 1px solid var(--hair); border-radius: 10px; padding: 11px 14px; font-family: var(--sans); font-size: 14px; background: var(--card); }
.content-form input:focus, .content-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 107, 96, 0.12); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .content-grid { grid-template-columns: 1fr; gap: 36px; }
  .filter-panel { position: static; }
  .filter-buttons { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .publish-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr; }
  .listing-card.has-media { grid-template-columns: 1fr; }
  .listing-card.has-media .listing-media { order: 0; grid-column: 1; grid-row: auto; }
  .listing-card.has-media .listing-body { order: 1; grid-column: 1; }
  .listing-card.has-media .listing-side { order: 2; grid-column: 1; }
  .listing-media img { aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-row { flex-wrap: wrap; gap: 14px; }
  .account-bar { margin-left: auto; }
  .hero-carousel { min-height: 540px; height: 78vh; }
  .slide-copy { padding-bottom: 88px; }
  .slide-copy h2 { font-size: 26px; }
  .carousel-arrow { display: none; }
  .topbar-inner { flex-direction: column; gap: 3px; text-align: center; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .publish-form { padding: 26px 20px; }
  .listing-side { flex-direction: column; gap: 4px; }
}
