/* ============================================================
   星LIVE直聘 · 全局样式
   设计来源：桌面上的《星LIVE直聘-UI.html》设计稿，
   按其结构重构，配色整体改为浅色系。
   ============================================================ */

:root {
  /* 文字 */
  --ink: #16141f;
  --ink-2: #3d3954;
  --dim: #6a6780;
  --faint: #9a97ac;

  /* 面 */
  --bg: #f6f6fb;
  --surface: #ffffff;
  --surface-2: #f1f1f8;
  --surface-3: #e9e8f4;
  --line: rgba(22, 20, 31, 0.08);
  --line-strong: rgba(22, 20, 31, 0.14);

  /* 品牌：电光紫 + 舞台暖金 */
  --brand: #6d4aff;
  --brand-strong: #5b37f5;
  --brand-soft: rgba(109, 74, 255, 0.1);
  --amber: #d97706;
  --amber-bright: #f0a03c;
  --amber-soft: rgba(240, 160, 60, 0.14);
  --live: #f2547a;
  --live-soft: rgba(242, 84, 122, 0.12);
  --ok: #16a34a;
  --ok-soft: rgba(22, 163, 74, 0.12);
  --danger: #e11d48;
  --danger-soft: #fff1f4;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(22, 20, 31, 0.07);
  --shadow-lg: 0 18px 44px rgba(22, 20, 31, 0.12);
  --maxw: 1180px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 任何写了 display 的组件都不能盖掉 hidden 属性（登录/注册表单切换要用） */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html,
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* 顶部两团柔光，浅色底上营造一点舞台感（不铺满、不刺眼） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 34% at 14% 0%, rgba(109, 74, 255, 0.09), transparent 62%),
    radial-gradient(38% 28% at 90% 2%, rgba(240, 160, 60, 0.1), transparent 62%);
}

.latin {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-strong);
}

img,
video {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--brand);
  color: #fff;
}

.wrap,
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
  flex: 1;
}

.container.narrow {
  max-width: 880px;
}

/* 线性图标 */
.ico {
  flex: 0 0 auto;
  vertical-align: -2px;
}

/* ============ 导航 ============ */
.nav,
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-in,
.navbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 66px;
  padding: 8px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.logo,
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--ink);
}

.logo:hover,
.brand:hover {
  color: var(--ink);
}

.logo-mark,
.brand .logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: none;
  background: linear-gradient(135deg, var(--amber-bright), #ff8a3d);
  display: grid;
  place-items: center;
  color: #1a1206;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 6px 16px rgba(240, 160, 60, 0.32);
}

.logo-mark svg {
  width: 18px;
  height: 18px;
}

.logo-text {
  line-height: 1.1;
}

