/* 媒体投稿页 */
body.bd-report-page:has(.mp-page) .bd-report-shell {
  padding-top: 0.75rem !important;
  padding-bottom: 1.75rem !important;
}

body.bd-report-page:has(.mp-page) .app-wrapper {
  min-height: 0;
}

body.bd-report-page:has(.mp-page) .footer-con {
  margin-top: 0;
}

.mp-page {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: none;
  min-height: 0;
}

.mp-page__top {
  flex: 0 0 auto;
  z-index: 5;
}

.mp-feed {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.65rem 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  overflow: hidden;
}

.mp-feed__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
}

.mp-feed__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: mp-feed-pulse 1.6s ease-out infinite;
}

@keyframes mp-feed-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.mp-feed__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.mp-feed__track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  will-change: transform;
}

.mp-feed__track.is-ready {
  animation: mp-feed-scroll var(--mp-feed-duration, 36s) linear infinite;
}

.mp-feed__track.is-ready:hover {
  animation-play-state: paused;
}

@keyframes mp-feed-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(var(--mp-feed-distance, -50%)); }
}

.mp-feed__item {
  flex: 0 0 auto;
  font-size: 0.8125rem;
  color: #5b6472;
  white-space: nowrap;
}

.mp-feed__user {
  color: #1f2937;
  font-weight: 600;
}

.mp-feed__media {
  color: var(--bs-primary);
  font-weight: 600;
  margin: 0 0.15rem;
}

.mp-feed__time {
  margin-left: 0.35rem;
  color: #9aa3af;
}

.mp-list-card {
  flex: none;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.5rem;
  padding: 0.85rem 1.25rem 1rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.mp-list-scroll {
  position: relative;
  flex: none;
  min-height: 0;
  overflow: visible;
  padding-right: 0.15rem;
}

.mp-filter-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.5rem;
  padding: 0.85rem 1.25rem 0.65rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.mp-filter-card:not(.is-expanded) .mp-filter-row--extra {
  display: none !important;
}

.mp-filter-toggle-row {
  display: flex;
  justify-content: center;
  padding: 0.25rem 0 0.15rem;
}

.mp-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: 0;
  background: transparent;
  color: var(--bs-body-color);
  font-size: 0.875rem;
  line-height: 1.5;
  cursor: pointer;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
}

.mp-filter-toggle:hover {
  color: var(--bs-primary);
}

.mp-filter-card.is-expanded .mp-filter-toggle {
  color: var(--bs-primary);
  font-weight: 600;
}

.mp-filter-toggle .fi {
  font-size: 0.85em;
  line-height: 1;
}

.mp-selected {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0.55rem 0 0.25rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px dashed var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
}

.mp-selected[hidden] {
  display: none !important;
}

.mp-selected__label {
  flex: 0 0 5.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bs-body-color);
  line-height: 1.8;
  white-space: nowrap;
}

.mp-selected__chips {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 0;
  align-items: center;
}

.mp-selected__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  padding: 0.25rem 0.35rem 0.25rem 0.65rem;
  border: 1px solid rgba(47, 111, 237, 0.28);
  border-radius: 999px;
  background: #eef4ff;
  color: #2f6fed;
  font-size: 0.8125rem;
  line-height: 1.4;
  cursor: pointer;
}

.mp-selected__chip:hover {
  border-color: rgba(47, 111, 237, 0.5);
  background: #e4edff;
}

.mp-selected__chip-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp-selected__chip-x {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(47, 111, 237, 0.14);
  color: #2f6fed;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.mp-selected__chip:hover .mp-selected__chip-x {
  background: #2f6fed;
  color: #fff;
}

.mp-selected__clear {
  flex: 0 0 auto;
  margin-left: auto;
  height: 30px;
  padding: 0 0.75rem;
  border: 1px solid #d0d5dd;
  border-radius: 0.35rem;
  background: #fff;
  color: #344054;
  font-size: 0.8125rem;
  line-height: 1;
  cursor: pointer;
}

.mp-selected__clear:hover {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
  text-decoration: none;
}

.mp-filter-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
}

.mp-filter-row:last-child {
  border-bottom: 0;
}

