/* 优享乐商城 前台样式
   白底、细边框、主色 #0088cc。间距与字号按 14px 基准排版，
   尽量少用阴影和圆角，靠留白和分隔线区分层次。 */

:root {
  --primary: #0088cc;
  --primary-dark: #0074a2;
  --primary-soft: #f2f9fd;
  --text: rgba(0, 0, 0, .8);
  --text-strong: #1a1a1a;
  --muted: #8a8a8a;
  --line: #e4e4e4;
  --line-soft: #efefef;
  --soft: #f7f9fa;
  --dark: #333;
  --radius: 3px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: none; }
p { margin-top: 0; margin-bottom: 1em; }
img { max-width: 100%; height: auto; }
hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; opacity: 1; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid rgba(0, 136, 204, .45); outline-offset: 2px; }

.container { max-width: 1200px; }
.main-wrap { min-height: calc(100vh - 380px); }

h1, h2, h3, h4, h5, h6 { color: var(--text-strong); font-weight: 600; }

/* ---------- 顶部提示条 ---------- */
.pirate-bar {
  background: #b3261e;
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  font-size: 13px;
}
.pirate-bar a { color: #ffe2c4; text-decoration: underline; }

.sub-preview-bar {
  background: #2f3b45;
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  font-size: 13px;
}
.sub-preview-bar a { color: #ffd479; margin-left: 10px; text-decoration: underline; }
.sub-preview-bar a:hover { color: #fff; }

.sub-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 0 6px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 11px;
  font-weight: 400;
  line-height: 18px;
  vertical-align: middle;
}

/* ---------- 导航 ---------- */
.yxl-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.yxl-nav .container { min-height: 68px; display: flex; align-items: center; }
.yxl-nav .navbar-brand {
  font-size: 21px;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: .5px;
  display: flex;
  align-items: center;
}
.yxl-nav .navbar-brand:hover { color: var(--text-strong); }
.yxl-nav .navbar-brand b { font-weight: 600; }
.brand-dot {
  width: 9px;
  height: 9px;
  background: var(--primary);
  display: inline-block;
  margin-right: 9px;
  flex-shrink: 0;
}
.yxl-nav .navbar-nav { align-items: center; }
.yxl-nav .nav-link {
  color: #333;
  font-size: 15px;
  padding: 23px 15px !important;
  position: relative;
  line-height: 22px;
}
.yxl-nav .nav-link:hover { color: var(--primary); }
.yxl-nav .nav-link.active { color: var(--primary); }
.yxl-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: -1px;
  height: 2px;
  background: var(--primary);
}
.yxl-nav .btn { border-radius: var(--radius); font-size: 13px; padding: 5px 15px; }
.yxl-nav .btn-outline-light { color: #333; border-color: #ccc; background: #fff; }
.yxl-nav .btn-outline-light:hover { color: var(--primary); border-color: var(--primary); background: #fff; }
.yxl-nav .btn-warning { color: #fff; background: var(--primary); border: 1px solid var(--primary); }
.yxl-nav .btn-warning:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.yxl-nav .text-white-50 { color: var(--muted) !important; }
.yxl-nav .navbar-toggler { border-color: #ddd; padding: 4px 8px; }
.yxl-nav .navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991px) {
  .yxl-nav .container { flex-wrap: wrap; }
  .yxl-nav .nav-link { padding: 8px 0 !important; }
  .yxl-nav .nav-link.active::after { left: 0; right: auto; width: 26px; bottom: 2px; }
  .yxl-nav .navbar-collapse { padding: 8px 0 18px; border-top: 1px solid var(--line-soft); margin-top: 8px; }
}

/* ---------- 按钮 ---------- */
.btn { border-radius: var(--radius); font-size: 14px; padding: 7px 18px; font-weight: 400; }
.btn-sm { font-size: 13px; padding: 4px 12px; }
.btn-lg { font-size: 16px; padding: 10px 24px; border-radius: var(--radius); }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover, .btn-primary:focus { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-outline-secondary { color: #555; border-color: #ccc; }
.btn-outline-secondary:hover { background: #f2f2f2; border-color: #bbb; color: #333; }
.btn-warning { background: #d9822b; border-color: #d9822b; color: #fff; }
.btn-warning:hover { background: #c1711f; border-color: #c1711f; color: #fff; }
.btn-secondary { background: #999; border-color: #999; }
.btn-pay { padding: 9px 26px; }
.btn-check:checked + .btn-outline-primary { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- 首页首屏 ---------- */
.hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 54px 0 58px;
}
.hero h1 {
  font-size: 32px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 16px;
  letter-spacing: .3px;
}
.hero .lead { font-size: 15px; line-height: 1.95; color: #666; max-width: 520px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-btns .btn { padding: 8px 22px; }
.hero-facts { display: flex; margin-top: 34px; }
.hero-facts .item { padding-right: 30px; margin-right: 30px; border-right: 1px solid #ddd; }
.hero-facts .item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts .num { font-size: 24px; font-weight: 600; color: var(--primary); line-height: 1.3; }
.hero-facts .lbl { font-size: 12px; color: var(--muted); }

/* 浏览器窗口示意图 */
.mock-window {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.mock-bar {
  height: 30px;
  background: #f1f3f5;
  border-bottom: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 11px;
}
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: #cfd4d9; display: block; }
.mock-bar .url {
  flex: 1;
  margin-left: 10px;
  height: 16px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  font-size: 10px;
  color: #aaa;
  line-height: 14px;
  padding: 0 8px;
  overflow: hidden;
  white-space: nowrap;
}
.mock-body { padding: 18px 20px 20px; }
.mock-kicker { font-size: 11px; color: var(--primary); letter-spacing: 1px; margin-bottom: 6px; }
.mock-title { font-size: 17px; font-weight: 600; color: #222; line-height: 1.5; margin-bottom: 12px; }
.mock-line { height: 8px; background: #eef1f3; margin-bottom: 8px; }
.mock-line.w-80 { width: 80%; }
.mock-line.w-60 { width: 60%; }
.mock-tiles { display: flex; gap: 8px; margin-top: 16px; }
.mock-tiles span {
  flex: 1;
  height: 46px;
  border: 1px solid #ececec;
  background: #fafbfc;
  display: block;
}
.mock-tiles span:first-child { background: #eef7fc; border-color: #d8ebf5; }

.hero-slider .carousel-item { transition: transform .4s ease; }
.hero-slider .carousel-indicators { position: static; margin: 14px 0 0; justify-content: flex-start; }
.hero-slider .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #cfd4d9;
  opacity: 1;
  margin-right: 6px;
}
.hero-slider .carousel-indicators .active { background: var(--primary); }

/* 旧版首屏手机模型（保留兼容） */
.hero-phone { width: 270px; margin-left: auto; background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 10px; }
.hp-head { display: flex; gap: 5px; padding: 2px 4px 10px; }
.hp-head span { width: 7px; height: 7px; border-radius: 50%; background: #d5d9de; }
.hp-body { border: 1px solid #eee; padding: 14px; min-height: 190px; }
.hp-line { height: 8px; background: #eef1f3; margin: 8px 0; }
.hp-box { height: 56px; border: 1px solid #e3eef4; background: #f2f9fd; margin-top: 12px; }

/* ---------- 数据条 ---------- */
.stat-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  background: #fff;
}
.stat-strip .item { flex: 1; text-align: center; padding: 20px 10px; border-right: 1px solid var(--line-soft); }
.stat-strip .item:last-child { border-right: 0; }
.stat-strip .num { font-size: 26px; font-weight: 600; color: var(--primary); line-height: 1.3; }
.stat-strip .lbl { font-size: 12px; color: var(--muted); }

/* ---------- 区块标题 ---------- */
.sec-head { margin-bottom: 30px; }
.sec-head h2, .section-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 8px;
  letter-spacing: .3px;
}
.sec-head p, .section-sub { font-size: 13px; color: var(--muted); margin: 0; }
.sec-head.center { text-align: center; }
.sec-head .more { font-size: 13px; }
.sec-head-line { width: 28px; height: 2px; background: var(--primary); margin-top: 12px; }
.sec-head.center .sec-head-line { margin-left: auto; margin-right: auto; }
.sec-head-underline { display: inline-block; width: 28px; height: 2px; background: var(--primary); margin-top: 12px; }
.text-center .section-title { font-size: 22px; }

/* ---------- 面板 ---------- */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.panel-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
}
.panel-title::before {
  content: "";
  width: 3px;
  height: 14px;
  background: var(--primary);
  margin-right: 9px;
  flex-shrink: 0;
}
.yxl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- 功能块 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feat-block { background: #fff; padding: 26px 24px; }
.feat-block svg { width: 26px; height: 26px; color: var(--primary); margin-bottom: 14px; }
.feat-block h3 { font-size: 15px; margin: 0 0 7px; }
.feat-block p { font-size: 13px; line-height: 1.8; color: #777; margin: 0; }
.feat-block:hover { background: #fcfdfe; }

/* 旧版功能卡（其他页面沿用） */
.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  height: 100%;
}
.feat-card:hover { border-color: #cfe6f2; }
.feat-ico {
  width: 44px;
  height: 44px;
  border: 1px solid #d8ebf5;
  background: var(--primary-soft) !important;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
}
.feat-card h6 { font-size: 15px; margin-bottom: 6px; }
.feat-card p { font-size: 13px; line-height: 1.75; color: #777; margin-bottom: 0; }
.feat-dot {
  width: 5px;
  height: 5px;
  background: var(--primary);
  margin-top: 9px;
  flex-shrink: 0;
}

/* ---------- 套餐 ---------- */
.pkg-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pkg-card:hover { border-color: #cfe6f2; }
.pkg-card.hot { border-color: var(--primary); }
.pkg-head {
  background: #fbfcfd;
  border-bottom: 1px solid var(--line-soft);
  padding: 24px 20px 20px;
  text-align: center;
}
.pkg-card.hot .pkg-head { background: var(--primary-soft); border-bottom-color: #d8ebf5; }
.pkg-head h5, .pkg-head h6 { font-size: 16px; margin-bottom: 8px; }
.pkg-head .price { font-size: 30px; font-weight: 600; color: var(--primary); line-height: 1.3; }
.pkg-head .price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.pkg-head .text-white-50 { color: var(--muted) !important; font-size: 12px; }
.pkg-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pkg-body ul { list-style: none; }
.pkg-body li { font-size: 13px; color: #555; padding: 5px 0 5px 16px; position: relative; }
.pkg-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 4px;
  height: 4px;
  background: #b9d9e9;
}
.pkg-body .btn { margin-top: auto; }
.pkg-tag {
  position: absolute;
  top: -1px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  z-index: 2;
}

/* ---------- 产品 ---------- */
.product-card { border: 1px solid var(--line) !important; border-radius: var(--radius) !important; overflow: hidden; }
.product-card:hover { border-color: #bcdcec !important; box-shadow: none !important; }
.prod-ph {
  height: 170px;
  background: #f4f7f9;
  border-bottom: 1px solid var(--line-soft);
  color: #a9c6d4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 600;
}
.prod-thumb {
  height: 150px;
  background: #f4f7f9;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.prod-thumb svg { width: 54px; height: 54px; color: #b7d2df; }
.prod-thumb .tag {
  position: absolute;
  left: 0;
  top: 0;
  background: #eef7fc;
  border-right: 1px solid #d8ebf5;
  border-bottom: 1px solid #d8ebf5;
  color: var(--primary);
  font-size: 11px;
  padding: 1px 8px;
}
.prod-body { padding: 14px 16px 16px; }
.prod-body h3 { font-size: 14px; margin: 0 0 6px; font-weight: 600; }
.prod-body .meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.prod-body .price { font-size: 16px; color: #c0392b; font-weight: 600; }
.prod-body .price small { font-size: 12px; font-weight: 400; color: var(--muted); }

/* ---------- 新闻 ---------- */
.news-list { border-top: 1px solid var(--line-soft); }
.news-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-soft);
}
.news-row:hover { background: #fcfdfe; }
.news-date {
  width: 54px;
  flex-shrink: 0;
  text-align: center;
  border: 1px solid var(--line);
  padding: 6px 0 5px;
  line-height: 1.2;
}
.news-date .d { display: block; font-size: 19px; font-weight: 600; color: #333; }
.news-date .m { display: block; font-size: 11px; color: var(--muted); }
.news-main { min-width: 0; flex: 1; }
.news-main .t { display: block; font-size: 14px; color: #333; margin-bottom: 4px; }
.news-main .t:hover { color: var(--primary); }
.news-main .s {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-main .m { font-size: 12px; color: #a5a5a5; margin-top: 4px; }
.news-item:hover { background: #fcfdfe; }

/* ---------- 营销区块 ---------- */
.mkt-row { padding: 50px 0; border-top: 1px solid var(--line-soft); }
.mkt-row.alt { background: #fafbfc; }
.mkt-row .idx {
  font-size: 12px;
  color: var(--primary);
  border: 1px solid #cfe6f2;
  padding: 0 5px;
  margin-right: 10px;
  vertical-align: 3px;
  letter-spacing: 1px;
}
.mkt-row .mkt-title { font-size: 22px; font-weight: 600; color: var(--text-strong); margin-bottom: 12px; }
.mkt-row .mkt-desc { font-size: 14px; color: #666; line-height: 1.95; margin: 0 0 18px; }
.mkt-list { list-style: none; padding: 0; margin: 0; }
.mkt-list li { font-size: 13px; color: #555; padding: 4px 0 4px 14px; position: relative; }
.mkt-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 4px; height: 4px; background: #b9d9e9; }
.mkt-visual { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }

/* 分站树示意 */
.tree { font-size: 12px; }
.tree-node { border-left: 1px solid #dbe6ee; margin-left: 8px; padding-left: 16px; }
.tree-root { display: flex; align-items: center; gap: 8px; color: #333; font-weight: 600; font-size: 13px; }
.tree-root .dot { width: 7px; height: 7px; background: var(--primary); display: inline-block; }
.tree-item { display: flex; align-items: center; gap: 8px; padding: 8px 0; color: #666; border-bottom: 1px dashed #eef1f3; }
.tree-item:last-child { border-bottom: 0; }
.tree-item .dot { width: 5px; height: 5px; background: #b7d2df; display: inline-block; flex-shrink: 0; }
.tree-item .badge-soft { margin-left: auto; font-size: 11px; color: var(--primary); border: 1px solid #d8ebf5; padding: 0 6px; }

/* 柱状图示意 */
.bars { display: flex; align-items: flex-end; gap: 14px; height: 150px; padding: 0 6px; border-bottom: 1px solid var(--line); }
.bars .bar { flex: 1; background: #e3eef4; position: relative; }
.bars .bar.hi { background: var(--primary); opacity: .85; }
.bars-axis { display: flex; gap: 14px; padding: 8px 6px 0; }
.bars-axis span { flex: 1; text-align: center; font-size: 11px; color: #aaa; }

/* 接口状态示意 */
.api-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: #555; }
.api-row:last-child { border-bottom: 0; }
.api-row .ok { width: 6px; height: 6px; border-radius: 50%; background: #3c9e5a; flex-shrink: 0; }
.api-row .name { flex: 1; }
.api-row .val { font-size: 12px; color: #999; }
.api-code {
  background: #f7f9fa;
  border: 1px solid var(--line-soft);
  padding: 10px 12px;
  font-family: Menlo, Consolas, monospace;
  font-size: 11px;
  color: #777;
  line-height: 1.8;
  margin-top: 14px;
  word-break: break-all;
}
.api-code b { color: var(--primary); font-weight: 400; }

/* ---------- CTA ---------- */
.cta-band {
  background: var(--primary);
  border: 0 !important;
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 30px;
  text-align: center;
}
.cta-band h4 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.cta-band p, .cta-band .text-white-50 { color: rgba(255, 255, 255, .82) !important; font-size: 13px; margin-bottom: 20px; }
.cta-band .btn { background: #fff; color: var(--primary); border: 1px solid #fff; }
.cta-band .btn:hover { background: #eaf6fc; color: var(--primary-dark); }

/* ---------- 表单 ---------- */
.form-label { font-size: 13px; color: #555; margin-bottom: 5px; }
.form-control, .form-select {
  border-radius: var(--radius);
  border-color: #d9d9d9;
  font-size: 14px;
  padding: .45rem .7rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 136, 204, .12);
}
.input-group-text { border-radius: var(--radius); border-color: #d9d9d9; background: #f7f9fa; font-size: 13px; color: #666; }
.yxl-form .form-control, .yxl-form .form-select { padding: .55rem .8rem; }
.form-text { font-size: 12px; color: #999; }
.demo-hint { color: #b3261e; }

/* ---------- 用户中心 ---------- */
.user-shell { display: flex; gap: 20px; align-items: flex-start; }
.user-side { width: 224px; flex-shrink: 0; }
.user-side .panel { padding: 18px 16px; }
.user-side a {
  display: block;
  padding: 8px 10px;
  color: #555;
  font-size: 13px;
  border-left: 2px solid transparent;
}
.user-side a:hover { color: var(--primary); background: #fafcfd; }
.user-side a.on { color: var(--primary); background: var(--primary-soft); border-left-color: var(--primary); font-weight: 600; }
@media (max-width: 768px) {
  .user-shell { flex-direction: column; }
  .user-side { width: 100%; }
  .user-side .panel { display: flex; flex-wrap: wrap; }
  .user-side .panel a { width: 50%; }
}

.avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 1px solid #d8ebf5;
  color: var(--primary);
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 代理商入驻说明条 */
.agent-hero {
  background: #fbfcfd;
  border-left: 3px solid var(--primary);
  padding: 22px 20px;
  text-align: left;
}
.agent-hero h4 { font-size: 17px; margin-bottom: 6px; color: #222; }
.agent-hero .text-white-50 { color: #777 !important; font-size: 13px; line-height: 1.8; }
.agent-hero .text-warning { color: #d9822b !important; font-weight: 600; }

/* ---------- 统计盒 ---------- */
.stat-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat-box .lbl { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.stat-box .num { font-size: 22px; font-weight: 600; color: #333; line-height: 1.4; }

/* ---------- 表格 ---------- */
.table { font-size: 13px; color: #444; margin-bottom: 0; }
.table th { background: #f7f9fa; font-weight: 500; font-size: 12px; color: #666; border-color: var(--line); white-space: nowrap; }
.table td { border-color: var(--line-soft); vertical-align: middle; }
.table > :not(caption) > * > * { padding: .6rem .7rem; }

/* ---------- 徽章 / 状态 ---------- */
.badge { border-radius: 2px; font-weight: 400; font-size: 11px; padding: 3px 7px; }
.text-bg-primary { background-color: var(--primary) !important; }
.text-bg-success { background-color: #3c9e5a !important; }
.text-bg-warning { background-color: #d9822b !important; color: #fff; }
.status-ok { color: #2f8a4a; }
.status-fail { color: #b3261e; }

/* ---------- 举报工单 ---------- */
.report-content { font-size: 14px; line-height: 1.9; color: rgba(0, 0, 0, .78); word-break: break-word; }
.report-thumb { width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); }
.report-thumb-sm { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); }
.report-thread { max-height: 460px; overflow-y: auto; padding-right: 4px; }
.report-msg { margin-bottom: 12px; }
.report-msg .b {
  display: inline-block; max-width: 88%; padding: 9px 12px;
  border-radius: var(--radius); background: var(--soft);
  font-size: 13px; line-height: 1.75; word-break: break-word;
}
.report-msg .meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
.report-msg.user { text-align: right; }
.report-msg.user .b { background: var(--primary-soft); text-align: left; }
.report-msg.admin .b { background: #eef4ff; border-left: 2px solid var(--primary); }
.report-msg.ai .b { background: #f0fdf4; border-left: 2px solid #16a34a; }
.report-msg.system { text-align: center; }
.report-msg.system .b { background: #f4f4f4; color: var(--muted); font-size: 12px; max-width: 100%; }
.report-steps { list-style: none; padding: 0; margin: 0; }
.report-steps li {
  position: relative; padding: 0 0 18px 20px;
  font-size: 13px; color: var(--muted);
}
.report-steps li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 1px solid #c8c8c8;
}
.report-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 4px; top: 18px; bottom: 2px;
  width: 1px; background: var(--line);
}
.report-steps li.on { color: var(--primary); font-weight: 500; }
.report-steps li.on::before { background: var(--primary); border-color: var(--primary); }
.report-steps li:last-child { padding-bottom: 0; }

/* ---------- 支付 ---------- */
.pay-channel {
  border: 1px solid #ddd;
  border-radius: var(--radius);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  background: #fff;
}
.pay-channel:hover { border-color: #9fd0e6; }
.pay-channel.sel { border-color: var(--primary); background: var(--primary-soft); }
.pay-ico { font-size: 17px; color: #555; line-height: 1.4; }
.pay-channel.sel .pay-ico { color: var(--primary); }

/* ---------- 内容 ---------- */
.content-body { line-height: 1.95; color: rgba(0, 0, 0, .75); font-size: 14px; }
.content-body h2, .content-body h3 { font-size: 17px; margin: 26px 0 10px; }
.content-body h4 { font-size: 15px; margin: 20px 0 8px; }
.content-body img { max-width: 100%; height: auto; margin: 10px 0; }
.content-body ul, .content-body ol { padding-left: 22px; }
.content-body li { margin-bottom: 6px; }
.content-body pre { background: #f7f9fa; border: 1px solid var(--line-soft); padding: 14px; font-size: 12px; }
.content-body blockquote { border-left: 3px solid #d8ebf5; padding: 2px 0 2px 16px; color: #666; margin: 16px 0; }
.content-body table { width: 100%; border-collapse: collapse; font-size: 13px; }
.content-body th, .content-body td { border: 1px solid var(--line); padding: 8px 10px; }

/* ---------- 页头（内页） ---------- */
.page-head {
  background: var(--soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 34px 0;
  margin-bottom: 26px;
}
.page-head h1 { font-size: 24px; font-weight: 600; margin: 0 0 6px; }
.page-head p { font-size: 13px; color: #777; margin: 0; }
.crumb { font-size: 12px; color: #999; margin-bottom: 10px; }
.crumb a { color: #888; }
.crumb a:hover { color: var(--primary); }
.crumb span { margin: 0 6px; color: #ccc; }

/* 列表工具条 */
.tool-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; }
.tool-bar .btn { font-size: 13px; }

/* 分页 */
.pagination { margin: 24px 0 6px; }
.pagination .page-link { color: #555; border-color: var(--line); font-size: 13px; padding: .35rem .7rem; border-radius: 0; }
.pagination .page-link:hover { color: var(--primary); background: var(--primary-soft); border-color: #d8ebf5; }
.pagination .active > .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .disabled > .page-link { color: #bbb; }

/* ---------- 提示 ---------- */
.alert { border-radius: var(--radius); font-size: 13px; padding: 12px 16px; border: 1px solid transparent; }
.alert-danger { background: #fdf4f3; border-color: #f0d2ce; color: #a33a30; }
.alert-success { background: #f3faf5; border-color: #cfe8d7; color: #2f7a48; }
.alert-warning { background: #fdf8f1; border-color: #f0e0c6; color: #8a5d1d; }
.alert-info { background: #f3f8fb; border-color: #d5e6ef; color: #2c6a86; }

/* ---------- 页脚 ---------- */
.yxl-footer { background: var(--dark); color: #aaa; margin-top: 56px; font-size: 13px; }
.yxl-footer .container { padding-top: 44px; padding-bottom: 36px; }
.yxl-footer h6 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; letter-spacing: .5px; }
.yxl-footer .foot-link { display: block; color: #aaa; font-size: 13px; margin-bottom: 9px; }
.yxl-footer .foot-link:hover { color: #fff; }
.yxl-footer a { color: #aaa; }
.yxl-footer a:hover { color: #fff; }
.yxl-footer .small, .yxl-footer .text-white-50 { color: #999 !important; }
.yxl-footer .brand-line { color: #fff; font-size: 17px; margin-bottom: 12px; display: flex; align-items: center; }
.yxl-footer .brand-line .brand-dot { background: #6fc3e8; }
.yxl-footer .btn-outline-light { border-color: #555; color: #ccc; font-size: 12px; border-radius: 2px; }
.yxl-footer .btn-outline-light:hover { background: #444; border-color: #666; color: #fff; }
.yxl-footer .foot-bottom { border-top: 1px solid #444; background: #2d2d2d; }
.yxl-footer .foot-bottom .container { padding-top: 14px; padding-bottom: 14px; }
.qr-placeholder {
  width: 168px;
  height: 168px;
  background: #f7f9fa;
  border: 1px dashed #ccc;
  color: #999;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.8;
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 90px;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: #fff;
  color: #888;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1070;
  border-radius: 2px;
  padding: 0;
}
.to-top:hover { color: var(--primary); border-color: var(--primary); }
.to-top.show { display: flex; }
.to-top svg { width: 16px; height: 16px; }

/* ---------- 轻提示 ---------- */
.toast-msg {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  background: #333;
  color: #fff;
  padding: 9px 20px;
  border-radius: 2px;
  font-size: 13px;
  z-index: 9999;
  opacity: 0;
  transition: opacity .2s, transform .2s;
}
.toast-msg.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-msg.err { background: #b3261e; }

/* 兼容旧轮播结构 */
.hero-banner { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.carousel-item img { width: 100%; height: 360px; object-fit: cover; }
.banner-txt { font-size: 22px; }
.banner-ph { display: flex; align-items: center; justify-content: center; height: 360px; color: #fff; font-size: 22px; font-weight: 600; }
.banner-ph.c1 { background: #2b7f9e; }
.banner-ph.c2 { background: #3c6e8f; }
.banner-ph.c3 { background: #4a7a6a; }
.banner-ph.c4 { background: #6b6f8f; }

/* 积分商城占位 */
.point-ph {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border: 1px solid #e8e2d4;
  background: #fbf8f1;
  color: #c9a86a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
  .hero { padding: 40px 0 44px; }
  .hero h1 { font-size: 26px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .mkt-row { padding: 34px 0; }
}
@media (max-width: 768px) {
  body { font-size: 14px; }
  .hero h1 { font-size: 23px; }
  .hero .lead { font-size: 14px; }
  .hero-facts .item { padding-right: 18px; margin-right: 18px; }
  .hero-facts .num { font-size: 20px; }
  .sec-head h2, .section-title { font-size: 19px; }
  .panel { padding: 18px 16px; }
  .stat-strip { flex-wrap: wrap; }
  .stat-strip .item { flex: 0 0 50%; border-bottom: 1px solid var(--line-soft); }
  .stat-strip .item:nth-child(2n) { border-right: 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-block { padding: 20px 18px; }
  .table-responsive { font-size: 12px; }
  .yxl-footer .container { padding-top: 30px; padding-bottom: 24px; }
  .cta-band { padding: 32px 20px; }
  .cta-band h4 { font-size: 18px; }
  .to-top { right: 14px; bottom: 86px; }
  .carousel-item img, .banner-ph { height: 180px; }
  .banner-txt { font-size: 16px; }
  .page-head { padding: 24px 0; margin-bottom: 20px; }
  .page-head h1 { font-size: 20px; }
}
@media (max-width: 480px) {
  .news-date { width: 46px; }
  .news-row { gap: 12px; }
  .hero-facts .item { padding-right: 12px; margin-right: 12px; }
}