.logo-text b {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.logo-text span {
  display: block;
  font-size: 10px;
  letter-spacing: 2.6px;
  color: var(--faint);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2px;
  margin-left: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a,
.nav-link {
  font-size: 14.5px;
  color: var(--dim);
  padding: 8px 13px;
  border-radius: 9px;
  font-weight: 500;
}

.nav-links a:hover,
.nav-link:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.nav-cta,
.nav-auth {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-agency {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  max-width: 160px;
  padding: 7px 10px;
  border-radius: 9px;
}

.nav-agency:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-agency-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-logout {
  font-size: 14px;
  color: var(--faint);
  padding: 7px 10px;
  border-radius: 9px;
}

.nav-logout:hover {
  color: var(--ink-2);
  background: var(--surface-2);
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 12px;
  padding: 10px 18px;
  line-height: 1.3;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary,
.btn-brand {
  background: var(--brand-strong);
  color: #fff;
  box-shadow: 0 8px 20px rgba(91, 55, 245, 0.24);
}

.btn-primary:hover,
.btn-brand:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(91, 55, 245, 0.3);
}

.btn-amber {
  background: linear-gradient(135deg, #ffbe52, #ff9a3c);
  color: #241300;
  box-shadow: 0 8px 20px rgba(240, 160, 60, 0.28);
}

.btn-amber:hover {
  color: #241300;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(240, 160, 60, 0.36);
}

.btn-outline,
.btn-ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink-2);
}

.btn-outline:hover,
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.btn-outline-brand {
  color: var(--brand);
  border: 1px solid rgba(109, 74, 255, 0.4);
  background: var(--brand-soft);
}

.btn-outline-brand:hover {
  background: rgba(109, 74, 255, 0.18);
  color: var(--brand-strong);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13.5px;
  border-radius: 10px;
}

.btn-mini {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  white-space: nowrap;
}

.btn-mini:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.danger-text {
  color: var(--danger);
}

.danger-text:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: var(--danger-soft);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 62px 0 56px;
  overflow: hidden;
}

.hero-in {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border: 1px solid rgba(109, 74, 255, 0.22);
  padding: 6px 14px;
  border-radius: 999px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px var(--live-soft);
}

.hero h1,
.hero-title {
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 20px 0 14px;
}

.hero h1 .amp {
  color: transparent;
  background: linear-gradient(100deg, #f0a03c, #ff8a3d);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p.sub,
.hero-sub {
  font-size: 16px;
  color: var(--dim);
  max-width: 520px;
  margin-bottom: 26px;
}

.search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 6px;
  max-width: 560px;
  box-shadow: var(--shadow);
}

.search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--ink);
  font-size: 15px;
  padding: 9px 12px;
  font-family: inherit;
  min-width: 0;
}

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

.search .btn {
  padding: 11px 20px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dim);
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: 999px;
  transition: 0.18s var(--ease);
}

.chip:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
}

.chip.active {
  color: #fff;
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.chip svg {
  width: 14px;
  height: 14px;
}

/* Hero 右侧：用真实数据做的形象面板（不依赖外部图片） */
.hero-visual {
  position: relative;
}

.hero-panel {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(60% 70% at 80% 0%, rgba(109, 74, 255, 0.14), transparent 62%),
    radial-gradient(50% 60% at 10% 100%, rgba(240, 160, 60, 0.16), transparent 62%),
    #fff;
  box-shadow: var(--shadow-lg);
  padding: 26px;
  min-height: 300px;
}

.hero-panel h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.hero-panel .hp-note {
  font-size: 12.5px;
  color: var(--faint);
  margin-bottom: 16px;
}

.hero-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(22, 20, 31, 0.05);
}

.hero-mini .hm-av {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  flex: none;
}

.hero-mini b {
  font-size: 14px;
  display: block;
  line-height: 1.35;
}

.hero-mini span {
  font-size: 12px;
  color: var(--faint);
}

.hero-mini .hm-sal {
  margin-left: auto;
  font-size: 16px;
  font-weight: 900;
  color: var(--amber);
  white-space: nowrap;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  box-shadow: var(--shadow);
}

.float-card.top {
  /* 放在右上方，避免盖住面板左上角的标题 */
  top: -18px;
  right: -14px;
  left: auto;
}

.float-card.bot {
  bottom: -18px;
  left: -18px;
  right: auto;
}

.float-card .fc-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}

.float-card .fc-ico svg {
  width: 20px;
  height: 20px;
}

.fc-ico.gold {
  background: var(--amber-soft);
  color: var(--amber);
}

.fc-ico.vio {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.float-card b {
  font-size: 15px;
  display: block;
  line-height: 1.2;
}

.float-card span {
  font-size: 12px;
  color: var(--dim);
}

/* ============ 区块标题 ============ */
.section {
  margin-top: 0;
  padding: 56px 0;
}

.sec-head,
.page-head,
.page-header {
  max-width: 680px;
  margin-bottom: 30px;
}

.page-head,
.page-header {
  padding: 34px 0 6px;
  margin-bottom: 18px;
}

.sec-kicker {
  font-size: 12.5px;
  letter-spacing: 2.5px;
  color: var(--brand);
  text-transform: uppercase;
  font-weight: 700;
}

.sec-head h2,
.page-title,
.page-head h1 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.3px;
  margin: 10px 0 8px;
  color: var(--ink);
}