.mp-filter-label {
  flex: 0 0 5.5rem;
  font-weight: 600;
  color: var(--bs-body-color);
  line-height: 1.8;
  white-space: nowrap;
}

.mp-filter-tags {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: center;
  min-width: 0;
}

.mp-filter-row[data-filter="type"] .mp-filter-tags {
  padding-top: 0.35rem;
  gap: 0.35rem 1.15rem;
}

.mp-filter-tags.is-collapsed .mp-tag--extra {
  display: none;
}

.mp-tag-more {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-weight: 400;
}

.mp-tag-more .fi {
  font-size: 0.85em;
  line-height: 1;
}

.mp-tag-more[aria-expanded="true"] {
  color: var(--bs-primary) !important;
  font-weight: 600;
}

.mp-tag-more[aria-expanded="true"]:hover {
  text-decoration: underline;
}

.mp-tag {
  border: 0;
  background: transparent;
  color: var(--bs-body-color);
  padding: 0.15rem 0.35rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  cursor: pointer;
}

.mp-tag--type {
  position: relative;
  padding-right: 0.55rem;
}

.mp-tag__badge {
  position: absolute;
  top: -0.85em;
  right: -0.45rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1em;
  padding: 0.08rem 0.28rem;
  border-radius: 8px 0;
  background: #ff3b30;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}

.mp-tag:hover {
  color: var(--bs-primary);
}

.mp-tag.is-active {
  color: #fff;
  background: var(--bs-primary);
}

.mp-price-custom {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-left: 0.25rem;
}

.mp-price-custom .form-control {
  width: 72px;
  height: 30px;
  padding: 0.15rem 0.4rem;
  font-size: 0.8125rem;
}

.mp-filter-row--advanced {
  align-items: center;
}

.mp-filter-advanced {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
  flex: 1 1 auto;
  min-width: 0;
}

.mp-adv-dd {
  position: relative;
  flex: 0 0 auto;
}

.mp-adv-dd__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 34px;
  padding: 0 0.65rem 0 0.75rem;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 0.8125rem;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.mp-adv-dd__btn:hover,
.mp-adv-dd.is-open .mp-adv-dd__btn,
.mp-adv-dd.is-active .mp-adv-dd__btn {
  border-color: #316AFF;
  color: #316AFF;
}

.mp-adv-dd__icon {
  color: #316AFF;
  font-size: 0.92rem;
  line-height: 1;
}

.mp-adv-dd__text {
  line-height: 1.2;
}

.mp-adv-dd__caret {
  color: #98a2b3;
  font-size: 0.85rem;
  line-height: 1;
  margin-left: 0.05rem;
}

.mp-adv-dd.is-open .mp-adv-dd__caret,
.mp-adv-dd.is-active .mp-adv-dd__caret {
  color: #316AFF;
}

.mp-adv-dd__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 40;
  min-width: max(100%, 8.5rem);
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  max-height: 260px;
  overflow-y: auto;
}

.mp-adv-dd__item {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  color: #344054;
  white-space: nowrap;
  cursor: pointer;
}

.mp-adv-dd__item:hover,
.mp-adv-dd__item.is-active {
  background: #f0f5ff;
  color: #316AFF;
}

.mp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex: 0 0 auto;
}

.mp-toolbar__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  min-width: 0;
}

.mp-fav-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  white-space: nowrap;
  font-size: 0.875rem;
  color: #344054;
  cursor: pointer;
  user-select: none;
}

.mp-fav-switch .form-check-input {
  margin: 0;
  float: none;
  width: 2.25rem;
  height: 1.2rem;
  cursor: pointer;
}

.mp-fav-switch .form-check-label {
  cursor: pointer;
  line-height: 1.2;
}

.mp-search {
  position: relative;
  margin-left: auto;
}

.mp-search input {
  min-width: 220px;
  width: 260px;
  padding-right: 2.25rem;
}

.mp-search > i {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
}

/* 媒体卡片列表 */
.mp-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mp-list-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  color: #8b949e;
  font-size: 0.9375rem;
}

.mp-list-scroll.is-loading .mp-card-list,
.mp-list-scroll.is-loading .mp-list-empty {
  filter: blur(2px);
  pointer-events: none;
  user-select: none;
}

