/* 中国生猪预警网 · 原型样式（严格照搬 09-可点击网站 静态页面） */
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #1a1a1a; font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
.wrap { width: 1280px; margin: 0 auto; padding: 0 20px; }

/* header */
.hd { border-bottom: 1px solid #e8e8e8; }
.hd .wrap { display: flex; align-items: center; height: 62px; gap: 26px; }
.logo { font-size: 20px; font-weight: 800; color: #d0021b; letter-spacing: .02em; display: block; line-height: 1.28; }
.logo small { display: block; font-size: 8px; letter-spacing: .2em; color: #9a9a9a; font-weight: 400; margin-top: 1px; }
.nav { display: flex; gap: 22px; font-size: 15px; color: #222; }
.nav a { position: relative; }
.nav a.on { color: #d0021b; font-weight: 700; }
.hd .r { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 13px; color: #666; }
.quote { background: #d0021b; color: #fff; padding: 7px 16px; border-radius: 3px; font-size: 13px; font-weight: 700; }
.nav a .nbadge { position: absolute; top: -7px; right: -22px; background: #e5352b; color: #fff; font-style: normal; font-size: 9px; font-weight: 700; line-height: 1; padding: 2px 4px; border-radius: 7px; letter-spacing: 0; }
.nbadge { position: absolute !important; top: -7px !important; right: -20px !important; background: #e5352b; color: #fff; font-style: normal; font-size: 9px; font-weight: 700; line-height: 1; padding: 2px 4px; border-radius: 7px; letter-spacing: 0; }

/* footer */
.ft { border-top: 1px solid #e8e8e8; margin-top: 26px; padding: 18px 0 26px; font-size: 11.5px; color: #999; display: flex; justify-content: space-between; }
.ft a:hover { color: #d0021b; }

/* 通用小件 */
.up { color: #d0021b; } .down { color: #2f6f8f; } .flat { color: #999; }
.cban { border-bottom: 1px solid #e8e8e8; padding: 24px 0 14px; }
.cban h1 { margin: 0; font-size: 30px; }
.cban p { margin: 9px 0 0; font-size: 13px; color: #888; }
.bh { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid #111; padding-bottom: 8px; margin-bottom: 2px; }
.bh b { font-size: 17px; }
.bh b i { display: inline-block; width: 4px; height: 15px; background: #d0021b; margin-right: 8px; vertical-align: -2px; }
.bh a { font-size: 12px; color: #999; }
.bh2 { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid #111; padding-bottom: 8px; margin-top: 26px; }
.bh2 b { font-size: 17px; }
.bh2 b i { display: inline-block; width: 4px; height: 15px; background: #d0021b; margin-right: 8px; vertical-align: -2px; }
.bh2 a { font-size: 12px; color: #999; }
.bh2 .r { display: flex; align-items: baseline; gap: 12px; }
.bh2 .r span { font-size: 11.5px; color: #999; }
.bh2 .r a { font-size: 12px; color: #999; }
.side .bh { border-bottom-width: 1px; }
.rk { padding: 6px 0; }
.rk a { display: flex; gap: 8px; padding: 7px 0; font-size: 13.5px; line-height: 1.5; }
.rk a:hover { color: #d0021b; }
.rk i { font-style: normal; color: #d0021b; font-weight: 700; width: 16px; flex: none; }
.rk i.n { color: #bbb; }
.club { border: 1px solid #f0d7d1; background: #fffbfa; border-radius: 3px; padding: 14px; margin-top: 14px; }
.club b { font-size: 14px; color: #8f1d1d; }
.club p { margin: 8px 0 10px; font-size: 12px; color: #7a7a7a; line-height: 1.7; }
.club a.b { display: inline-block; background: #d0021b; color: #fff; font-size: 12px; padding: 6px 14px; border-radius: 3px; }
.pg { display: flex; gap: 8px; justify-content: center; padding: 20px 0 6px; font-size: 12.5px; }
.pg a { border: 1px solid #e8e8e8; padding: 5px 11px; border-radius: 2px; color: #555; }
.pg a.on { background: #d0021b; border-color: #d0021b; color: #fff; }
.pg span { border: 1px solid #f0f0f0; padding: 5px 11px; border-radius: 2px; color: #ccc; }
.empty { text-align: center; color: #bbb; font-size: 13px; padding: 60px 0; }

/* 资讯列表（channel） */
.filters { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid #eee; font-size: 13px; color: #666; }
.filters span.on { color: #d0021b; font-weight: 700; }
.nrow { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.nrow .tx { flex: 1; min-width: 0; }
.nrow h3 { margin: 0; font-size: 16px; line-height: 1.5; }
.nrow h3:hover { color: #d0021b; }
.nrow p { margin: 6px 0 0; font-size: 12.5px; color: #888; line-height: 1.6; }
.nrow .m { margin-top: 7px; font-size: 11.5px; color: #aaa; display: flex; gap: 12px; }
.nrow .th { width: 132px; height: 88px; border-radius: 2px; background: linear-gradient(150deg, #e9d9d6, #c9a9a3); flex: none; }

/* 报告列表 */
.rtabs { display: flex; gap: 22px; border-bottom: 1px solid #e8e8e8; flex-wrap: wrap; }
.rtabs a { font-size: 14px; color: #555; padding: 11px 0 9px; border-bottom: 2px solid transparent; }
.rtabs a.on { color: #d0021b; font-weight: 700; border-color: #d0021b; }
.rows .row { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid #f2f2f2; align-items: flex-start; }
.row .lvl { font-size: 10.5px; padding: 1px 7px; border-radius: 2px; white-space: nowrap; }
.lvl.pub { background: #f0f0f0; color: #666; }
.lvl.reg { background: #fdecec; color: #d0021b; }
.lvl.club { background: #fdf2e3; color: #9a6a1a; font-weight: 700; }
.row .t { flex: 1; min-width: 0; }
.row h3 { margin: 0; font-size: 15px; line-height: 1.5; }
.row h3 a:hover { color: #d0021b; }
.row .m { margin-top: 6px; font-size: 11.5px; color: #aaa; display: flex; gap: 12px; }
.row .go { font-size: 12.5px; color: #d0021b; white-space: nowrap; align-self: center; }

/* 会议 */
.todo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 14px; }
.tcard { border: 1px solid #e8e8e8; border-radius: 2px; padding: 16px; display: flex; flex-direction: column; min-height: 168px; align-items: flex-start; }
.tcard .when { display: flex; align-items: baseline; gap: 8px; color: #d0021b; }
.tcard .when b { font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.tcard .when span { font-size: 12px; color: #999; }
.tcard h3 { margin: 10px 0 0; font-size: 15px; line-height: 1.5; }
.tcard .m { margin-top: 8px; font-size: 11.5px; color: #999; display: flex; gap: 10px; }
.tcard .st { display: inline-block; margin-top: auto; font-size: 11px; padding: 2px 8px; border-radius: 2px; background: #fdecec; color: #d0021b; }
.tcard .st.wait { background: #f5f5f5; color: #888; }
.repgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 14px; }
.rep { display: block; border: 1px solid #eee; border-radius: 2px; overflow: hidden; }
.rep .th { width: 100%; height: 132px; background: linear-gradient(150deg, #eee6e4, #dcd2cf); }
.rep .rc { padding: 12px 14px 14px; }
.rep h3 { margin: 0; font-size: 15px; line-height: 1.5; }
.rep p { margin: 6px 0 0; font-size: 12px; color: #777; line-height: 1.6; }
.rep .m { margin-top: 6px; font-size: 11px; color: #aaa; display: flex; gap: 10px; }

/* 视频 */
.tabs3 { display: flex; gap: 22px; border-bottom: 1px solid #eee; }
.tabs3 a { font-size: 13.5px; color: #555; padding: 11px 0 9px; border-bottom: 2px solid transparent; }
.tabs3 a.on { color: #d0021b; font-weight: 700; border-color: #d0021b; }
.vgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding: 18px 0 8px; }
.vcard2 { display: block; }
.vcard2 .p { position: relative; width: 100%; aspect-ratio: 9/16; border-radius: 4px; overflow: hidden; background: #111; }
.vcard2 .p img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard2 .p .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .9); }
.vcard2 .p .play::after { content: ""; position: absolute; left: 15px; top: 11px; border-left: 12px solid #111; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.vcard2 .p .dur { position: absolute; right: 6px; bottom: 6px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 10.5px; padding: 1px 5px; border-radius: 2px; }
.vcard2 b { display: block; font-size: 12.5px; line-height: 1.45; margin-top: 8px; font-weight: 600; }
.vcard2 span { display: block; font-size: 10.5px; color: #aaa; margin-top: 3px; }

/* 专题 */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 18px 0 6px; }
.tgrid .tcard { border: 1px solid #eee; border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; padding: 0; min-height: 0; }
.tgrid .tcard .cov { height: 150px; background: linear-gradient(150deg, #efe7e5, #dcd2cf); }
.tgrid .tcard .c { padding: 13px 14px 15px; flex: 1; display: flex; flex-direction: column; }
.tgrid .tcard h3 { margin: 0; font-size: 16px; line-height: 1.45; }
.tgrid .tcard p { margin: 7px 0 0; font-size: 12.5px; color: #777; line-height: 1.65; flex: 1; }
.tgrid .tcard .m { margin-top: 10px; font-size: 11px; color: #aaa; display: flex; gap: 12px; }
.thead { display: flex; gap: 24px; padding: 20px 0 18px; border-bottom: 1px solid #e8e8e8; }
.thead .cov { width: 340px; height: 190px; border-radius: 2px; background: linear-gradient(150deg, #efe7e5, #dcd2cf); flex: none; }
.thead h1 { margin: 0; font-size: 26px; line-height: 1.4; }
.thead p { margin: 10px 0 0; font-size: 13.5px; color: #666; line-height: 1.85; }
.thead .m { margin-top: 12px; font-size: 11.5px; color: #aaa; display: flex; gap: 14px; }
.alist .a { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.alist .a .th { width: 120px; height: 78px; border-radius: 2px; background: linear-gradient(150deg, #efe7e5, #dcd2cf); flex: none; }
.alist h3 { margin: 0; font-size: 15px; line-height: 1.5; }
.alist p { margin: 6px 0 0; font-size: 12px; color: #777; line-height: 1.6; }
.alist .m { margin-top: 6px; font-size: 11px; color: #aaa; display: flex; gap: 10px; }

/* 文章详情 */
.crumb { padding: 14px 0 0; font-size: 12px; color: #999; }
.crumb a:hover { color: #d0021b; }
.art h1 { margin: 10px 0 0; font-size: 28px; line-height: 1.4; }
.art .ameta { margin-top: 12px; padding-bottom: 14px; border-bottom: 1px solid #eee; display: flex; gap: 16px; font-size: 12px; color: #999; flex-wrap: wrap; }
.art .ameta a { color: #d0021b; }
.art .body { padding-top: 16px; font-size: 15px; line-height: 1.95; }
.art .body p { margin: 0 0 16px; }
.art .body h3 { margin: 22px 0 10px; font-size: 17px; }
.art .body img { max-width: 100%; height: auto; display: block; margin: 0 0 16px; }

/* 电报（intel） */
.tban { border-bottom: 1px solid #e8e8e8; padding: 26px 0 16px; display: flex; align-items: flex-end; justify-content: space-between; }
.tban h1 { margin: 0; font-size: 30px; }
.tban p { margin: 9px 0 0; font-size: 13px; color: #888; }
.live { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #d0021b; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #d0021b; display: inline-block; }
.topbar { border: 1px solid #f0c9c9; background: #fff; border-radius: 2px; padding: 20px 24px 18px; margin-top: 14px; }
.topbar .when { font-size: 30px; font-weight: 800; letter-spacing: .5px; font-variant-numeric: tabular-nums; line-height: 1.25; }
.topbar .when b { font-weight: 800; }
.topbar .upd { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 15px; color: #c58a2a; font-weight: 600; }
.topbar .bars { display: inline-flex; gap: 3px; align-items: flex-end; height: 14px; }
.topbar .bars i { display: block; width: 3px; background: #c58a2a; animation: up 1s infinite ease-in-out; }
.topbar .bars i:nth-child(1) { height: 8px; animation-delay: 0s; }
.topbar .bars i:nth-child(2) { height: 13px; animation-delay: .15s; }
.topbar .bars i:nth-child(3) { height: 6px; animation-delay: .3s; }
@keyframes up { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.day { font-size: 12px; color: #999; margin: 20px 0 4px; }
.tel { border-left: 2px solid #f0f0f0; margin-left: 6px; }
.ti { position: relative; display: flex; gap: 16px; padding: 12px 0 12px 18px; border-bottom: 1px solid #f4f4f4; }
.ti::before { content: ""; position: absolute; left: -5px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: #d0021b; }
.ti .hm { width: 46px; flex: none; font-size: 12.5px; color: #d0021b; font-variant-numeric: tabular-nums; }
.ti .c { flex: 1; min-width: 0; }
.ti .c a { font-size: 14.5px; line-height: 1.7; }
.ti .c a:hover { color: #d0021b; }
.ti.hot .c a { font-weight: 700; }
.ti .m { margin-top: 5px; font-size: 11px; color: #aaa; display: flex; gap: 10px; align-items: center; }
.gate { position: relative; margin: 8px 0 0 8px; border: 1px dashed #e8b45a; background: #fffaf1; border-radius: 2px; padding: 18px; text-align: center; }
.gate b { display: block; font-size: 14.5px; color: #8f1d1d; }
.gate span { display: block; font-size: 12.5px; color: #8a7a6a; margin: 7px 0 12px; line-height: 1.7; }
.gate a { display: inline-block; background: #d0021b; color: #fff; font-size: 12.5px; padding: 8px 20px; border-radius: 2px; }
.gate em { display: block; font-style: normal; font-size: 11.5px; color: #aaa; margin-top: 10px; }
.gated { filter: blur(3.5px); opacity: .55; pointer-events: none; user-select: none; }
.more { text-align: center; padding: 18px 0 6px; }
.more a { border: 1px solid #e8e8e8; padding: 7px 20px; border-radius: 2px; font-size: 12.5px; color: #555; }

/* 404 */
.nf { max-width: 720px; margin: 40px auto 60px; text-align: center; }
.nf .code { font-size: 72px; font-weight: 800; color: #d0021b; letter-spacing: -.03em; line-height: 1; }
.nf h1 { font-size: 20px; margin: 14px 0 8px; color: #1a1a1a; }
.nf p { font-size: 13.5px; color: #8b7b72; line-height: 1.9; margin: 0 0 22px; }
.nf .links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nf .links a { font-size: 13px; padding: 9px 18px; border-radius: 3px; border: 1px solid #e6dcd6; color: #5f4c45; }
.nf .links a.primary { background: #d0021b; border-color: #d0021b; color: #fff; font-weight: 700; }

/* 资讯筛选条（链接版） */
.filters a { color: inherit; text-decoration: none; }
.filters a:hover { color: #d0021b; }
.filters a.on { color: #d0021b; font-weight: 700; }

/* 报告列表缩略图 */
.rows .row { align-items: center; }
.rows .row .th { width: 116px; height: 74px; flex: none; border-radius: 2px; overflow: hidden;
  background: #f2f0ee center/cover no-repeat; display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #b3a29a; }
.rows .row .th-pdf { background-color: #fdf2e3; color: #9a6a1a; font-weight: 700; letter-spacing: .1em; }
.rows .row .lvl { align-self: center; }

/* 报告分页 */
.pgbar { display: flex; justify-content: flex-end; align-items: center; gap: 6px; padding: 16px 0 6px; font-size: 12.5px; color: #8b7b72; }
.pgbar a, .pgbar span.on, .pgbar span.off { display: inline-block; min-width: 30px; text-align: center;
  padding: 4px 9px; border: 1px solid #e6dcd6; border-radius: 2px; color: #5f4c45; text-decoration: none; }
.pgbar span.on { background: #d0021b; border-color: #d0021b; color: #fff; font-weight: 700; }
.pgbar span.off { color: #c8bdb7; }
.pgbar .cnt { margin-left: 8px; color: #a99a92; }
.rtabs a em { font-style: normal; font-size: 10.5px; color: #b9aaa2; margin-left: 3px; }
.rtabs a.on em { color: #d0021b; }

/* 月报下载按钮 */
.rows .row .go.dl { background: #d0021b; color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 8px 18px; border-radius: 3px; white-space: nowrap; }
.rows .row .go.dl:hover { background: #b0021a; color: #fff; }

/* 报告行右侧：阅读/下载 + 权限标签竖排 */
.rows .row .rcol { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; min-width: 96px; }
.rows .row .rcol .lvl { font-size: 11px; }