.sec-head p,
.page-subtitle,
.page-head p {
  color: var(--dim);
  font-size: 15px;
}

/* ============ 筛选条 ============ */
.jobs {
  padding-top: 12px;
}

.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}

.fgroup {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.fgroup + .fgroup {
  margin-left: auto;
}

.fgroup .flabel {
  font-size: 13px;
  color: var(--faint);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dim);
  background: var(--surface-2);
  border: 1px solid transparent;
  padding: 7px 14px;
  border-radius: 9px;
  transition: 0.15s var(--ease);
}

.pill:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.pill.active {
  color: #fff;
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  box-shadow: 0 6px 16px rgba(91, 55, 245, 0.24);
}

.select,
.mini-select {
  appearance: none;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 32px 8px 14px;
  border-radius: 9px;
  font-family: inherit;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236a6780' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.select:focus,
.mini-select:focus,
.mini-input:focus {
  outline: none;
  border-color: var(--brand);
  background-color: #fff;
}

.filter-bar input[type="text"] {
  flex: 1;
  min-width: 200px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
}

.filter-bar input[type="text"]:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}

.filter-bar input.search {
  flex: 1 1 220px;
}

/* ============ 岗位卡片 ============ */
.post-grid,
.job-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .post-grid,
  .job-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .post-grid,
  .job-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card,
.job-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  box-shadow: 0 4px 14px rgba(22, 20, 31, 0.04);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  overflow: hidden;
}

.post-card::before,
.job-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(240, 160, 60, 0.85), transparent);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.post-card:hover,
.job-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.post-card:hover::before,
.job-card:hover::before {
  opacity: 1;
}

/* 卡片头：机构头像 + 名称 + 状态 */
.jc-top,
.post-card-top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.jc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 900;
  font-size: 17px;
  color: #fff;
}

.jc-co {
  min-width: 0;
  flex: 1;
}

.jc-co b {
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jc-co .verify {
  width: 14px;
  height: 14px;
  flex: none;
}

.jc-co span {
  font-size: 12px;
  color: var(--faint);
}

.jc-status,
.badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dim);
  flex: none;
}

.jc-status i,
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  background: #b9b6c9;
}

.jc-status.on,
.badge-open {
  color: var(--ok);
}

.jc-status.on i,
.badge-open::before {
  background: var(--ok);
  box-shadow: 0 0 0 4px var(--ok-soft);
}

.jc-status.off,
.badge-closed,
.badge-deleted {
  color: var(--faint);
}

.jc-status.off i,
.badge-closed::before,
.badge-deleted::before {
  background: #b9b6c9;
}

.jc-title,
.post-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

a.jc-title:hover,
a.post-card-title:hover {
  color: var(--brand);
}

/* 标签 */
.jc-tags,
.post-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.jc-tag,
.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border: 1px solid rgba(109, 74, 255, 0.18);
  padding: 3px 9px;
  border-radius: 7px;
}

.jc-tag.cat,
.tag.cat {
  color: var(--amber);
  background: var(--amber-soft);
  border-color: rgba(240, 160, 60, 0.3);
}

/* 薪资 */
.jc-salary,
.salary-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  flex-wrap: wrap;
}

.jc-salary b,
.salary-num {
  font-size: 23px;
  font-weight: 900;
  color: var(--amber);
  letter-spacing: 0.3px;
}

.jc-salary span,
.salary-unit {
  font-size: 12.5px;
  color: var(--dim);
}

.commission-line {
  font-size: 12.5px;
  color: var(--faint);
}

/* 卡片底部 */
.jc-foot,
.post-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--faint);
  flex-wrap: wrap;
}

.jc-meta,
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--dim);
  font-size: 12.5px;
  flex-wrap: wrap;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  border-radius: 7px;
  padding: 3px 9px;
  white-space: nowrap;
}