.mp-list-loading {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 5;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  box-sizing: border-box;
  padding: 2.5rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.45);
  color: #475467;
  font-size: 0.9375rem;
  text-align: center;
}

.mp-list-scroll.is-loading .mp-list-loading {
  display: flex;
}

.mp-list-loading[hidden] {
  display: none !important;
}

.mp-list-loading__spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(49, 106, 255, 0.18);
  border-top-color: #316AFF;
  border-radius: 50%;
  animation: mp-list-spin 0.75s linear infinite;
}

.mp-list-loading__text {
  line-height: 1.2;
  font-weight: 500;
  color: #344054;
}

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

.mp-media-card {
  background: #fff;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  padding: 1rem 1.15rem 0.95rem;
  box-shadow: 0 4px 4px rgba(16, 24, 40, 0.06);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.mp-media-card:hover {
  border-color: #316AFF;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.06);
}

.mp-media-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.mp-media-card__title-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
}

.mp-media-card__pick {
  flex: 0 0 auto;
  display: none;
  align-items: center;
  margin: 0;
  cursor: pointer;
}

.mp-media-card.is-picked {
  border-color: #316AFF;
  box-shadow: 0 0 0 1px rgba(49, 106, 255, 0.15), 0 4px 4px rgba(16, 24, 40, 0.06);
}

.mp-media-card.is-picked .mp-media-card__pick {
  display: inline-flex;
}

.mp-media-card__pick .form-check-input {
  margin: 0;
  cursor: pointer;
}

.mp-media-card__logo {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 23px;
}

.mp-media-card__logo--empty {
  display: inline-block;
  background: linear-gradient(135deg, #e8eef8, #f8fafc);
}

.mp-media-card__name-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}

.mp-media-card__name-wrap.is-recommend {
  padding-right: 1.15em;
  margin-right: 0.15rem;
}

.mp-media-card__name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-media-card__rec {
  position: absolute;
  top: -0.65em;
  right: -0.25rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1em;
  padding: 0.08rem 0.28rem;
  border-radius: 8px 0px;
  background: #ff3b30;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}

.mp-media-card__tags {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-left: 0rem;
}

.mp-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.70rem;
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
}

.mp-chip--media {
  background: #fff3e6;
  color: #e67a00;
}

.mp-chip--contact {
  gap: 0.25rem;
  font-weight: 600;
}

.mp-chip--contact .fi {
  font-size: 0.85em;
  line-height: 1;
}

.mp-chip--contact.is-yes {
  background: #e8f8ef;
  color: #15803d;
}

.mp-chip--contact.is-no {
  background: #fdecea;
  color: #c62828;
}

.mp-chip--feature {
  background: #e8f1ff;
  color: #2f6fed;
}

.mp-media-card__actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.mp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  height: 34px;
  padding: 0 0.85rem;
  border-radius: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.mp-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mp-btn--ghost {
  background: #fff;
  border-color: #d0d5dd;
  color: #344054;
}

.mp-btn--ghost:hover:not(:disabled) {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
}

.mp-btn-fav.is-active,
.mp-btn-fav.is-active:hover:not(:disabled) {
  border-color: #f5a524;
  color: #f5a524;
  background: #fff8eb;
}

.mp-btn-fav.is-active .fi {
  color: #f5a524;
}

.mp-btn--primary {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.mp-btn--primary:hover:not(:disabled) {
  filter: brightness(1.05);
  color: #fff;
}

.mp-media-card__body {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  padding-top: 0.85rem;
}

.mp-meta-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mp-meta__item {
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  min-width: 0;
}

.mp-meta__dot {
  flex: 0 0 auto;
  width: 3px;
  height: 3px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: #c4c9d2;
}

.mp-meta__label {
  flex: 0 0 auto;
  color: #667085;
}

.mp-meta__baidu-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.2rem;
  vertical-align: -2px;
  object-fit: contain;
}

.mp-meta__value {
  color: #344054;
  word-break: break-word;
  min-width: 0;
}

.mp-meta__price {
  color: #ff3b30;
  font-weight: 600;
}

.mp-meta__login {
  color: var(--bs-primary);
  font-weight: 500;
}

