:root {
  --blue-900: #0E4299;
  --blue-700: #015696;
  --blue-600: #045597;
  --blue-300: #7EA8D7;
  --ink: #14233b;
  --muted: #6b7a90;
  --bg: #f5f8fc;
  --card: #ffffff;
  --line: #e3ebf5;
  --ok: #1f9d55;
  --warn: #c9761b;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65;
}
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: linear-gradient(120deg, var(--blue-900), var(--blue-700)); color: #fff; position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; }
.brand img { border-radius: 8px; background: #fff; padding: 2px; }
.brand em { font-style: normal; font-weight: 500; opacity: .85; font-size: 15px; }
.site-nav a { color: #dce8f7; margin-left: 18px; font-size: 15px; padding: 6px 4px; }
.site-nav a.active, .site-nav a:hover { color: #fff; border-bottom: 2px solid var(--blue-300); text-decoration: none; }

/* Main */
.site-main { min-height: 70vh; }
.section { padding: 36px 0; }
h1 { font-size: 30px; margin: 0 0 12px; }
h2 { font-size: 24px; margin: 0 0 18px; color: var(--blue-900); }
h3 { font-size: 18px; margin: 0 0 8px; }
.muted { color: var(--muted); }
.lead { font-size: 18px; color: #2a3a52; }

/* Hero */
.hero { background: linear-gradient(120deg, #0b3a86, #0E4299 50%, #045597); color: #fff; padding: 60px 0; }
.hero .eyebrow { letter-spacing: 2px; color: var(--blue-300); font-size: 13px; margin: 0 0 8px; }
.hero h1 { color: #fff; font-size: 40px; }
.hero .lead { color: #e8f0fb; }
.hero-cta { margin-top: 22px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--blue-700); color: var(--blue-700); background: #fff; font-weight: 600; cursor: pointer; }
.btn:hover { text-decoration: none; background: #eef4fb; }
.btn-primary { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.btn-primary:hover { background: var(--blue-900); color: #fff; }

/* Cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.cat-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: 0 1px 3px rgba(14,66,153,.05); transition: box-shadow .18s, transform .18s, border-color .18s; }
.cat-card:hover { box-shadow: 0 8px 22px rgba(14,66,153,.12); transform: translateY(-2px); border-color: rgba(14,66,153,.35); }
.cat-card h3 { color: var(--blue-900); margin: 0 0 10px; }
.cat-card p { flex: 1; margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.cat-card .btn { margin-top: auto; align-self: flex-start; white-space: nowrap; }
.cat-card .btn:hover { background: var(--blue-700); color: #fff; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.points > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }

/* Tabs + search */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 16px; }
.tabs a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--muted); font-size: 14px; }
.tabs a.active { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.search-bar { display: flex; gap: 10px; margin: 10px 0 18px; flex-wrap: wrap; }
.search-bar input { flex: 1; min-width: 220px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; }
.search-bar button { white-space: nowrap; }

/* Media list */
.media-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.media-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: .15s; }
.media-item:hover { box-shadow: 0 4px 14px rgba(14,66,153,.1); }
.media-item a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; color: var(--ink); }
.media-item a:hover { text-decoration: none; }
.mi-name { font-weight: 600; }
.mi-meta { color: var(--muted); font-size: 13px; }
.mi-price { color: var(--blue-700); font-weight: 700; }
.empty { padding: 16px; color: var(--muted); }

/* Tables */
.detail-table, .order-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.detail-table th, .detail-table td, .order-table th, .order-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.detail-table th { width: 140px; background: #f3f7fc; color: var(--blue-900); }
.order-table th { background: #f3f7fc; color: var(--blue-900); }
.detail-cta { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Forms */
.order-form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; max-width: 620px; display: grid; gap: 14px; }
.order-form label { display: grid; gap: 6px; font-weight: 600; color: var(--blue-900); }
.order-form input, .order-form select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-weight: 400; }
.form-msg { font-size: 14px; min-height: 20px; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: #c0392b; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--blue-900); }
.faq p { margin: 10px 0 0; color: #33445e; }

/* Pager */
.pager { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.pager span { color: var(--muted); }

/* Footer */
.site-footer { background: #0b1b33; color: #cdd9ea; margin-top: 40px; padding: 36px 0 18px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner strong { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: var(--blue-300); }
.footer-bottom { border-top: 1px solid #1c2f4d; margin-top: 20px; padding-top: 14px; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .hero h1 { font-size: 30px; }
  .site-nav a { margin-left: 10px; font-size: 13px; }
}

/* 账户概览卡片 */
.acct-card {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px;
  background: linear-gradient(120deg, #f3f7fc, #eaf1fb);
  border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
}
.acct-item { display: flex; flex-direction: column; min-width: 140px; flex: 1; }
.acct-item span { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.acct-item strong { font-size: 18px; color: var(--blue-900); }
.acct-item .acct-money { font-size: 26px; color: var(--blue-700); font-weight: 800; }

/* 平台订单量网格 */
.hist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 14px 0 6px; }
.hist-item {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(14,66,153,.05);
}
.hist-item span { font-size: 14px; color: var(--muted); }
.hist-item strong { font-size: 24px; color: var(--blue-900); font-weight: 800; }
.hist-item em { font-style: normal; font-size: 13px; color: var(--muted); }

/* ============ 发布稿件页（批发网发文页形态） ============ */
.publish-section h1 { margin-bottom: 18px; }
#publishForm { max-width: 960px; }
.pub-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.pub-label { flex: 0 0 130px; padding-top: 8px; font-weight: 600; color: #333; }
.pub-modes { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.radio { display: inline-flex; align-items: center; gap: 6px; }
.pub-at { padding: 6px 10px; border: 1px solid #d0d7e2; border-radius: 4px; }
.pub-at:disabled { background: #f5f7fa; color: #999; }
.pub-title-main { flex: 1; min-width: 0; }
.pub-tabs { display: inline-flex; border: 1px solid #d0d7e2; border-radius: 4px; overflow: hidden; }
.pub-tab { padding: 6px 18px; background: #fff; border: 0; cursor: pointer; font-size: 14px; color: #333; }
.pub-tab.active { background: #1a66ff; color: #fff; }
.pub-hint { font-size: 12px; color: #999; margin: 8px 0; }
.pub-title-input { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #d0d7e2; border-radius: 4px; font-size: 14px; }
.pub-title-input:focus { border-color: #1a66ff; outline: none; }
.pub-titles-box { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #d0d7e2; border-radius: 4px; font-size: 14px; font-family: inherit; resize: vertical; }
.pub-counter { text-align: right; font-size: 12px; color: #999; margin-top: 4px; }
.pub-counter span { color: #1a66ff; font-weight: 600; }
.pub-warn { font-size: 12px; color: #e6a23c; margin-top: 4px; }
.pub-editor { flex: 1; min-width: 0; border: 1px solid #d0d7e2; border-radius: 4px; overflow: hidden; }
.pub-toolbar { display: flex; gap: 4px; padding: 6px 8px; background: #f7f9fc; border-bottom: 1px solid #e4e9f0; flex-wrap: wrap; }
.pub-toolbar button { padding: 4px 10px; background: #fff; border: 1px solid #d0d7e2; border-radius: 3px; cursor: pointer; font-size: 13px; color: #333; }
.pub-toolbar button:hover { border-color: #1a66ff; color: #1a66ff; }
.pub-content { min-height: 260px; max-height: 480px; overflow-y: auto; padding: 14px 16px; font-size: 14px; line-height: 1.8; outline: none; background: #fff; }
.pub-content:empty::before { content: '请在此输入文章正文…'; color: #bbb; }
.pub-tips { padding: 10px 16px; background: #fff8f0; border-top: 1px solid #f5e3c8; }
.pub-tips-title { font-weight: 600; color: #b26b00; }
.pub-tips p { font-size: 12px; color: #8a6a3a; line-height: 1.9; margin: 0; }
.pub-input { flex: 1; max-width: 640px; box-sizing: border-box; padding: 9px 12px; border: 1px solid #d0d7e2; border-radius: 4px; font-size: 14px; }
.pub-remark { flex: 1; max-width: 640px; box-sizing: border-box; padding: 9px 12px; border: 1px solid #d0d7e2; border-radius: 4px; font-size: 14px; font-family: inherit; resize: vertical; }
.pub-selected { flex: 1; display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.media-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.media-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; background: #f0f5ff; border: 1px solid #c4d5f7; border-radius: 4px; font-size: 13px; }
.media-chip em { font-style: normal; color: #e64545; font-weight: 600; }
.chip-x { border: 0; background: none; cursor: pointer; font-size: 15px; color: #999; padding: 0 2px; }
.chip-x:hover { color: #e64545; }
/* 选择器弹窗 */
.pub-picker { position: fixed; inset: 0; z-index: 1000; }
.pub-picker-mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.pub-picker-panel { position: absolute; left: 50%; top: 8%; transform: translateX(-50%); width: min(720px, 92vw); max-height: 80vh; background: #fff; border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.pub-picker-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #eef1f6; }
.pub-picker-close { border: 0; background: none; font-size: 22px; cursor: pointer; color: #666; }
.pub-picker-tabs { display: flex; gap: 6px; padding: 10px 18px 0; }
.pub-picker-search { padding: 10px 18px; }
.pub-picker-search input { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #d0d7e2; border-radius: 4px; }
.pub-picker-list { overflow-y: auto; padding: 0 18px 16px; flex: 1; }
.picker-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f2f6; }
.picker-item .pi-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pi-name { font-weight: 600; font-size: 14px; }
.pi-meta { font-size: 12px; color: #999; }
.pi-price { color: #e64545; font-weight: 600; white-space: nowrap; }
.pi-add { white-space: nowrap; }
.picker-item.added .pi-add { background: #eef1f6; color: #999; cursor: default; }
/* 选择器：筛选条 / 统计行 / 底栏（对齐平台「选择发布渠道」） */
.pub-picker-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 18px 10px; border-bottom: 1px solid #eef1f6; }
.pub-picker-filters select, .pub-picker-filters input { padding: 6px 9px; border: 1px solid #d0d7e2; border-radius: 4px; font-size: 12.5px; background: #fff; color: #333; max-width: 190px; }
.pub-picker-filters input[type="number"] { width: 96px; }
.pub-picker-filters .pf-ck { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: #55637a; cursor: pointer; white-space: nowrap; }
.pub-picker-filter-row { flex-basis: 100%; }
.pub-picker-count { padding: 8px 18px 4px; font-size: 12.5px; color: #8592a6; }
.pub-picker-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-top: 1px solid #eef1f6; background: #fbfcfe; }
.pub-picker-foot .pub-btn { padding: 7px 16px; font-size: 13px; }
.pub-picker-sel { font-size: 13px; color: var(--blue-700); font-weight: 600; }
.pi-name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pi-auth { font-style: normal; font-size: 11.5px; line-height: 1.6; padding: 0 6px; border-radius: 8px; font-weight: 600; }
.pi-auth-y { background: #FFF6E0; color: #b7791f; border: 1px solid #F3D99B; }
.pi-auth-b { background: #EAF3FF; color: #1a66ff; border: 1px solid #BBD5FF; }
.pi-auth-r { background: #FEEDEC; color: #d93a2b; border: 1px solid #F8C4BE; }
.pi-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
.pi-tag { font-style: normal; font-size: 11.5px; padding: 1px 6px; border-radius: 3px; background: #f2f5fa; color: #6b7a90; }
.pi-tag-gold { background: #FFF6E0; color: #b7791f; }
.pi-tag-geo { background: #EAF3FF; color: #1a66ff; }
.pi-tag-warn { background: #FEEDEC; color: #d93a2b; }
/* 发布页返回入口 */
.pub-crumb { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 14px; }
.pub-back-btn { padding: 6px 14px; border: 1px solid #d0d7e2; background: #fff; border-radius: 4px; cursor: pointer; font-size: 13.5px; color: #333; }
.pub-back-btn:hover { border-color: #1a66ff; color: #1a66ff; }
.pub-back-link { color: var(--blue-700); text-decoration: none; }
.pub-back-link:hover { text-decoration: underline; }
/* 底部结算栏 */
.pub-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #fff; border-top: 1px solid #e4e9f0; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
.pub-bar-inner { display: flex; align-items: center; gap: 22px; padding: 12px 16px; font-size: 14px; color: #333; flex-wrap: wrap; }
.pub-bar strong { color: #1a66ff; font-size: 16px; }
.pub-bar .pub-balance { color: #e6a23c; }
.pub-bar-space { flex: 1; }
.pub-btn { padding: 9px 22px; border: 1px solid #d0d7e2; background: #fff; border-radius: 4px; cursor: pointer; font-size: 14px; color: #333; }
.pub-btn:hover { border-color: #1a66ff; color: #1a66ff; }
.pub-btn-primary { background: #1a66ff; border-color: #1a66ff; color: #fff; }
.pub-btn-primary:hover { background: #1557d6; color: #fff; }
.pub-btn:disabled { opacity: .6; cursor: not-allowed; }
.pub-msg { max-width: 960px; margin: 14px auto 90px; padding: 12px 16px; border-radius: 4px; font-size: 14px; white-space: pre-line; }
.pub-msg.ok { background: #f0f9eb; border: 1px solid #c2e7b0; color: #529b2e; }
.pub-msg.err { background: #fef0f0; border: 1px solid #fbc4c4; color: #c45656; }
.pub-msg.warn { background: #fdf6ec; border: 1px solid #faecd8; color: #b88230; }
@media (max-width: 640px) {
  .pub-row { flex-direction: column; gap: 6px; }
  .pub-label { flex: none; padding-top: 0; }
  .pub-bar-inner { gap: 10px; font-size: 13px; }
}

/* ============ 客户月度统计 ============ */
.mstat-summary { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.mstat-summary strong { color: var(--blue-700); font-size: 18px; }
.mstat-table { width: 100%; border-collapse: collapse; background: #fff; }
.mstat-table th, .mstat-table td { padding: 12px 14px; border-bottom: 1px solid #eef1f6; text-align: left; font-size: 14px; vertical-align: middle; }
.mstat-table th { background: #f7f9fc; color: #555; font-weight: 600; white-space: nowrap; }
.mstat-row { cursor: pointer; transition: background .12s; }
.mstat-row:hover { background: #f5f9ff; }
.mstat-month { font-weight: 600; white-space: nowrap; color: var(--blue-900); }
.mstat-arrow { display: inline-block; width: 14px; color: var(--blue-700); }
.mstat-now { display: inline-block; margin-left: 4px; padding: 1px 8px; background: #e8f1ff; color: var(--blue-700); border-radius: 10px; font-size: 12px; font-weight: 400; }
.mstat-custs { display: flex; flex-wrap: wrap; gap: 6px; }
.mstat-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; background: #f0f5ff; border: 1px solid #d5e2f8; border-radius: 12px; font-size: 12.5px; color: #333; white-space: nowrap; }
.mstat-chip em { font-style: normal; color: var(--blue-700); font-weight: 600; }
.mstat-detail td { background: #fbfcfe; padding: 14px 16px 18px; }
.mstat-detail-table { margin: 0; box-shadow: none; border: 1px solid #eef1f6; border-radius: 8px; overflow: hidden; }
.mstat-detail-table th { font-size: 13px; }
.mstat-detail-table td { background: #fff; font-size: 13px; padding: 9px 12px; }
.mstat-title { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 金额列（总金额：只计未退稿的发稿费用） */
.mstat-amount strong { color: #e64545; font-size: 15px; white-space: nowrap; }
.mstat-refund-col { color: #b7791f; white-space: nowrap; }
.mstat-yes { display: inline-block; padding: 1px 8px; border-radius: 8px; background: #EAF7EE; color: #1f9d55; font-size: 12px; }
.mstat-no { display: inline-block; padding: 1px 8px; border-radius: 8px; background: #FDF0EF; color: #c0392b; font-size: 12px; white-space: nowrap; }
.mstat-rowoff td { color: #96a1b3; }
.mstat-sumrow td { background: #f7f9fc; font-weight: 600; color: var(--blue-900); white-space: nowrap; }
/* ============ 媒体目录：筛选条（对齐合作平台发文页） ============ */
.mc-filters { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 14px; }
.mc-searchbar { display: flex; gap: 10px; margin-bottom: 12px; }
.mc-searchbar input { flex: 1; min-width: 200px; padding: 9px 12px; border: 1px solid #d0d7e2; border-radius: 6px; font-size: 14px; }
.mc-filter-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mcf { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #55637a; }
.mcf select { padding: 7px 10px; border: 1px solid #d0d7e2; border-radius: 6px; font-size: 13px; background: #fff; color: var(--ink); max-width: 220px; }
.mcf-price input { width: 92px; padding: 7px 10px; border: 1px solid #d0d7e2; border-radius: 6px; font-size: 13px; }
.mcf-ck { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #55637a; cursor: pointer; }
.mcf-n { display: inline-block; padding: 0 6px; background: #eef3fb; color: var(--blue-700); border-radius: 8px; font-size: 12px; }
.mcf-go { padding: 7px 16px; font-size: 13px; }
.mcf-reset { font-size: 13px; color: var(--muted); text-decoration: underline; margin-left: auto; }
.mc-filter-row2 { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e8eef7; }
.mc-count { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.mc-count strong { color: var(--blue-700); }

/* ============ 媒体目录：资源卡片 ============ */
/* 目录页撑满内容区（不再居中留白）；其它页面仍走 .wrap 的 1080px 版心 */
.wrap-wide { max-width: 100%; padding: 0 20px; }
/* 每行媒体数：宽屏 6 个，随可用宽度自动降到 5/4/3/2/1，避免卡片被压扁 */
/* 列数只用 6/5/3/2/1：都能整除每页条数（30/60/120/240），末行永远整行；
   刻意不用 4 列 —— 30 不能被 4 整除，会在 4 列宽度下留半截行 */
.mcard-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1440px) { .mcard-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .mcard-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 880px) { .mcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mcard-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); } }
.mcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 0; transition: box-shadow .18s, border-color .18s, transform .18s; }
.mcard:hover { box-shadow: 0 8px 22px rgba(14,66,153,.12); border-color: rgba(14,66,153,.3); transform: translateY(-2px); }
.mcard-head { display: flex; gap: 10px; align-items: flex-start; }
.mcard-avatar { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 8px; color: #fff; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.mcard-hd { min-width: 0; flex: 1; }
.mcard-name { display: -webkit-box; font-weight: 600; font-size: 15px; color: var(--blue-900); line-height: 1.4; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 42px; }
.mcard-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.mtag { display: inline-block; padding: 1px 7px; border-radius: 4px; font-size: 11.5px; line-height: 1.7; border: 1px solid transparent; white-space: nowrap; }
.mtag-gold { background: #FFF7E6; color: #B7791F; border-color: #FFE0A3; }
.mtag-geo { background: #EAF3FF; color: var(--blue-700); border-color: #C9DEFB; }
.mtag-blue { background: #F2F5F9; color: #55637a; border-color: #E1E8F2; }
.mtag-warn { background: #FFF1F0; color: #C0392B; border-color: #FBC9C4; }
.mtag-plain { background: #F2F5F9; color: #8a97a8; border-color: #E1E8F2; }
.mcard-sub { margin-top: 9px; font-size: 12.5px; color: var(--muted); }
.mcard-remark { margin: 8px 0 0; font-size: 12.5px; color: #55637a; line-height: 1.7; min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mcard-remark-empty { color: #a6b1c2; }
.mcard-info { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; font-size: 12.5px; }
.mcard-speed { color: #1f9d55; font-weight: 600; }
.mcard-speed-empty { color: #a6b1c2; font-weight: 400; }
.mcard-rate { color: var(--muted); }
.mcard-more { margin-left: auto; color: var(--blue-700); }
.mcard-note { margin-top: 6px; font-size: 12px; color: #b7791f; }
.mcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 12px 0 14px; border-top: 1px solid #f0f3f8; }
.mcard-price { color: #e64545; font-weight: 800; font-size: 19px; }
.mcard-price em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.mcard-btn { padding: 7px 14px; border-radius: 6px; background: #1a66ff; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.mcard-btn:hover { background: #1557d6; color: #fff; text-decoration: none; }

/* ============ 媒体详情页头部 ============ */
.detail-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.detail-head h1 { margin: 0 0 4px; }
.detail-head .mcard-avatar { flex: 0 0 44px; width: 44px; height: 44px; font-size: 20px; border-radius: 9px; }
.detail-tags { margin-top: 8px; }

/* ============ 订单表（对齐平台订单清单列） ============ */
.order-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.order-table-wide { border: 0; border-radius: 0; min-width: 1060px; table-layout: auto; }
.order-table-wide th, .order-table-wide td { padding: 9px 8px; font-size: 12.5px; vertical-align: middle; white-space: nowrap; }
.order-table-wide th { background: #f3f7fc; color: var(--blue-900); font-weight: 600; }
.oc-no { font-family: Consolas, Menlo, monospace; font-size: 12px; }
.oc-title { max-width: 168px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-url { max-width: 138px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-media { max-width: 108px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-price { color: #e64545; font-weight: 600; }
.oc-time { color: #55637a; }
.oc-mk { color: #b7791f; }
.ostatus { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11.5px; line-height: 1.7; }
.ostatus-ok { background: #EAF7EE; color: #1f9d55; }
.ostatus-run { background: #EAF3FF; color: var(--blue-700); }
.ostatus-wait { background: #F3F5F9; color: #6b7a90; }
.ostatus-err { background: #FDF0EF; color: #c0392b; }

@media (max-width: 640px) {
  .mcard-grid { grid-template-columns: 1fr; }
  .mc-filter-row { gap: 10px; }
  .mcf { flex: 1 1 45%; }
}

@media (max-width: 720px) {
  .mstat-table { display: block; overflow-x: auto; }
  .mstat-title { max-width: 180px; }
}