.meta-chip .ico,
.commission-line .ico {
  color: var(--faint);
}

.foot-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.row-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}

.apply-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--surface-2);
  border-radius: 9px;
  padding: 7px 12px;
}

.apply-count strong {
  color: var(--brand);
  font-weight: 900;
}

.post-card.is-deleted {
  background: #fafafd;
}

.post-card.is-deleted .salary-num {
  color: var(--faint);
}

/* ============ 空状态 / 加载 ============ */
.empty,
.jobs-empty {
  text-align: center;
  padding: 52px 20px;
  color: var(--dim);
  font-size: 14.5px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  margin-top: 6px;
}

.jobs-empty {
  display: none;
}

.jobs-empty.show {
  display: block;
}

.empty .big {
  font-size: 34px;
  margin-bottom: 10px;
  line-height: 1;
  opacity: 0.55;
}

.loading {
  text-align: center;
  padding: 46px 20px;
  color: var(--faint);
  font-size: 14px;
}

.loading::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 auto 12px;
  border: 3px solid var(--brand-soft);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* ============ 机构入驻 ============ */
.agency {
  background: linear-gradient(180deg, #fff, #f2f1fb);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.agency-in {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

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

.agency-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.agency-ico {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--amber);
  box-shadow: 0 4px 12px rgba(22, 20, 31, 0.05);
}

.agency-ico.v {
  color: var(--brand);
}

.agency-ico svg {
  width: 24px;
  height: 24px;
}

.agency-item b {
  font-size: 16px;
  display: block;
  margin-bottom: 3px;
}

.agency-item p {
  color: var(--dim);
  font-size: 14.5px;
}

.agency-card {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.agency-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--amber-bright));
}

.agency-card h3 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 8px;
}

.agency-card p {
  color: var(--dim);
  font-size: 15px;
  margin-bottom: 20px;
}

.agency-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agency-form input {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  padding: 13px 15px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  width: 100%;
}

.agency-form input:focus {
  border-color: var(--brand);
  background: #fff;
}

.agency-form .row {
  display: flex;
  gap: 12px;
}

.agency-form .row input {
  flex: 1;
  min-width: 0;
}

.agency-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 7px;
}

/* ============ 流程 ============ */
.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.flow-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 10px;
  box-shadow: 0 4px 14px rgba(22, 20, 31, 0.04);
}

.flow-col h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 6px;
}

.flow-col h3 .fc {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}

.fc.host {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.fc.agency {
  background: var(--amber-soft);
  color: var(--amber);
}

.flow-col > p {
  color: var(--dim);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.flow-step {
  padding: 12px 10px 16px;
  position: relative;
  text-align: center;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -1px;
  width: 2px;
  height: 32px;
  background: repeating-linear-gradient(
    180deg,
    var(--line-strong) 0 5px,
    transparent 5px 9px
  );
}

.flow-num {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  background: #fff;
}

.flow-num .latin {
  font-size: 18px;
  font-weight: 800;
}

.host-steps .flow-num {
  border: 1px solid rgba(109, 74, 255, 0.35);
  color: var(--brand-strong);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.agency-steps .flow-num {
  border: 1px solid rgba(240, 160, 60, 0.45);
  color: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft);
}

.flow-step b {
  font-size: 14.5px;
  display: block;
  margin-bottom: 4px;
}

.flow-step p {
  font-size: 13px;
  color: var(--dim);
}

/* ============ 才艺上传 ============ */
.talent {
  position: relative;
}

.talent-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  row-gap: 30px;
  /* 左边卡片要和右边那 4 个板块上下齐平，所以两边都撑满这一行 */
  align-items: stretch;
}

/* 顶部标题区：跨两栏、文字居中 */
.talent-head {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* 「上传我的作品」按钮：跨两栏居中放在最下面 */
.talent-cta {
  grid-column: 1 / -1;
  text-align: center;
}

.talent h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  line-height: 1.24;
  margin: 12px 0 10px;
}

.talent p.lead {
  color: var(--dim);
  font-size: 15px;
  /* 标题区现在是整行居中的，说明文字也跟着居中；宽度放宽到两行能放下 */
  margin: 0 auto 22px;
  max-width: 700px;
}

.talent-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  /* 按钮已经挪到区块最下面，这里不需要再留间距 */
  margin-bottom: 0;
}