button.mp-meta-login-btn {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bs-primary);
  font: inherit;
  font-weight: 500;
  line-height: inherit;
  cursor: pointer;
  text-decoration: none;
}

button.mp-meta-login-btn:hover {
  text-decoration: underline;
}

.mp-weight-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 0.2rem;
  background: #2f6fed;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.mp-weight-badge--m {
  background: #12b76a;
}

.mp-meta__value .mp-weight-badge + .mp-weight-badge {
  margin-left: 0.15rem;
}

.mp-pager {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.65rem 0.15rem 0.15rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex: 0 0 auto;
}

.mp-pager__info {
  margin-right: auto;
  font-size: 0.8125rem;
  color: #667085;
  white-space: nowrap;
}

.mp-pager__length {
  flex: 0 0 auto;
}

.mp-pager__length-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.8125rem;
  color: #667085;
  white-space: nowrap;
  font-weight: 400;
}

.mp-pager__size {
  width: auto;
  min-width: 4.25rem;
  display: inline-block;
}

.mp-pager__paging {
  flex: 0 0 auto;
}

.mp-pager__paging .pagination {
  margin: 0;
  flex-wrap: wrap;
}

.mp-pager__paging .page-link {
  min-width: 2rem;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mp-pager__paging .page-link .fi {
  font-size: 0.75rem;
  line-height: 1;
}

.mp-pager__jump {
  flex: 0 0 auto;
}

.mp-pager__jump-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.8125rem;
  color: #667085;
  white-space: nowrap;
  font-weight: 400;
}

