* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background: #f5f7fa; color: #303133; }
body { display: flex; flex-direction: column; }
#app, .layout, #app-main { height: 100%; display: flex; flex-direction: column; min-height: 0; }
header { flex-shrink: 0; background: #fff; box-shadow: 0 1px 4px rgba(0,21,41,.08); z-index: 20; }
.header-container {
  height: 50px; display: flex; align-items: center; padding: 0 16px 0 12px;
}
.logo {
  width: auto; min-width: 120px; max-width: 220px; flex-shrink: 0;
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px; color: #ff6a00;
  white-space: nowrap; line-height: 50px; overflow: hidden;
}
.logo img { height: 32px; max-width: 96px; object-fit: contain; flex-shrink: 0; }
.logo span { overflow: hidden; text-overflow: ellipsis; }
.header-container .main { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; }
.header-container .nav {
  display: flex; align-items: center; height: 100%; overflow: auto; gap: 0;
}
.header-container .nav .item {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 10px; margin: 0 2px;
  color: #303133; font-size: 14px; cursor: pointer; white-space: nowrap;
  text-decoration: none; border-radius: 4px; user-select: none;
}
.header-container .nav .item:hover { color: #ff6a00; }
.header-container .nav .item.active {
  color: #ff6a00; font-weight: 600; background: #fff7f0;
}
.top-account { font-size: 13px; color: #606266; white-space: nowrap; margin-left: 12px; display: flex; align-items: center; gap: 10px; }
.top-account a { color: #ff6a00; text-decoration: none; }
.top-account .who { color: #606266; }
.mp-now {
  max-width: 280px; overflow: hidden; text-overflow: ellipsis;
  background: #fff7f0; color: #ff6a00 !important; padding: 4px 10px; border-radius: 4px; font-size: 12px;
}
.mp-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.mp-tabs a {
  display: inline-block; padding: 6px 14px; border-radius: 4px; background: #fff; color: #606266;
  text-decoration: none; font-size: 13px; border: 1px solid #ebeef5;
}
.mp-tabs a.on { background: #fff7f0; color: #ff6a00; border-color: #ffd8b5; font-weight: 600; }
/* login-gate and login-box are now in the redesign section below */
.shell { display: flex; flex: 1; min-height: 0; }
.subside {
  width: 210px; flex-shrink: 0; background: #fff; border-right: 1px solid #ebeef5;
  padding: 12px 0 24px; overflow: auto;
}
.sub-label {
  font-size: 12px; color: #909399; padding: 14px 20px 6px; letter-spacing: .5px;
}
.subside a, .subside .item {
  display: block; padding: 9px 20px 9px 28px; margin: 0;
  color: #303133; text-decoration: none; font-size: 14px; border-radius: 0;
  cursor: pointer; line-height: 1.4;
}
.subside a.active, .subside a.on, .subside .item.active {
  color: #ff6a00; background: #fff7f0; font-weight: 600;
}
.subside a:hover:not(.active):not(.on), .subside .item:hover:not(.active) { background: #f5f7fa; color: #ff6a00; }
.content, .shell > .main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #f5f7fa; }
.view { padding: 16px 20px 60px; overflow: auto; flex: 1; }
h1 { margin: 0 0 14px; font-size: 20px; font-weight: 700; }
.crumb { color: #8a94a6; font-size: 12px; margin-bottom: 8px; }
.hint { background: #fff7e6; color: #8a5a00; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.card { background: #fff; border-radius: 10px; padding: 18px; cursor: pointer; box-shadow: 0 1px 2px rgba(40,80,160,.05); }
.card b { display: block; color: #3b6dff; margin-bottom: 8px; }
.card span { font-size: 14px; color: #333; }
.stat { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.stat > div { background: #fff; border-radius: 10px; padding: 16px 20px; min-width: 120px; }
.stat .n { font-size: 22px; font-weight: 700; display: block; }
.stat small { color: #888; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
input, select {
  height: 34px; border: 1px solid #dbe4f0; border-radius: 6px; padding: 0 10px; font-size: 13px; background: #fff; color: #333;
}
.btn { height: 34px; border: 0; border-radius: 6px; padding: 0 14px; background: #3b6dff; color: #fff; cursor: pointer; font-size: 13px; }
.btn.ghost { background: #edf3ff; color: #3b6dff; }
.btn.danger { background: #ee0a24; }
.btn.ok { background: #07c160; }
.list { background: #fff; border-radius: 10px; overflow: hidden; }
.row { display: flex; gap: 16px; padding: 14px 16px; border-top: 1px solid #f3f3f3; align-items: center; }
.row:first-child { border-top: 0; }
.cover { width: 120px; height: 68px; object-fit: cover; border-radius: 6px; background: #eee; }
.meta { flex: 1; min-width: 0; }
.meta .name { font-weight: 700; margin-bottom: 4px; }
.meta .sub { color: #888; font-size: 12px; line-height: 1.6; }
.ops { display: flex; flex-direction: column; gap: 6px; }
.ops a, .ops button.link { background: none; border: 0; color: #3b6dff; cursor: pointer; text-align: left; font-size: 13px; padding: 0; text-decoration: none; }
.ops a.btn-toggle-live {
  display: inline-block; text-align: center; padding: 6px 12px; font-weight: 600;
  color: #fff !important; border-radius: 4px; line-height: 1.3;
}
.ops a.btn-toggle-live.danger { background: #ee0a24 !important; }
.ops a.btn-toggle-live.ok { background: #07c160 !important; }
.ops a.btn-toggle-live:hover { filter: brightness(1.06); }
.room-live-tag {
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 600;
  padding: 1px 8px; border-radius: 10px;
}
.room-live-tag.on { background: #ffecec; color: #ee0a24; }
.room-live-tag.off { background: #f2f3f5; color: #646566; }
.live-end-modal { width: 360px; text-align: center; padding: 28px 24px 22px; }
.live-end-modal h3 { margin: 0 0 10px; font-size: 18px; }
.live-end-modal p { color: #646566; font-size: 14px; line-height: 1.65; margin: 0 0 22px; }
.live-end-btns { display: flex; gap: 10px; }
.live-end-btns .btn { flex: 1; height: 40px; font-size: 15px; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 12px; background: #eee; font-size: 12px; cursor: pointer; }
.chip.on { background: #3b6dff; color: #fff; }
.live { color: #07c160; font-size: 12px; }
.empty { padding: 40px; text-align: center; color: #999; }
.qr { width: 88px; height: 88px; object-fit: contain; background: #fafafa; border: 1px solid #eee; }
.mods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.mod-sec { font-size: 15px; margin: 22px 0 10px; color: #334; font-weight: 700; }
.mod-sec:first-of-type { margin-top: 8px; }
.mod { background: #fff; border-radius: 10px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.mod small { display: block; color: #888; margin-top: 4px; }
.mod-card { background: #fff; border-radius: 10px; padding: 16px 18px; }
.mod-hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mod-hd b { font-size: 15px; }
.mod-group { font-size: 11px; color: #8a94a6; margin-left: 8px; background: #f4f7fb; padding: 2px 8px; border-radius: 4px; }
.mod-effect { margin: 8px 0 0; color: #5b6b82; font-size: 13px; line-height: 1.65; }
.mod-fields { margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f3f8; }
.mod-fields label { display: block; font-size: 12px; color: #888; margin: 10px 0 4px; }
.mod-fields input, .mod-fields textarea, .mod-fields select { width: 100%; max-width: 560px; }
.mod-fields .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; }
.mod-fields .btn { margin-top: 12px; }
.goods-mini { font-size: 13px; color: #445; line-height: 1.7; margin-bottom: 8px; }
.hang-room { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 14px; }
.modal.wide { width: 480px; max-width: calc(100vw - 32px); }
.form { background: #fff; border-radius: 10px; padding: 18px; max-width: 560px; }
.form label { display: block; font-size: 13px; color: #666; margin: 12px 0 6px; }
.form input, .form select { width: 100%; }
.form .btn { margin-top: 16px; }
.placeholder { background: #fff; border-radius: 10px; padding: 40px; color: #888; line-height: 1.8; }
.sw {
  width: 42px; height: 24px; background: #ccc; border-radius: 12px; position: relative; cursor: pointer; display: inline-block;
}
.sw.on { background: #3b6dff; }
.sw i { width: 20px; height: 20px; background: #fff; border-radius: 50%; position: absolute; top: 2px; left: 2px; transition: left .15s; }
.sw.on i { left: 20px; }

.filter-bar {
  background: #fff; border-radius: 12px; padding: 16px 18px; margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(40,80,160,.04);
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px 16px;
  align-items: end;
}
.filter-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.filter-field label { font-size: 12px; color: #7a8699; }
.filter-field input, .filter-field select { width: 100%; }
.filter-field.dates { grid-column: span 2; min-width: 280px; }
.filter-dates { display: flex; align-items: center; gap: 8px; }
.filter-dates input { flex: 1; min-width: 0; }
.filter-dates span { color: #99a; font-size: 12px; flex-shrink: 0; }
.filter-field.search { grid-column: span 2; min-width: 260px; }
.search-line { display: flex; gap: 8px; }
.search-line select { width: 96px; flex-shrink: 0; }
.search-line input { flex: 1; min-width: 0; }
.filter-actions {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid #f0f3f8;
}
.filter-count { margin-left: auto; color: #889; font-size: 13px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.filter-bar label { font-size: 12px; color: #7a8699; }
.table-wrap { background: #fff; border-radius: 12px; overflow: auto; box-shadow: 0 1px 2px rgba(40,80,160,.04); }
table.data { width: 100%; border-collapse: collapse; min-width: 1280px; font-size: 13px; }
table.data th {
  text-align: left; font-weight: 500; color: #8a94a6; background: #fafbfd;
  padding: 12px 10px; border-bottom: 1px solid #eef2f8; white-space: nowrap;
}
table.data td {
  padding: 12px 10px; border-bottom: 1px solid #f2f5fa; vertical-align: middle; color: #333;
}
table.data tr:hover td { background: #f8fbff; }
table.data a { color: #3b6dff; text-decoration: none; }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #eee; }
.demo-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; font-size: 11px; color: #8a6d3b; background: #fff3cd; border-radius: 8px; vertical-align: middle; }
.op-col { white-space: nowrap; }
.op-col a { display: block; color: #3b6dff; text-decoration: none; line-height: 1.7; font-size: 12px; cursor: pointer; }
.btn.orange { background: #ff8a00; }
.link { color: #3b6dff; cursor: pointer; }
.res-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.res-head h1 { margin: 0; }
.res-store { display: flex; align-items: center; gap: 16px; font-size: 12px; color: #667; flex-wrap: wrap; }
.store-bar { width: 140px; height: 6px; background: #e8eef8; border-radius: 4px; overflow: hidden; display: inline-block; vertical-align: middle; margin: 0 6px; }
.store-bar > i { display: block; height: 100%; background: #3b6dff; }
.res-drop {
  border: 2px dashed #d7deea; border-radius: 14px; background: #f8fbff;
  padding: 28px 20px; text-align: center; cursor: pointer; margin-bottom: 14px;
}
.res-drop.on, .res-drop:hover { border-color: #ff8a00; background: #fff7ee; }
.res-drop.busy, .res-drop.busy:hover {
  cursor: wait; border-color: #ff8a00; background: #fff7ee; pointer-events: none;
}
.res-drop b { display: block; font-size: 15px; margin-bottom: 6px; }
.res-drop span { color: #889; font-size: 12px; }

.up-progress {
  margin-top: 10px; background: #fff; border: 1px solid #ebeef5;
  border-radius: 8px; padding: 10px 12px; text-align: left;
}
.up-progress.done { border-color: #b7ebc6; background: #f6ffed; }
.up-progress.err { border-color: #fbc4c4; background: #fff6f6; }
.up-progress-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; margin-bottom: 8px; }
.up-progress-name { color: #303133; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.up-progress-pct { color: #ff6a00; font-weight: 700; flex-shrink: 0; }
.up-progress.done .up-progress-pct { color: #07c160; }
.up-progress.err .up-progress-pct { color: #f56c6c; }
.up-progress-bar { height: 8px; background: #ebeef5; border-radius: 99px; overflow: hidden; }
.up-progress-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #ffb36a, #ff6a00);
  border-radius: 99px; transition: width .15s linear;
}
.up-progress-bar.done i { background: #07c160; }
.up-progress-meta { margin-top: 6px; font-size: 12px; color: #889; }
.res-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 16px; background: #fff; color: #445; text-decoration: none; font-size: 13px; border: 1px solid #e8eef8; }
.chip.on { background: #fff7ee; border-color: #ff8a00; color: #d46b08; font-weight: 600; }
.chip.add { gap: 6px; padding: 4px 6px 4px 10px; }
.chip.add input { width: 88px; border: 0; background: transparent; font-size: 13px; }
.res-tools { display: flex; gap: 8px; align-items: center; }
.res-tools input { width: 160px; }
.res-url { background: #fff; border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; }
.res-url summary { cursor: pointer; color: #667; font-size: 13px; }
.res-url-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.res-url-row input { flex: 1; min-width: 180px; }
.v-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.v-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(40,80,160,.04); }
.v-cover { position: relative; display: block; height: 124px; background: #eef2f8; }
.v-cover img, .v-ph { width: 100%; height: 100%; object-fit: cover; }
.v-ph { display: flex; align-items: center; justify-content: center; color: #9aa; font-weight: 700; }
.v-cover-mask {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(0,0,0,.28); opacity: 0; transition: opacity .15s;
}
.v-cover:hover .v-cover-mask { opacity: 1; }
.v-cover-mask a, .v-cover-btn {
  border: 0; background: rgba(0,0,0,.55); color: #fff; border-radius: 16px;
  padding: 6px 12px; font-size: 12px; cursor: pointer; text-decoration: none;
}
.v-cover-mask a:hover, .v-cover-btn:hover { background: #ff6a00; }
@media (hover: none) {
  .v-cover-mask { opacity: 1; background: linear-gradient(transparent, rgba(0,0,0,.5)); align-items: flex-end; padding-bottom: 8px; }
}
.v-body { padding: 10px 12px 12px; }
.v-body .name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.v-body .sub { font-size: 12px; color: #889; margin-bottom: 8px; }
.v-body .ops { display: flex; gap: 12px; }
.v-body .ops a { color: #3b6dff; cursor: pointer; font-size: 12px; }
.res-cats { width: 200px; flex-shrink: 0; background: #fff; border-radius: 12px; padding: 12px; }
.res-cats .cat-hd { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 8px; }
.res-cats .cat-hd a { color: #3b6dff; cursor: pointer; margin-left: 8px; }
.res-cats a { display: block; padding: 8px 10px; border-radius: 6px; color: #445; text-decoration: none; font-size: 13px; }
.res-cats a.on { background: #edf3ff; color: #3b6dff; font-weight: 600; }
.res-main { flex: 1; min-width: 0; background: #fff; border-radius: 12px; overflow: hidden; }
.res-toolbar { display: flex; justify-content: space-between; gap: 10px; padding: 12px; align-items: flex-start; }
.res-toolbar .left, .res-toolbar .right { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.res-toolbar select { min-width: 110px; }
.status-wait { color: #ff8a00; font-size: 12px; white-space: nowrap; }
.v-thumb { position: relative; display: block; width: 96px; height: 54px; }
.v-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; background: #eef; }
.v-thumb em { position: absolute; left: 4px; top: 4px; background: #3b6dff; color: #fff; font-size: 10px; font-style: normal; padding: 1px 5px; border-radius: 3px; }
.v-thumb span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.45); font-size: 16px; }
.status-ok { color: #07c160; font-size: 12px; white-space: nowrap; }
td .sub { color: #8a94a6; font-size: 11px; margin-top: 4px; word-break: break-all; max-width: 280px; }
.wecom-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: #fff; border-radius: 12px; padding: 18px 20px; margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(40,80,160,.04);
}
.wecom-banner b { display: block; margin-bottom: 6px; }
.wecom-banner p { margin: 0; color: #667; font-size: 13px; }
.form textarea { width: 100%; min-height: 140px; border: 1px solid #dbe4f0; border-radius: 6px; padding: 10px; font-size: 13px; font-family: inherit; }
.page-hd { font-size: 16px; font-weight: 600; color: #303133; margin: 0 0 18px; }
.page-card {
  background: #fff; border-radius: 4px; padding: 20px 24px 12px; margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,21,41,.06);
}
.form-row { display: flex; align-items: flex-start; margin-bottom: 18px; }
.form-row .lab { width: 120px; flex-shrink: 0; text-align: right; padding: 8px 16px 0 0; color: #606266; font-size: 13px; }
.form-row .lab em { color: #f56c6c; margin-right: 4px; font-style: normal; }
.form-row .ctl { flex: 1; min-width: 0; }
.form-row .tip { color: #909399; font-size: 12px; margin-top: 6px; }
.h5-status {
  display: inline-flex; align-items: center; margin: 0 0 14px; padding: 8px 12px;
  border-radius: 8px; font-size: 13px; font-weight: 600;
}
.h5-status.ok { background: #e8fff3; color: #07c160; }
.h5-status.online { background: #fff7ee; color: #d46b08; }
.h5-steps { display: flex; flex-direction: column; gap: 8px; color: #606266; font-size: 13px; line-height: 1.5; }
.h5-steps b { color: #303133; }
.h5-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 16px; }
.h5-follow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #606266; cursor: pointer; }
.h5-preview { display: flex; flex-direction: column; gap: 8px; }
.h5-prev-hd { font-size: 13px; color: #909399; margin-bottom: 4px; }
.h5-prev-row { display: flex; align-items: center; gap: 8px; }
.h5-prev-row span { width: 72px; flex-shrink: 0; color: #909399; font-size: 12px; }
.h5-prev-row code {
  flex: 1; min-width: 0; background: #f7f8fa; border: 1px solid #ebeef5; border-radius: 4px;
  padding: 6px 8px; font-size: 12px; color: #303133; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.h5-prev-row button {
  flex-shrink: 0; height: 28px; border: 1px solid #dcdfe6; background: #fff; border-radius: 4px;
  padding: 0 10px; color: #409eff; cursor: pointer; font-size: 12px;
}
.h5-prev-ops { margin-top: 8px; }
input[readonly] { background: #f5f7fa; color: #909399; }
.upload-box {
  width: 88px; height: 88px; border: 1px dashed #d9d9d9; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: #fafafa; overflow: hidden; color: #c0c4cc; font-size: 22px;
}
.upload-box img { width: 100%; height: 100%; object-fit: cover; }
.sec-hd { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 12px; }
.sec-hd h2 { margin: 0; font-size: 16px; }
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; z-index: 200; }
.modal-mask[hidden] { display: none !important; }
.modal { background: #fff; border-radius: 12px; padding: 20px; width: 420px; max-height: calc(100vh - 48px); overflow: auto; }
.modal h3 { margin: 0 0 12px; }
.mall-steps { display: flex; gap: 10px; margin: 0 0 16px; flex-wrap: wrap; }
.mall-steps .step-card {
  flex: 1; min-width: 180px; background: #fff; border-radius: 10px; padding: 12px 14px;
  font-size: 13px; color: #334; display: flex; align-items: center; gap: 8px;
}
.mall-steps .n {
  width: 22px; height: 22px; border-radius: 50%; background: #ff8a00; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0;
}
.page-tabs { display: flex; gap: 0; margin-bottom: 14px; border-bottom: 1px solid #ebeef5; }
.page-tabs a {
  padding: 10px 18px; color: #606266; text-decoration: none; font-size: 14px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.page-tabs a.on { color: #ff6a00; border-bottom-color: #ff6a00; font-weight: 600; }
.ch-layout { display: flex; gap: 16px; align-items: flex-start; }
.ch-groups {
  width: 200px; flex-shrink: 0; background: #fff; border-radius: 10px; padding: 12px 8px 16px;
}
.ch-groups-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 8px 10px; font-size: 13px; font-weight: 600;
}
.ch-groups-hd .btn { height: 28px; padding: 0 10px; font-size: 12px; }
.ch-groups .g {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; border-radius: 6px; color: #303133; text-decoration: none; font-size: 13px;
}
.ch-groups .g em { font-style: normal; color: #909399; font-size: 12px; }
.ch-groups .g.on { background: #fff7f0; color: #ff6a00; font-weight: 600; }
.ch-groups .g:hover:not(.on) { background: #f5f7fa; }
.ch-mainbox { flex: 1; min-width: 0; }
.ch-admin-bar {
  background: #fff; border-radius: 8px; padding: 12px 14px; margin-bottom: 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.ch-admin-bar b { font-size: 15px; color: #303133; }
.ch-admin-bar span { font-size: 13px; color: #909399; }
.ch-actions { background: #fff; border-radius: 8px; padding: 10px 12px; }
.ch-actions .btn.orange { margin-left: auto; }
.ch-page-title { font-size: 16px; font-weight: 600; color: #303133; margin: 0 0 12px; }
.ch-stats { background: #fff; border-radius: 8px; min-height: 420px; }
.ch-stats-wrap {
  display: flex; align-items: center; gap: 10px; padding: 16px 20px;
  border-bottom: 1px solid #f0f2f5;
}
.ch-stats-wrap b { font-size: 15px; margin-right: 8px; }
.ch-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 20px 24px;
}
.ch-stats-grid.one { grid-template-columns: 1fr; }
.ch-rank-card { border: 1px solid #ebeef5; border-radius: 8px; padding: 12px 14px 8px; min-height: 280px; }
.ch-rank-hd {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px;
}
.ch-rank-hd b { font-size: 15px; margin-right: 4px; }
.ch-rank-hd span { color: #909399; font-size: 13px; }
.ch-rank-hd select { margin-left: auto; min-width: 120px; }
.ch-online { background: #fff; border-radius: 8px; padding: 8px 20px 20px; }
.ch-online-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 14px;
}
.ch-online-bar b { color: #ff6a00; }
.ch-promo { background: #fff; border-radius: 8px; padding: 16px 20px 24px; min-height: 420px; }
.promo-page {
  display: flex; flex-direction: column; flex: 1 1 auto;
  margin: -16px -20px -60px; min-height: calc(100% + 76px);
  background: #fff; position: relative;
}
.promo-wrap { padding: 16px 20px 0; }
.promo-wrap h3 { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.promo-cent { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.promo-search { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1; }
.promo-qdid { color: #333; font-size: 13px; min-width: 120px; }
.collesp-operate {
  margin-left: auto; color: #409eff; cursor: pointer; font-size: 13px; user-select: none;
}
.promo-extra { display: flex; align-items: center; gap: 12px; }
.copyAllLink, .resetAllLink {
  display: inline-flex; align-items: center; gap: 4px;
  color: #409eff; cursor: pointer; font-size: 13px; padding: 6px 4px;
}
.resetAllLink { color: #606266; border: 1px solid #dcdfe6; border-radius: 4px; padding: 6px 10px; }
.promo-main { padding: 8px 20px 24px; }
.promo-groups { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.promo-groups a {
  padding: 6px 14px; border-radius: 14px; background: #f4f5f7; color: #606266;
  text-decoration: none; font-size: 13px;
}
.promo-groups a.on { background: #fff7ee; color: #ff6a00; font-weight: 600; }
.promo-groups .btn { margin-left: auto; }
.trainContainer { display: flex; flex-direction: column; gap: 12px; }
.train-detail {
  position: relative; background: #fff; border: 1px solid #ebeef5; border-radius: 8px;
  padding: 28px 16px 14px; overflow: hidden;
}
.train-fake, .train-living {
  position: absolute; top: 0; left: 0; color: #fff; font-size: 12px;
  padding: 2px 10px; border-radius: 8px 0 8px 0;
}
.train-fake { background: #ff8a00; }
.train-living { background: #07c160; }
.train-fakezd {
  position: absolute; top: 0; right: 0; background: #f56c6c; color: #fff;
  font-size: 12px; padding: 2px 10px; border-radius: 0 8px 0 8px;
}
.train-detail-container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.train-title { font-size: 16px; font-weight: 600; color: #303133; margin-bottom: 10px; }
.train-living-time { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #606266; }
.train-time-text { color: #909399; }
.promo-link-list { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 280px; }
.promo-link-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.promo-link-row span { width: 72px; color: #909399; flex-shrink: 0; }
.promo-link-row input {
  flex: 1; min-width: 0; height: 28px; border: 1px solid #ebeef5; border-radius: 4px;
  padding: 0 8px; color: #606266; background: #f7f8fa; font-size: 12px;
}
.promo-link-row button {
  flex-shrink: 0; height: 28px; border: 1px solid #dcdfe6; background: #fff; border-radius: 4px;
  padding: 0 10px; color: #409eff; cursor: pointer; font-size: 12px;
}
.train-canvas { display: flex; gap: 28px; align-items: flex-start; }
.train-canvas-container { text-align: center; }
.canvas-img { width: 88px; height: 88px; display: block; background: #fff; }
.canvas-text { font-size: 12px; color: #909399; margin-top: 6px; }
.trainFunction-detail { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.standby-con, .trainfollow {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 88px; height: 32px; padding: 0 12px; border: 1px solid #dcdfe6;
  border-radius: 4px; font-size: 13px; color: #606266; cursor: pointer; text-decoration: none; background: #fff;
}
.trainfollow.shortLink { background: #ff8a00; border-color: #ff8a00; color: #fff; }
.trainfollow.shortLink .trainLink { color: #fff; }
.promo-more { position: relative; margin-left: auto; }
.promo-more summary {
  list-style: none; cursor: pointer; width: 32px; height: 32px; border: 1px solid #dcdfe6;
  border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #909399;
}
.promo-more summary::-webkit-details-marker { display: none; }
.promo-more-menu {
  position: absolute; right: 0; top: 36px; background: #fff; border: 1px solid #ebeef5;
  border-radius: 6px; box-shadow: 0 6px 16px rgba(0,0,0,.08); min-width: 128px; z-index: 5; padding: 6px 0;
}
.promo-more-menu a {
  display: block; padding: 8px 14px; color: #606266; text-decoration: none; font-size: 13px;
}
.promo-more-menu a:hover { background: #f5f7fa; color: #ff6a00; }
.promo-toast {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
  background: #07c160; color: #fff; padding: 8px 16px; border-radius: 4px; z-index: 300; font-size: 13px;
}
.promo-toast.toast-dark { background: #323233; }
.promo-toast.toast-warn { background: #ee0a24; }
.ch-res-block { padding: 10px 0; border-top: 1px solid #f3f5f8; }
.ch-res-block:first-child { border-top: 0; padding-top: 0; }
.ch-res-block b { display: block; margin-bottom: 6px; }
.modal.wide { width: 640px; }
.rank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) {
  .ch-layout { flex-direction: column; }
  .ch-groups { width: auto; }
  .rank-grid, .ch-stats-grid { grid-template-columns: 1fr; }
}
.ch-card { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 12px; padding: 14px 16px; }
.ch-card .ops { margin-left: auto; flex-direction: row; gap: 12px; align-items: center; }
.mall-form { max-width: 720px; margin-bottom: 16px; }
.qr.big { width: 160px; height: 160px; }
.ch-split { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.ch-side { width: 220px; flex-shrink: 0; background: #fff; border-radius: 12px; padding: 16px; }
.ch-main { flex: 1; min-width: 280px; background: #fff; border-radius: 12px; padding: 16px; }
.ch-main h2, .ch-side h2 { margin: 0 0 10px; font-size: 15px; }
.ch-room { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #f3f5f8; }
.ch-room:first-of-type { border-top: 0; }
.ch-now { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.ch-now span { background: #fff7ee; color: #d46b08; border-radius: 12px; padding: 2px 8px; font-size: 12px; }
.watch-stat {
  display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 14px;
}
.watch-stat > div {
  background: #fff; border-radius: 10px; padding: 12px 16px; min-width: 140px;
}
.watch-stat .n { display: block; font-size: 16px; font-weight: 700; color: #223; margin-bottom: 4px; }
.watch-stat small { color: #889; font-size: 12px; }
.mall-form h2 { margin: 0 0 4px; font-size: 16px; }
.mall-form .tip { color: #889; font-size: 12px; margin: 8px 0 0; }
.cover-row { display: flex; gap: 12px; align-items: center; }
.cover-row .upload-box { flex-shrink: 0; }
.cover-row input { flex: 1; }
.room-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.room-picks label {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
  border: 1px solid #e8eef8; border-radius: 8px; font-size: 13px; cursor: pointer; background: #fafbfd;
}
.room-picks label:has(input:checked) { border-color: #ff8a00; background: #fff7ee; }
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .logo { width: auto; margin-right: 8px; }
}

/* ─── Login redesign ───────────────────────────────────────── */
.login-gate {
  position: fixed; inset: 0; background: #0d1b45; z-index: 999;
  display: flex; align-items: stretch; justify-content: stretch;
}
.login-gate[hidden] { display: none !important; }
.login-left {
  flex: 1; background: linear-gradient(135deg,#1a56db,#0a2e7a);
  display: flex; align-items: center; justify-content: center; padding: 40px;
}
.login-brand { max-width: 400px; padding: 48px; }
.login-logo-big { font-size: 60px; font-weight: 900; color: #fff; letter-spacing: 2px; }
.login-tagline { font-size: 16px; color: rgba(255,255,255,.8); margin-top: 10px; }
.login-feature-list {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.login-feature-list li {
  color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.6;
}
.login-right {
  width: 480px; flex-shrink: 0; background: #f0f4ff;
  display: flex; align-items: center; justify-content: center;
}
.login-box {
  width: 380px; background: #fff; border-radius: 20px; padding: 40px 36px;
  box-shadow: 0 12px 40px rgba(40,80,160,.14);
}
.login-sys-tag {
  display: inline-block; background: #e8efff; color: #1a56db;
  border-radius: 20px; padding: 4px 14px; font-size: 12px; margin: 0 0 20px;
}
.login-input-wrap { position: relative; margin-bottom: 14px; }
.login-input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 16px;
}
.login-input-wrap input {
  padding-left: 38px; width: 100%; height: 44px; font-size: 14px;
  border: 1px solid #dbe4f0; border-radius: 8px;
}
.login-remember {
  display: flex; align-items: center; gap: 6px; font-size: 13px; color: #606266;
  margin: 8px 0 16px; cursor: pointer;
}
.login-sub-hint { text-align: center; font-size: 12px; color: #aaa; margin-top: 14px; }
.login-btn { width: 100%; height: 46px; font-size: 15px; border-radius: 10px; }
@media (max-width: 640px) {
  .login-left { display: none; }
  .login-right { width: 100%; }
}

/* ─── KPI cards ──────────────────────────────────────────────── */
.kpi-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 20px; }
.kpi-card { background: #fff; border-radius: 12px; padding: 20px 22px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.kpi-label { font-size: 13px; color: #8a94a6; margin-bottom: 8px; }
.kpi-val { font-size: 28px; font-weight: 800; color: #1a1a2e; }
.kpi-sub { font-size: 12px; color: #67c23a; margin-top: 4px; }
@media (max-width: 900px) {
  .kpi-row { grid-template-columns: 1fr 1fr; }
}

/* ─── Trend chart ────────────────────────────────────────────── */
.trend-chart { background: #fff; border-radius: 12px; padding: 16px 20px; margin-top: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.trend-chart h3 { margin: 0 0 12px; font-size: 15px; color: #303133; }

/* ─── Badges ─────────────────────────────────────────────────── */
.badge-warn { background: #fff7e6; color: #e6a817; border-radius: 4px; padding: 2px 8px; font-size: 12px; }
.badge-ok   { background: #e8f8ef; color: #07c160; border-radius: 4px; padding: 2px 8px; font-size: 12px; }
.badge-no   { background: #fef0f0; color: #ee0a24; border-radius: 4px; padding: 2px 8px; font-size: 12px; }

/* ─── Role badges ────────────────────────────────────────────── */
.role-badge { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 11px; font-weight: 600; margin-left: 8px; }
.hq-badge   { background: #fff7f0; color: #ff6a00; }
.agent-badge { background: #e8f0ff; color: #1a56db; }

/* ─── Fee report ─────────────────────────────────────────────── */
.fee-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 20px; }
.fee-card { background: #fff; border-radius: 12px; padding: 20px 22px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.fee-card .label { font-size: 13px; color: #8a94a6; margin-bottom: 8px; }
.fee-card .val { font-size: 26px; font-weight: 800; color: #1a1a2e; }

/* ─── Order tab footer ───────────────────────────────────────── */
.order-footer { padding: 12px 16px; background: #fafbfd; border-top: 1px solid #f0f3f8; font-size: 13px; color: #606266; display: flex; gap: 16px; align-items: center; }
.order-footer strong { color: #ee0a24; }

/* ─── Comment avatar ─────────────────────────────────────────── */
.cmt-avatar { width: 32px; height: 32px; border-radius: 50%; background: #3b6dff; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }

/* ─── Room quick stat ────────────────────────────────────────── */
.room-quick-stat { color: #8a94a6 !important; }

/* ─── Agent subbar ───────────────────────────────────────────── */
.agent-subbar { border-bottom: 2px solid #3b6dff; }

/* ═══════════════════════════════════════════════════════════════
   直播跟进页（场控室）
═══════════════════════════════════════════════════════════════ */
/* 左右布局：左视频 + 右信息 */
.fr-layout { display: grid; grid-template-columns: minmax(320px, 480px) 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 900px) { .fr-layout { grid-template-columns: 1fr; } }

.fr-video-side { background: #000; border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.fr-preview-video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.fr-video-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 12px; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); color: #fff; display: flex; align-items: center; }
.fr-video-empty { padding: 60px 20px; text-align: center; color: #ccc; background: #1a1a2e; }

.fr-info-side { background: #fff; border-radius: 12px; padding: 18px 20px; box-shadow: 0 1px 4px rgba(0,0,0,.06); display: flex; flex-direction: column; gap: 14px; }
.fr-title { display: flex; align-items: center; gap: 12px; }
.fr-name { font-size: 20px; font-weight: 800; }
.fr-badge { font-size: 12px; padding: 2px 8px; border-radius: 20px; font-weight: 600; }
.fr-badge.live { background: #e8f8ef; color: #07c160; }
.fr-badge.off  { background: rgba(255,255,255,.2); color: #fff; }

.fr-live-stat { display: flex; gap: 20px; font-size: 13px; color: #606266; padding: 10px 0; border-top: 1px dashed #eef1f5; border-bottom: 1px dashed #eef1f5; }
.fr-live-stat b { color: #1a1a2e; font-size: 18px; font-weight: 800; display: block; }

.fr-ctrl-col { display: flex; flex-direction: column; gap: 10px; }
.fr-ctrl-item { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 14px; user-select: none; padding: 6px 10px; background: #fafbfd; border-radius: 6px; }
.fr-info-ops { display: flex; gap: 8px; flex-wrap: wrap; }
.fr-info-ops .btn { padding: 4px 12px; font-size: 12px; height: 30px; }

/* ─── Toggle switch（继承现有 .sw/.sw.on）─────────────────── */

/* ─── 场控 Tabs ──────────────────────────────────────────── */
.fr-tabs { display: flex; gap: 0; margin-bottom: 16px; background: #fff; border-radius: 10px; overflow: auto; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.fr-tab { padding: 12px 22px; font-size: 14px; cursor: pointer; color: #606266; border-bottom: 2px solid transparent; text-decoration: none; user-select: none; }
.fr-tab.on { color: #3b6dff; border-bottom-color: #3b6dff; font-weight: 600; background: #f0f5ff; }
.fr-tab:hover:not(.on) { background: #f8faff; }

/* ─── 场控面板 ───────────────────────────────────────────── */
.fr-panel { background: #fff; border-radius: 12px; padding: 18px 20px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.fr-panel.hidden { display: none; }
.fr-ctrl-hint { background: #f0f5ff; color: #3b6dff; border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }
.fr-panel .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; }
.wa-status.on { color: #07c160; }
.wa-last { margin-top: 12px; font-size: 12px; color: #8a94a6; }
#wa-lines { width: 100%; min-height: 180px; border: 1px solid #dbe4f0; border-radius: 8px; padding: 10px 12px; font-size: 13px; line-height: 1.6; resize: vertical; }

/* ─── 虚拟用户行 ─────────────────────────────────────────── */
.fr-vm-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.fr-vm-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.fr-vm-tip { font-size: 12px; color: #8a94a6; }
.fr-vm-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fafbfd; border-radius: 8px; border: 1px solid #edf0f5; }
.fr-vm-avatar { width: 36px; height: 36px; border-radius: 50%; background: #3b6dff; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.fr-vm-name { min-width: 108px; max-width: 132px; font-size: 13px; font-weight: 600; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-vm-input { flex: 1; height: 36px; border: 1px solid #dbe4f0; border-radius: 6px; padding: 0 10px; font-size: 13px; }
.fr-vm-input:focus { border-color: #3b6dff; outline: none; }
.fr-vm-send { height: 36px; padding: 0 16px; flex-shrink: 0; }
.fr-vm-reroll { height: 36px; padding: 0 10px; flex-shrink: 0; font-size: 12px; }

/* ─── 批量发送栏 ─────────────────────────────────────────── */
.fr-vm-batch { display: flex; gap: 10px; padding: 12px 14px; background: #f5f7fa; border-radius: 8px; }
.fr-vm-batch input { flex: 1; height: 36px; }

/* ─── 实时评论流 ─────────────────────────────────────────── */
.fr-chat-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; margin-bottom: 8px; background: #f5f7fa; border-radius: 6px; }
.fr-check { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; user-select: none; color: #303133; }
.fr-chat-scroll { max-height: 520px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.fr-chat-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 8px; border: 1px solid transparent; }
.fr-chat-row:hover { background: #f8faff; }
.fr-chat-row.is-real { background: #fff8ee; border-color: #ffe0b6; }
.fr-chat-row.is-real:hover { background: #fff2df; }
.fr-chat-av { width: 34px; height: 34px; border-radius: 50%; background: #3b6dff; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.fr-chat-row.is-real .fr-chat-av { background: #ff8800; }
.fr-chat-body { flex: 1; min-width: 0; }
.fr-chat-line1 { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.fr-chat-nick { font-size: 13px; font-weight: 600; color: #606266; }
.fr-admin-tag { display: inline-block; background: #fef0e6; color: #ff6a00; font-size: 11px; border-radius: 3px; padding: 0 5px; font-weight: 500; }
.fr-real-tag { display: inline-block; background: #ff8800; color: #fff; font-size: 11px; border-radius: 3px; padding: 0 6px; font-weight: 600; }
.fr-chat-text { font-size: 14px; color: #303133; line-height: 1.5; word-break: break-all; }
.fr-chat-time { font-size: 12px; color: #c0c4cc; margin-left: auto; }
.fr-chat-actions { margin-top: 6px; display: flex; gap: 12px; font-size: 12px; }
.fr-chat-actions a { color: #3b6dff; cursor: pointer; text-decoration: none; }
.fr-chat-actions a:hover { text-decoration: underline; }
.fr-chat-actions a.danger { color: #ee0a24; }

/* ─── 直播间列表操作按钮 ─────────────────────────────────── */
.btn-followroom { background: #3b6dff; color: #fff; border-radius: 4px; padding: 3px 10px; font-size: 13px; text-decoration: none; display: inline-block; }
.btn-followroom:hover { background: #2659e0; }
.btn-toggle-live { border-radius: 4px; padding: 6px 12px; font-size: 13px; text-decoration: none; display: inline-block; cursor: pointer; font-weight: 600; }
.btn-toggle-live.ok { background: #07c160; color: #fff; }
.btn-toggle-live.danger { background: #ee0a24; color: #fff; }

/* ─── 剧本场控 ───────────────────────────────────────────── */
.fr-script-toolbar { display: flex; gap: 10px; margin-bottom: 12px; align-items: center; flex-wrap: wrap; }
.fr-script-time { display: inline-block; background: #f0f5ff; color: #3b6dff; border-radius: 4px; padding: 2px 8px; font-family: monospace; font-size: 13px; font-weight: 600; }
.fr-script-send { padding: 3px 10px !important; height: 28px; font-size: 12px; }

/* ─── 营销功能 商品卡 ────────────────────────────────────── */
.fr-goods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.fr-goods-card { display: flex; gap: 12px; padding: 12px; background: #fafbfd; border-radius: 10px; border: 1px solid #edf0f5; }
.fr-goods-cover { width: 88px; height: 88px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #eee; }
.fr-goods-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fr-goods-name { font-size: 14px; font-weight: 600; color: #303133; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fr-goods-price { font-size: 15px; color: #ee0a24; font-weight: 700; }
.fr-goods-price s { color: #999; font-weight: 400; font-size: 12px; margin-left: 4px; }
.fr-goods-meta { font-size: 12px; color: #909399; }
.fr-goods-ops { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; justify-content: center; }
.fr-goods-ops .btn { padding: 4px 12px; font-size: 12px; height: 28px; }
.text-ok { color: #07c160; }
.text-off { color: #909399; }

/* ─── 直播间分组标签 ─────────────────────────────────────── */
.room-group-tag { display: inline-block; background: #f0f5ff; color: #3b6dff; border-radius: 4px; padding: 1px 8px; font-size: 11px; font-weight: 500; margin-left: 6px; vertical-align: middle; }