.tpoint {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
}

.tpoint .tp-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.tpoint .tp-ico svg {
  width: 19px;
  height: 19px;
}

.tpoint b {
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}

.tpoint p {
  font-size: 12.5px;
  color: var(--dim);
  margin: 0;
  line-height: 1.5;
}

/* 才艺区的展示面板（真实作品缩略，不依赖外部图片） */
.talent-visual {
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(58% 68% at 82% 4%, rgba(109, 74, 255, 0.13), transparent 62%),
    radial-gradient(48% 58% at 8% 96%, rgba(240, 160, 60, 0.15), transparent 62%),
    #fff;
  box-shadow: var(--shadow-lg);
  padding: 26px;
  text-align: center;
  /* 卡片和右边 4 个板块一样高，内容在卡片里垂直居中 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.talent-visual .tv-ico {
  width: 62px;
  height: 62px;
  margin: 6px auto 14px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.talent-visual b {
  font-size: 16px;
  display: block;
  margin-bottom: 6px;
}

.talent-visual p {
  font-size: 13.5px;
  color: var(--dim);
  margin-bottom: 18px;
}

/* ============ 平台保障 ============ */
.trust {
  border-top: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(22, 20, 31, 0.04);
}

.trust-card .t-ico {
  width: 46px;
  height: 46px;
  margin: 0 auto 13px;
  border-radius: 13px;
  display: grid;
  place-items: center;
}

.t-ico.g {
  background: var(--ok-soft);
  color: var(--ok);
}

.t-ico.v {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.t-ico.gd {
  background: var(--amber-soft);
  color: var(--amber);
}

.trust-card svg {
  width: 24px;
  height: 24px;
}

.trust-card b {
  font-size: 28px;
  font-weight: 900;
  display: block;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.trust-card b em {
  font-style: normal;
  font-size: 15px;
  color: var(--dim);
}

.trust-card span {
  font-size: 13.5px;
  color: var(--dim);
  display: block;
  margin-top: 5px;
}

/* ============ CTA ============ */
.cta-band {
  padding: 56px 0;
}

.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 50px 44px;
  text-align: center;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(50% 120% at 50% -10%, rgba(109, 74, 255, 0.16), transparent 65%),
    radial-gradient(40% 90% at 50% 120%, rgba(240, 160, 60, 0.16), transparent 65%),
    #fff;
  box-shadow: var(--shadow-lg);
}

.cta-card h2 {
  font-size: clamp(22px, 2.9vw, 32px);
  font-weight: 900;
  line-height: 1.28;
  margin-bottom: 10px;
}

.cta-card p {
  color: var(--dim);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto 26px;
}

.cta-card .cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ 页脚 ============ */
.footer,
footer {
  border-top: 1px solid var(--line);
  padding: 44px 22px 30px;
  background: #fff;
  margin-top: 0;
  color: var(--dim);
  font-size: 13px;
  text-align: left;
}

.foot-in {
  max-width: var(--maxw);
  margin: 0 auto;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 30px;
}

.foot-brand p {
  color: var(--dim);
  font-size: 13.5px;
  margin-top: 13px;
  max-width: 300px;
}

.foot-col b {
  font-size: 13.5px;
  margin-bottom: 12px;
  display: block;
  color: var(--ink);
}

.foot-col a {
  display: block;
  color: var(--dim);
  font-size: 13.5px;
  padding: 4px 0;
}

.foot-col a:hover {
  color: var(--brand);
}

.foot-bot {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 12.5px;
}

.footer-links {
  margin-top: 10px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--dim);
  font-size: 13px;
}

/* ============ 岗位详情 ============ */
.detail-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin: 18px 0 26px;
  box-shadow: var(--shadow);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.detail-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

.detail-sub {
  color: var(--faint);
  font-size: 13px;
  margin-top: 6px;
}

.detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.info-box {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.info-box .label {
  font-size: 12px;
  color: var(--faint);
}

.info-box .value {
  font-size: 15px;
  font-weight: 700;
  margin-top: 3px;
  word-break: break-word;
}

.info-box .value.salary {
  color: var(--amber);
  font-size: 20px;
  font-weight: 900;
}

.section h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.section p,
.section pre {
  font-size: 14.5px;
  color: var(--ink-2);
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
}

.contact-panel {
  background: var(--brand-soft);
  border: 1px solid rgba(109, 74, 255, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 20px;
}

.contact-panel h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 6px 0;
  flex-wrap: wrap;
}

.contact-row .k {
  color: var(--dim);
  font-size: 13px;
  min-width: 58px;
}

.contact-row .v {
  font-weight: 700;
  word-break: break-all;
}

/* ============ 表单 ============ */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin: 18px 0 26px;
  box-shadow: var(--shadow);
  max-width: 720px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.form-group label .req {
  color: var(--danger);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.form-group textarea {
  min-height: 88px;
  line-height: 1.6;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--faint);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.form-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.hint {
  font-size: 12.5px;
  color: var(--faint);
  line-height: 1.6;
}

.hint strong {
  color: var(--brand);
  font-weight: 700;
}

.salary-input {
  display: flex;
  gap: 8px;
}

.salary-input input {
  flex: 1;
  min-width: 0;
}

.salary-input select {
  flex: 0 0 auto;
  width: auto;
  min-width: 104px;
}

.mini-input {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: 13.5px;
  font-family: inherit;
  color: var(--ink);
  min-width: 180px;
}

.mini-input:focus {
  background: #fff;
}

.mini-select {
  max-width: 260px;
}

.settings-form,
.pwd-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 14px rgba(22, 20, 31, 0.04);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pwd-form {
  max-width: 640px;
}

.settings-form .form-actions,
.pwd-form .form-actions {
  margin-top: 0;
}

/* ============ 照片 ============ */
.photo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.photo-thumb {
  position: relative;
  width: 78px;
  height: 78px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}

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

.photo-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  padding: 0;
}

.photo-remove:hover {
  background: var(--danger);
}

.work-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-photos a {
  display: block;
  width: 84px;
  height: 84px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}

.work-photos a:hover {
  border-color: var(--brand);
}

.work-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-desc {
  font-size: 13px;
  color: var(--dim);
}

.media-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.media-photos a {
  display: block;
  width: 60px;
  height: 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.media-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ 视频 ============ */
.video-box {
  width: 100%;
  max-height: 320px;
  border-radius: var(--radius-sm);
  background: #0b1020;
  margin-top: 8px;
}

/* ============ Toast ============ */
.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 28px;
  top: auto;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: auto;
  max-width: min(92vw, 460px);
}

.toast {
  background: var(--surface-3);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.25s var(--ease);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.toast-success {
  background: #eafbf1;
  border-color: rgba(22, 163, 74, 0.35);
  color: #0f7a37;
}

.toast-error {
  background: var(--danger-soft);
  border-color: rgba(225, 29, 72, 0.3);
  color: #b81740;
}

.toast-info {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink-2);
}

/* ============ 应聘 / 咨询列表 ============ */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.contact-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(22, 20, 31, 0.04);
}

.contact-item .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14.5px;
  flex-wrap: wrap;
}