.mp-pager__jump-input {
  /* width: 3.25rem;
  min-width: 3.25rem; */
  text-align: center;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

.mp-top-toast-wrap {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1080;
  pointer-events: none;
}

.mp-top-toast {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 0.55rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
  pointer-events: auto;
}

.mp-top-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mp-top-toast--success {
  background: var(--bs-success-bg-subtle, #d1e7dd);
  color: var(--bs-success-text-emphasis, #0a3622);
}

.mp-top-toast--error {
  background: var(--bs-danger-bg-subtle, #f8d7da);
  color: var(--bs-danger-text-emphasis, #58151c);
}

@media (max-width: 991.98px) {
  body.bd-report-page:has(.mp-page) .bd-report-shell {
    padding-top: 0.5rem !important;
    padding-bottom: 1.25rem !important;
  }

  .mp-page__top .mp-filter-card {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 1199.98px) {
  .mp-media-card__body {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .mp-feed {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .mp-feed__viewport {
    width: 100%;
  }

  .mp-filter-row {
    flex-direction: column;
    gap: 0.35rem;
  }

  .mp-filter-label {
    flex-basis: auto;
  }

  .mp-search input {
    width: 100%;
    min-width: 0;
  }

  .mp-search {
    width: 100%;
  }

  .mp-media-card__head {
    align-items: flex-start;
  }

  .mp-media-card__actions {
    width: 100%;
  }

  .mp-media-card__actions .mp-btn--primary {
    margin-left: auto;
  }

  .mp-media-card__body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mp-pager {
    flex-direction: column;
    align-items: stretch;
  }

  .mp-pager__info {
    margin-right: 0;
  }

  .mp-pager__length,
  .mp-pager__paging,
  .mp-pager__jump {
    display: flex;
    justify-content: flex-end;
  }
}

@media (max-width: 479.98px) {
  .mp-media-card__body {
    grid-template-columns: 1fr;
  }
}

/* 投稿右侧滑块（宽度对齐品牌智库） */
.mp-post-offcanvas.offcanvas-end {
  width: min(800px, 100vw);
}

.mp-post-offcanvas .offcanvas-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 0;
}

.mp-post-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mp-post-steps__item {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  padding: 0.25rem 0.15rem;
  color: #98a2b3;
  font-size: 0.875rem;
  cursor: pointer;
  text-align: left;
}

.mp-post-steps__item.is-active,
.mp-post-steps__item.is-done {
  color: #316AFF;
}

.mp-post-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  flex: 0 0 auto;
}

.mp-post-steps__item.is-active .mp-post-steps__num {
  background: #316AFF;
  border-color: #316AFF;
  color: #fff;
}

.mp-post-steps__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.mp-post-steps__text {
  font-weight: 600;
  line-height: 1.35;
}

.mp-post-steps__count {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.3;
  color: #98a2b3;
}

.mp-post-steps__item.is-active .mp-post-steps__count,
.mp-post-steps__item.is-done .mp-post-steps__count {
  color: #667085;
}

.mp-post-steps__divider {
  flex: 1 1 auto;
  height: 1px;
  background: #eaecf0;
  min-width: 1.5rem;
}

.mp-post-pane {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-bottom: 13.5rem;
}

.mp-post-offcanvas__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem 1rem;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mp-post-fee {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  width: 100%;
  text-align: center;
}

.mp-post-fee__label {
  font-size: 0.875rem;
  color: #475467;
  font-weight: 500;
}

.mp-post-fee__value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ff3b30;
  line-height: 1.2;
}

.mp-post-fee__hint {
  flex: 0 0 100%;
  font-size: 0.75rem;
  color: #98a2b3;
  line-height: 1.3;
}

.mp-post-agree {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  color: #475467;
}

.mp-post-agree .form-check-input {
  margin-top: 0.2rem;
  cursor: pointer;
}

.mp-post-agree .form-check-label {
  display: inline;
  cursor: pointer;
}

.mp-post-notice-link {
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px dashed currentColor;
}

.mp-post-notice-link:hover {
  text-decoration: none;
}

.mp-post-confirm-modal { z-index: 1090; }
.mp-post-confirm-modal .modal-footer {
  justify-content: center;
}

.mp-post-offcanvas__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.mp-post-offcanvas__footer .btn,
.mp-post-offcanvas__actions .btn {
  min-width: 120px;
}

.mp-post-offcanvas__header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.mp-post-offcanvas__header-actions .btn-close {
  margin-left: 0;
}

.mp-post-balance {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0 0.55rem;
  border-radius: 0.375rem;
  color: #344054;
  font-size: 0.875rem;
  line-height: 1;
  white-space: nowrap;
}

.mp-post-balance .fi {
  font-size: 1rem;
  color: #316AFF;
  line-height: 1;
}

.mp-post-balance__amount {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.mp-post-balance__unit {
  color: #667085;
  font-size: 0.8125rem;
}

.mp-post-refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: #667085;
  cursor: pointer;
  line-height: 1;
}

.mp-post-refresh-btn:hover {
  color: #316AFF;
  background: rgba(49, 106, 255, 0.08);
}

.mp-post-refresh-btn .fi {
  font-size: 1rem;
  line-height: 1;
}

/* Popover title + Custom tooltips（CSS variables） */
.mp-post-notice-popover {
  --bs-popover-max-width: 560px;
  --bs-popover-border-color: rgba(49, 106, 255, 0.18);
  --bs-popover-header-bg: #f0f5ff;
  --bs-popover-header-color: #316AFF;
  --bs-popover-body-color: #344054;
  --bs-popover-body-padding-x: 1rem;
  --bs-popover-body-padding-y: 0.85rem;
  --bs-popover-header-padding-x: 1rem;
  --bs-popover-header-padding-y: 0.65rem;
  --bs-popover-border-radius: 0.5rem;
  --bs-popover-box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  z-index: 1100;
}

.mp-post-notice-popover .popover-header {
  font-weight: 600;
  border-bottom-color: rgba(49, 106, 255, 0.12);
}

.mp-post-notice-list {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.mp-post-notice-list li + li {
  margin-top: 0.35rem;
}

.mp-post-article-search {
  position: relative;
  flex: 0 1 14rem;
  width: 100%;
  max-width: 14rem;
  min-width: 8rem;
}

.mp-post-article-search .form-control {
  padding-right: 2rem;
}

.mp-post-article-search > i {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: #98a2b3;
  pointer-events: none;
  line-height: 1;
  font-size: 0.85rem;
}

.mp-post-article-create {
  display: inline;
  margin-left: 0.5rem;
  white-space: nowrap;
  font-size: inherit;
  color: #667085;
  text-decoration: none;
  line-height: inherit;
}

.mp-post-article-create:hover {
  color: #344054;
  text-decoration: underline;
}

.mp-post-article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0;
  margin-bottom: 0.5rem;
}

.mp-post-article-checkall {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  cursor: pointer;
  font-size: 0.875rem;
  color: #344054;
  user-select: none;
}

.mp-post-article-checkall .form-check-input {
  margin: 0;
  float: none;
  position: static;
}

.mp-post-article-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mp-post-article-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid #eaecf0;
  border-radius: 0.5rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mp-post-article-item.is-selected {
  border-color: #316AFF;
  box-shadow: 0 0 0 1px rgba(49, 106, 255, 0.15);
}

.mp-post-article-item.is-selected .mp-post-article-icon-btn {
  color: #316AFF;
}

.mp-post-article-item.is-selected .mp-post-article-icon-btn:hover {
  color: #316AFF;
  background: rgba(49, 106, 255, 0.08);
}

.mp-post-article-item__main {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
  flex: 1 1 auto;
  margin: 0;
  cursor: pointer;
}

.mp-post-article-item__main .form-check-input {
  margin: 0.2rem 0 0;
  float: none;
  position: static;
  flex: 0 0 auto;
  display: none;
}

.mp-post-article-item.is-selected .form-check-input {
  display: inline-block;
}

.mp-post-article-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.mp-post-article-item__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #344054;
  line-height: 1.35;
  word-break: break-word;
}

.mp-post-article-item__meta {
  font-size: 0.75rem;
}

.mp-post-article-item__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.15rem;
  flex: 0 0 auto;
}

.mp-post-article-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: #667085;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.mp-post-article-icon-btn:hover {
  color: #316AFF;
  background: rgba(49, 106, 255, 0.08);
}

.mp-post-article-icon-btn .fi {
  font-size: 1rem;
  line-height: 1;
}

.mp-post-media-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mp-post-media-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid #eaecf0;
  border-radius: 0.5rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mp-post-media-item.is-selected {
  border-color: #316AFF;
  box-shadow: 0 0 0 1px rgba(49, 106, 255, 0.15);
}

.mp-post-media-item .form-check-input {
  margin: 0;
  float: none;
  position: static;
  flex: 0 0 auto;
  display: none;
}

.mp-post-media-item.is-selected .form-check-input {
  display: inline-block;
}

.mp-post-media-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 36px;
  background: #f2f4f7;
}

.mp-post-media-item__icon--empty {
  display: inline-block;
  background: linear-gradient(135deg, #eef2f8, #f8fafc);
  border: 1px solid #eaecf0;
}

.mp-post-media-item__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
  gap: 0.15rem;
}

.mp-post-media-item__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #344054;
  line-height: 1.35;
  word-break: break-word;
}