.contact-item .head .badge {
  margin-left: 8px;
  font-weight: 600;
}

.contact-item .time {
  font-weight: 400;
  color: var(--faint);
  font-size: 12px;
  white-space: nowrap;
}

.contact-item .msg {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-2);
  margin-top: 8px;
}

.contact-item .msg.origin {
  color: var(--faint);
  font-size: 12.5px;
}

.contact-item.is-done {
  background: #fafafd;
}

.contact-item.is-admin {
  border-color: rgba(109, 74, 255, 0.35);
  background: var(--brand-soft);
}

/* ============ 发布者面板 ============ */
.manage-panel {
  margin-top: 22px;
  border: 1px solid rgba(109, 74, 255, 0.2);
  border-radius: var(--radius);
  background: var(--brand-soft);
  padding: 18px;
}

.manage-head {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.manage-badge {
  background: var(--brand-strong);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 11px;
}

.manage-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ============ 登录 / 注册 ============ */
.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin: 34px auto 0;
  max-width: 460px;
  overflow: hidden;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.auth-tab {
  flex: 1;
  height: 50px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dim);
  border-bottom: 2px solid transparent;
  transition: 0.15s var(--ease);
}

.auth-tab:hover {
  color: var(--brand);
}

.auth-tab.active {
  color: var(--brand);
  background: #fff;
  border-bottom-color: var(--brand);
}

.auth-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-note {
  padding: 0 24px 22px;
  text-align: center;
}

/* ============ 机构工作台 ============ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0 26px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 14px rgba(22, 20, 31, 0.04);
}

.stat-num {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.stat-num.accent {
  color: var(--brand);
}

.stat-label {
  font-size: 13px;
  color: var(--dim);
  margin-top: 3px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.section-head h3 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.head-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ============ 素材库 ============ */

/* ============ 纯文字页（免责声明等） ============ */
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(22, 20, 31, 0.04);
  padding: 30px 32px 34px;
  max-width: 820px;
  margin: 0 auto;
}

.legal-card .legal-lead {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.9;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.legal-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 24px 0 8px;
}

.legal-card h3:first-of-type {
  margin-top: 18px;
}

.legal-card p,
.legal-card li {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-2);
}

.legal-card ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-card li b {
  color: var(--ink);
}

.legal-card .legal-note {
  background: var(--amber-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
  margin: 10px 0 12px;
}

@media (max-width: 640px) {
  .legal-card {
    padding: 22px 18px 26px;
  }
}

/* 磁盘占用 + 自动清理 面板 */
.storage-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 14px 16px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.storage-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.storage-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  flex: none;
  min-width: 60px;
}

.storage-bar {
  flex: 1;
  min-width: 140px;
  height: 8px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}

.storage-bar > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--brand);
  transition: width 0.4s var(--ease);
}

.storage-bar > i.warn {
  background: var(--amber);
}

.storage-bar > i.full {
  background: var(--danger);
}

.storage-text {
  font-size: 13px;
  color: var(--dim);
}

.storage-days {
  width: 76px;
  text-align: center;
}

.storage-note {
  font-size: 12.5px;
  color: var(--faint);
  line-height: 1.7;
}

.storage-note .keep-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--ok-soft);
  color: var(--ok);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 12px;
  margin-right: 6px;
}

.keep-btn.is-kept {
  background: var(--ok-soft);
  border-color: rgba(22, 163, 74, 0.35);
  color: var(--ok);
}

.folder-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.folder-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(22, 20, 31, 0.04);
  overflow: hidden;
}

.folder-card.is-open {
  border-color: rgba(109, 74, 255, 0.28);
}

.folder-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-family: inherit;
  text-align: left;
}

.folder-head:hover:not(:disabled) {
  background: var(--surface-2);
}

.folder-head:disabled {
  cursor: default;
  opacity: 0.6;
}

.folder-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: grid;
  place-items: center;
  flex: none;
}

.folder-icon .ico {
  width: 16px;
  height: 16px;
}