.mp-post-media-item__meta {
  display: block;
  margin-top: 0;
}

.mp-post-media-item__remark {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 0.1rem;
  line-height: 1.4;
  word-break: break-word;
}

.mp-article-preview-body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #344054;
  word-break: break-word;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mp-article-preview-body img {
  max-width: 100%;
  height: auto;
}

.mp-article-preview-body p {
  margin-bottom: 0.85rem;
}

.mp-article-preview-body ul,
.mp-article-preview-body ol {
  margin-bottom: 0.85rem;
  padding-left: 1.4em;
}

.mp-article-preview-body table {
  width: 100% !important;
  max-width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
  border: 1px solid #e4e7ec;
  font-size: 0.875rem;
  line-height: 1.55;
  background: #fff;
}

.mp-article-preview-body th,
.mp-article-preview-body td {
  border: 1px solid #e4e7ec !important;
  padding: 0.55rem 0.75rem;
  vertical-align: top;
  word-break: break-word;
}

.mp-article-preview-body th,
.mp-article-preview-body tr:first-child td {
  background: #f8fafc;
  font-weight: 600;
  color: #1d2939;
}

@media (max-width: 575.98px) {
  .mp-post-article-item {
    flex-direction: column;
  }

  .mp-post-article-item__actions {
    width: 100%;
    justify-content: flex-end;
  }

  .mp-post-media-item {
    flex-wrap: wrap;
  }
}


.form-check{
  padding-left: 0 !important;
}