.folder-main {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.folder-name {
  font-size: 14.5px;
  font-weight: 700;
}

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

.folder-meta {
  font-size: 13px;
  color: var(--dim);
  white-space: nowrap;
}

.folder-caret {
  color: var(--faint);
  display: inline-flex;
}

.folder-body {
  border-top: 1px solid var(--line);
  padding: 16px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.media-item {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.media-video {
  margin-top: 0;
  max-height: 200px;
}

.media-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.media-title {
  font-size: 14.5px;
  font-weight: 700;
  word-break: break-word;
}

.media-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

.media-row .k {
  color: var(--faint);
  font-size: 12px;
  min-width: 56px;
  flex: 0 0 auto;
}

.media-row .v {
  color: var(--ink-2);
  font-weight: 600;
  word-break: break-all;
}

/* ============ 错误页 ============ */
.error-page {
  text-align: center;
  padding: 76px 20px;
}

.error-page .code {
  font-size: 60px;
  font-weight: 900;
  background: linear-gradient(120deg, var(--brand), var(--amber-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.error-page h1 {
  font-size: 19px;
  font-weight: 800;
  margin: 12px 0 8px;
}

.error-page p {
  color: var(--dim);
  font-size: 14px;
  margin-bottom: 20px;
}

/* ============ 客服咨询 ============ */
.support-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.support-fab:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.support-fab .ico {
  color: var(--brand);
}

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(22, 20, 31, 0.42);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: min(94vw, 520px);
  max-height: 88vh;
  overflow-y: auto;
}

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

.modal-head h3 {
  font-size: 16px;
  font-weight: 800;
}

.modal-close {
  font-size: 22px;
  line-height: 1;
  color: var(--faint);
  padding: 0 4px;
}

.modal-close:hover {
  color: var(--ink);
}

.modal-body {
  padding: 20px;
}

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

.support-info {
  background: var(--brand-soft);
  border: 1px solid rgba(109, 74, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  margin-bottom: 16px;
}

.support-info .hint {
  margin-top: 6px;
}

.support-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  margin: 4px 0;
}

.support-line .k {
  color: var(--dim);
  font-size: 13px;
  min-width: 56px;
}

.support-line .v {
  font-weight: 700;
  word-break: break-all;
}

.support-context {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--amber-soft);
  border: 1px solid rgba(240, 160, 60, 0.3);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13px;
  margin-bottom: 15px;
}

.support-form .form-row {
  margin-top: 15px;
}

body.modal-open {
  overflow: hidden;
}

/* ============ 动画 ============ */
.post-grid > *,
.job-grid > *,
.folder-list > * {
  animation: rise 0.3s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .agency-in,
  .talent-in {
    gap: 34px;
  }

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

@media (max-width: 960px) {
  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .hero-in {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .float-card.top {
    right: 6px;
  }

  .float-card.bot {
    left: 6px;
  }

  .agency-in,
  .flow-grid,
  .talent-in {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .wrap,
  .container,
  .nav-in,
  .navbar-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-links a {
    padding: 7px 10px;
    font-size: 13.5px;
  }

  .nav-cta .btn,
  .nav-auth .btn {
    padding: 8px 13px;
    font-size: 13.5px;
  }

  .nav-agency {
    max-width: 110px;
  }

  .hero {
    padding: 42px 0 44px;
  }

  .filter-bar {
    align-items: stretch;
  }

  .fgroup {
    width: 100%;
  }

  .fgroup + .fgroup {
    margin-left: 0;
  }

  .pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .select,
  .mini-select {
    flex: 1;
    min-width: 130px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .media-item {
    grid-template-columns: 1fr;
  }

  .detail-card,
  .form-card,
  .auth-form,
  .agency-card,
  .cta-card {
    padding: 18px;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .btn {
    width: 100%;
  }

  .talent-points {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }

  .folder-head {
    flex-wrap: wrap;
  }

  .folder-meta {
    width: 100%;
  }

  .support-fab {
    right: 14px;
    bottom: 14px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .toast-wrap {
    bottom: 84px;
  }
}

@media (max-width: 420px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .post-card,
  .job-card {
    padding: 16px;
  }
}
