/**
 * ======== sanxio ?? Premium ?? start ===========
 * ??????? / ?? / ?? / ?? ? MD3 + ?????
 */

/* ---------- ????????---------- */
body.sx-moment-premium-page {
  background: var(--md3-color-surface-container-low, #f3f5f9);
}

.sx-moment-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--sanxio-content-gap, 12px) var(--sanxio-block-px, 12px) var(--sanxio-block-px, 20px);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .sx-moment-page {
    padding-left: var(--sanxio-block-px, 20px);
    padding-right: var(--sanxio-block-px, 20px);
  }
}

.sx-moment-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 var(--sanxio-content-gap, 12px);
  font-size: var(--text-sm, 13px);
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-path a {
  color: var(--md3-color-primary, #005fb8);
  text-decoration: none;
}

.sx-moment-path a:hover {
  text-decoration: underline;
}

.sx-moment-path__action {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 8px;
  border-radius: var(--md3-shape-full, 9999px);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  background: var(--md3-color-surface, #fff);
  font-size: 12px;
  color: var(--md3-color-on-surface-variant, #43474e) !important;
  text-decoration: none !important;
}

.sx-moment-path__action .material-symbols-outlined {
  font-size: 16px;
}

.sx-moment-path__action:hover {
  border-color: var(--md3-color-primary, #005fb8);
  color: var(--md3-color-primary, #005fb8) !important;
}

.sx-moment-vip {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  min-height: 18px;
  border-radius: var(--md3-shape-full, 9999px);
  background: color-mix(in srgb, var(--md3-color-tertiary, #7d5260) 16%, transparent);
  color: var(--md3-color-tertiary, #7d5260);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* ---------- ???? ---------- */
.sx-moment-index-strip {
  margin-bottom: var(--sanxio-content-gap, 12px);
}

.sx-moment-index-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sanxio-gap-md, 12px);
  padding: var(--sanxio-card-py, 16px) var(--sanxio-card-px, 16px);
  background: linear-gradient(120deg, var(--md3-color-primary-container, #d0e8ff), var(--md3-color-surface, #fff) 55%);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  border-radius: var(--md3-shape-lg, 16px);
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.08);
}

.sx-moment-index-strip__brand {
  display: flex;
  align-items: center;
  gap: var(--sanxio-gap-md, 12px);
  min-width: 0;
}

.sx-moment-index-strip__brand > .material-symbols-outlined {
  font-size: 40px;
  color: var(--md3-color-primary, #005fb8);
}

.sx-moment-index-strip__title {
  margin: 0;
  font-size: var(--text-xl, 20px);
  font-weight: 700;
  color: var(--md3-color-on-surface, #1a1c1e);
}

.sx-moment-index-strip__sub {
  margin: 4px 0 0;
  font-size: var(--text-sm, 12px);
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-index-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sanxio-gap-sm, 8px);
}

.sx-moment-index-strip__btn {
  min-height: 40px;
  border-radius: var(--md3-shape-full, 9999px);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------- ??????---------- */
.sx-moment-section {
  margin-bottom: var(--sanxio-content-gap, 12px);
}

.sx-moment-card {
  background: var(--md3-color-surface, #fff);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  border-radius: var(--md3-shape-md, 12px);
  padding: var(--sanxio-card-py, 16px) var(--sanxio-card-px, 16px);
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.sx-moment-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sanxio-gap-sm, 8px);
  margin: 0 0 var(--sanxio-content-gap, 12px);
  padding-bottom: var(--sanxio-gap-sm, 8px);
  border-bottom: 2px solid var(--md3-color-primary, #005fb8);
}

.sx-moment-card__title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-md, 16px);
  font-weight: 700;
  color: var(--md3-color-on-surface, #1a1c1e);
}

.sx-moment-card__title .material-symbols-outlined {
  font-size: 22px;
  color: var(--md3-color-primary, #005fb8);
}

.sx-moment-card__more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: var(--text-sm, 13px);
  color: var(--md3-color-primary, #005fb8);
  text-decoration: none;
  white-space: nowrap;
}

.sx-moment-card__more:hover {
  text-decoration: underline;
}

/* ---------- ??????????home offer card??---------- */
.sx-moment-offer-grid,
.sx-moment-demand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sanxio-gap-md, 12px);
}

@media (min-width: 600px) {
  .sx-moment-offer-grid,
.sx-moment-demand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .sx-moment-offer-grid,
.sx-moment-demand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- ????????+ ?? ---------- */
.sx-moment-index-layout {
  display: grid;
  gap: var(--sanxio-content-gap, 12px);
}

@media (min-width: 992px) {
  .sx-moment-index-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}

.sx-moment-index-main,
.sx-moment-index-aside {
  display: flex;
  flex-direction: column;
  gap: var(--sanxio-content-gap, 12px);
  min-width: 0;
}

/* ---------- ???? ---------- */
.sx-moment-catalog {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sanxio-gap-md, 12px);
}

@media (min-width: 768px) {
  .sx-moment-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sx-moment-catalog__group {
  margin: 0;
  padding: var(--sanxio-gap-md, 12px);
  background: var(--md3-color-surface-container-low, #f3f5f9);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  border-radius: var(--md3-shape-sm, 8px);
}

.sx-moment-catalog__parent {
  display: inline-block;
  margin-bottom: 8px;
  font-size: var(--text-md, 14px);
  font-weight: 700;
  color: var(--md3-color-primary, #005fb8);
  text-decoration: none;
}

.sx-moment-catalog__parent:hover {
  text-decoration: underline;
}

.sx-moment-catalog__subs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sx-moment-catalog__subs a {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--md3-shape-full, 9999px);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  background: var(--md3-color-surface, #fff);
  font-size: var(--text-sm, 12px);
  color: var(--md3-color-on-surface, #1a1c1e);
  text-decoration: none;
}

.sx-moment-catalog__subs a:hover {
  border-color: var(--md3-color-primary, #005fb8);
  color: var(--md3-color-primary, #005fb8);
}

/* ---------- ?????? ---------- */
.sx-moment-area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 600px) {
  .sx-moment-area-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .sx-moment-area-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.sx-moment-area-grid a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--md3-shape-sm, 8px);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  background: var(--md3-color-surface-container-low, #f3f5f9);
  color: var(--md3-color-on-surface, #1a1c1e);
  font-size: var(--text-sm, 13px);
  text-decoration: none;
  line-height: 1.3;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.sx-moment-area-grid a:hover {
  border-color: var(--md3-color-primary, #005fb8);
  background: var(--md3-color-primary-container, #d0e8ff);
  color: var(--md3-color-on-primary-container, #001d35);
}

/* ---------- ???? / ?? ---------- */
.sx-moment-text-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sx-moment-text-list__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--md3-color-outline-variant, #c3c6cf);
}

.sx-moment-text-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sx-moment-text-list__item:first-child {
  padding-top: 0;
}

.sx-moment-text-list__link {
  flex: 1;
  min-width: 0;
  color: var(--md3-color-on-surface, #1a1c1e);
  text-decoration: none;
  font-size: var(--text-sm, 13px);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sx-moment-text-list__link:hover {
  color: var(--md3-color-primary, #005fb8);
}

.sx-moment-text-list__time {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.sx-moment-rank-list__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--md3-color-outline-variant, #c3c6cf);
}

.sx-moment-rank-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sx-moment-rank-list__n {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: var(--md3-shape-full, 9999px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: var(--md3-color-surface-container-high, #e7e9ed);
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-rank-list__item.is-top .sx-moment-rank-list__n {
  background: var(--md3-color-primary, #005fb8);
  color: var(--md3-color-on-primary, #fff);
}

.sx-moment-rank-list__link {
  flex: 1;
  min-width: 0;
  font-size: var(--text-sm, 13px);
  color: var(--md3-color-on-surface, #1a1c1e);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sx-moment-rank-list__link:hover {
  color: var(--md3-color-primary, #005fb8);
}

.sx-moment-rank-list__hits {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--md3-color-on-surface-variant, #43474e);
}

/* ---------- ?? / ???? ---------- */
.sx-moment-list-page .sx-moment-layout {
  display: grid;
  gap: var(--sanxio-content-gap, 12px);
}

@media (min-width: 992px) {
  .sx-moment-list-page .sx-moment-layout {
    grid-template-columns: 260px minmax(0, 1fr) 240px;
    align-items: start;
  }
}

@media (max-width: 991px) {
  .sx-moment-list-page .sx-moment-filters,
  .sx-moment-list-page .sx-moment-aside {
    grid-column: 1 / -1;
  }
}

.sx-moment-filter-card,
.sx-moment-aside-card,
.sx-moment-main-card {
  background: var(--md3-color-surface, #fff);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  border-radius: var(--md3-shape-md, 12px);
  padding: var(--sanxio-card-py, 12px) var(--sanxio-card-px, 12px);
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.sx-moment-filter-card__title,
.sx-moment-aside-card__title {
  margin: 0 0 var(--sanxio-gap-sm, 8px);
  font-size: var(--text-md, 14px);
  font-weight: 700;
  color: var(--md3-color-on-surface, #1a1c1e);
  padding-bottom: var(--sanxio-gap-sm, 8px);
  border-bottom: 2px solid var(--md3-color-primary, #005fb8);
}

.sx-moment-aside-card--gap {
  margin-bottom: var(--sanxio-content-gap, 12px);
}

.sx-moment-aside-card__title + .sx-moment-rank-list {
  margin-bottom: 0;
}

.sx-moment-aside-card__title.is-follow {
  margin-top: var(--sanxio-content-gap, 12px);
}

body.sx-moment-premium-page .sx-moment-list-page .sort-f {
  border: none;
  background: transparent;
  padding: 0;
}

body.sx-moment-premium-page .sx-moment-list-page .sort {
  margin-bottom: var(--sanxio-content-gap, 12px);
  border: none;
}

body.sx-moment-premium-page .sx-moment-list-page .sort-k {
  font-size: var(--text-sm, 12px);
  font-weight: 600;
  color: var(--md3-color-on-surface-variant, #43474e);
  margin-bottom: 6px;
}

body.sx-moment-premium-page .sx-moment-list-page .sort-v ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.sx-moment-premium-page .sx-moment-list-page .sort-v li {
  margin: 0;
}

body.sx-moment-premium-page .sx-moment-list-page .sort-v a {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--md3-shape-full, 9999px);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  font-size: var(--text-sm, 12px);
  text-decoration: none;
  color: var(--md3-color-on-surface, #1a1c1e);
  background: var(--md3-color-surface-container-low, #f3f5f9);
}

body.sx-moment-premium-page .sx-moment-list-page .sort-v li.on a {
  background: var(--md3-color-primary, #005fb8);
  color: var(--md3-color-on-primary, #fff);
  border-color: var(--md3-color-primary, #005fb8);
}

/* ---------- ??????---------- */
.sx-moment-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sanxio-gap-sm, 8px);
  margin-bottom: var(--sanxio-content-gap, 12px);
  padding-bottom: var(--sanxio-gap-sm, 8px);
  border-bottom: 1px solid var(--md3-color-outline-variant, #c3c6cf);
}

.sx-moment-toolbar__check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm, 13px);
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-toolbar__views {
  margin-left: auto;
  display: inline-flex;
  gap: 4px;
}

.sx-moment-toolbar__view {
  width: 36px;
  height: 36px;
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  border-radius: var(--md3-shape-full, 9999px);
  background: var(--md3-color-surface-container-low, #f3f5f9);
  color: var(--md3-color-on-surface-variant, #43474e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.sx-moment-toolbar__view.is-on,
.sx-moment-toolbar__view:hover {
  background: var(--md3-color-primary-container, #d0e8ff);
  color: var(--md3-color-primary, #005fb8);
  border-color: var(--md3-color-primary, #005fb8);
}

.sx-moment-tip {
  display: none;
  margin-bottom: var(--sanxio-gap-md, 12px);
  padding: var(--sanxio-gap-md, 12px);
  border-radius: var(--md3-shape-sm, 8px);
  background: var(--md3-color-primary-container, #d0e8ff);
  color: var(--md3-color-on-primary-container, #001d35);
  font-size: var(--text-sm, 13px);
}

.sx-moment-tip.is-show {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* ---------- ??????????---------- */
.sx-moment-item {
  display: grid;
  grid-template-columns: auto 88px minmax(0, 1fr) auto;
  gap: var(--sanxio-gap-md, 12px);
  align-items: center;
  padding: var(--sanxio-gap-md, 12px) 0;
  border-bottom: 1px solid var(--md3-color-outline-variant, #c3c6cf);
}

.sx-moment-item:last-child {
  border-bottom: none;
}

@media (max-width: 767px) {
  .sx-moment-item {
    grid-template-columns: auto 72px minmax(0, 1fr);
  }
  .sx-moment-item__aside {
    grid-column: 2 / -1;
  }
}

.sx-moment-item__check input {
  width: 18px;
  height: 18px;
  accent-color: var(--md3-color-primary, #005fb8);
}

.sx-moment-item__thumb {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: var(--md3-shape-sm, 8px);
  overflow: hidden;
  background: var(--md3-color-surface-container, #e9ecf1);
}

@media (max-width: 767px) {
  .sx-moment-item__thumb {
    width: 72px;
    height: 72px;
  }
}

.sx-moment-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sx-moment-item__title {
  margin: 0 0 6px;
  font-size: var(--text-md, 14px);
  font-weight: 600;
  line-height: 1.35;
}

.sx-moment-item__title a {
  color: var(--md3-color-on-surface, #1a1c1e);
  text-decoration: none;
}

.sx-moment-item__title a:hover {
  color: var(--md3-color-primary, #005fb8);
}

.sx-moment-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-item__meta a {
  color: inherit;
  text-decoration: none;
}

.sx-moment-item__aside {
  text-align: right;
  min-width: 110px;
}

.sx-moment-item__price {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--md3-color-error, #b3261e);
}

.sx-moment-item__price.is-nego {
  font-size: 13px;
  font-weight: 500;
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-item__moq {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--md3-color-on-surface-variant, #43474e);
}

/* ---------- ?????? ---------- */
.sx-moment-img-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sanxio-gap-md, 12px);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 600px) {
  .sx-moment-img-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .sx-moment-img-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.sx-moment-img-card {
  position: relative;
  margin: 0;
  background: var(--md3-color-surface-container-low, #f3f5f9);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  border-radius: var(--md3-shape-sm, 8px);
  overflow: hidden;
}

.sx-moment-img-card__check {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  padding: 2px;
}

.sx-moment-img-card__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.sx-moment-img-card__media {
  aspect-ratio: 1;
  background: var(--md3-color-surface-container, #e9ecf1);
}

.sx-moment-img-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sx-moment-img-card__body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sx-moment-img-card__title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sx-moment-img-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--md3-color-error, #b3261e);
}

.sx-moment-img-card__price.is-nego {
  font-weight: 500;
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-img-card__company {
  font-size: 12px;
  color: var(--md3-color-on-surface-variant, #43474e);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- ???? ---------- */
.sx-moment-inquiry-page .sx-moment-inquiry {
  max-width: 840px;
  margin: 0 auto;
}

.sx-moment-inquiry__form {
  display: flex;
  flex-direction: column;
  gap: var(--sanxio-content-gap, 12px);
}

.sx-moment-inquiry__field {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

@media (max-width: 767px) {
  .sx-moment-inquiry__field {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.sx-moment-inquiry__label {
  padding-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-req {
  color: var(--md3-color-error, #b3261e);
}

.sx-moment-inquiry__control {
  min-width: 0;
}

.sx-moment-inquiry__input,
.sx-moment-inquiry__textarea,
.sx-moment-inquiry__select {
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  border-radius: var(--md3-shape-sm, 8px);
  background: var(--md3-color-surface, #fff);
  color: var(--md3-color-on-surface, #1a1c1e);
  font: inherit;
}

.sx-moment-inquiry__input,
.sx-moment-inquiry__select {
  height: 40px;
  padding: 0 12px;
}

.sx-moment-inquiry__textarea {
  padding: 10px 12px;
  min-height: 140px;
  resize: vertical;
}

.sx-moment-inquiry__hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-inquiry__err {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--md3-color-error, #b3261e);
}

.sx-moment-inquiry__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sx-moment-inquiry__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: var(--md3-shape-full, 9999px);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  background: var(--md3-color-surface-container-low, #f3f5f9);
  font-size: 12px;
  cursor: pointer;
}

.sx-moment-inquiry__products {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sx-moment-inquiry__products a {
  color: var(--md3-color-primary, #005fb8);
  text-decoration: none;
  font-weight: 600;
}

.sx-moment-inquiry__inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sx-moment-inquiry__divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0;
  padding: 12px 0;
  border-top: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  border-bottom: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  font-size: 14px;
  color: var(--md3-color-on-surface, #1a1c1e);
}

.sx-moment-inquiry__divider a {
  color: var(--md3-color-primary, #005fb8);
  text-decoration: none;
}

.sx-moment-inquiry__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.sx-moment-inquiry__limit {
  margin: 0;
  font-size: 13px;
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-inquiry__limit strong {
  color: var(--md3-color-primary, #005fb8);
}

/* ---------- ????????????? ---------- */
.sx-moment-adv-page .sx-moment-adv-layout {
  display: grid;
  gap: var(--sanxio-content-gap, 12px);
}

@media (min-width: 992px) {
  .sx-moment-adv-page .sx-moment-adv-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
  }
}

.sx-moment-adv__lead {
  margin: 0 0 var(--sanxio-content-gap, 16px);
  font-size: var(--text-sm, 13px);
  line-height: 1.5;
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-adv-form {
  display: flex;
  flex-direction: column;
  gap: var(--sanxio-content-gap, 16px);
}

.sx-moment-adv-form__grid {
  display: grid;
  gap: var(--sanxio-content-gap, 16px);
}

@media (min-width: 768px) {
  .sx-moment-adv-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sx-moment-adv-form__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

@media (max-width: 767px) {
  .sx-moment-adv-form__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.sx-moment-adv-form__label {
  padding-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-adv-form__control {
  min-width: 0;
}

.sx-moment-adv-form__input {
  width: 100%;
  max-width: 520px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  border-radius: var(--md3-shape-sm, 8px);
  background: var(--md3-color-surface, #fff);
  color: var(--md3-color-on-surface, #1a1c1e);
  font: inherit;
  box-sizing: border-box;
}

.sx-moment-adv-form__input:focus {
  outline: none;
  border-color: var(--md3-color-primary, #005fb8);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--md3-color-primary, #005fb8) 18%, transparent);
}

.sx-moment-adv-form__input--sm {
  max-width: 120px;
}

.sx-moment-adv-form__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sx-moment-adv-form__chips--mt {
  margin-top: 10px;
}

.sx-moment-adv-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  cursor: pointer;
}

.sx-moment-adv-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.sx-moment-adv-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--md3-shape-full, 9999px);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  background: var(--md3-color-surface-container-low, #f3f5f9);
  color: var(--md3-color-on-surface, #1a1c1e);
  font-size: 13px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sx-moment-adv-chip input:checked + span {
  background: var(--md3-color-primary, #005fb8);
  border-color: var(--md3-color-primary, #005fb8);
  color: var(--md3-color-on-primary, #fff);
}

.sx-moment-adv-chip:hover span {
  border-color: var(--md3-color-primary, #005fb8);
}

.sx-moment-adv-form__inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sx-moment-adv-form__sep {
  color: var(--md3-color-on-surface-variant, #43474e);
  font-size: 13px;
}

.sx-moment-adv-form__selects select,
.sx-moment-adv-form__inline input[type="text"] {
  min-height: 40px;
  min-width: 160px;
  padding: 0 10px;
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  border-radius: var(--md3-shape-sm, 8px);
  background: var(--md3-color-surface, #fff);
  color: var(--md3-color-on-surface, #1a1c1e);
  font: inherit;
  box-sizing: border-box;
}

.sx-moment-adv-form__selects select {
  width: 100%;
  max-width: 320px;
  min-width: 200px;
}

.sx-moment-adv-form__selects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* ---------- ????????sanxio-dp??---------- */
.sx-moment-date-range.sanxio-date-range {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  min-height: 44px;
  height: auto;
  padding: 4px 12px;
  border-radius: var(--md3-shape-sm, 8px);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  background: var(--md3-color-surface, #fff);
  box-sizing: border-box;
}

.sx-moment-date-range.sanxio-date-range:focus-within {
  border-color: var(--md3-color-primary, #005fb8);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--md3-color-primary, #005fb8) 18%, transparent);
}

.sx-moment-date-range .sanxio-date-icon {
  font-size: 20px;
  color: var(--md3-color-primary, #005fb8);
  flex: 0 0 auto;
}

.sx-moment-date-range .sanxio-order-search-dates {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.sx-moment-date-range .sanxio-order-search-date-input,
.sx-moment-date-range .sx-moment-date-input,
.sx-moment-date-range input[type="text"] {
  flex: 1;
  min-width: 96px !important;
  width: auto !important;
  height: 36px !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 4px !important;
  font-size: 13px !important;
  color: var(--md3-color-on-surface, #1a1c1e);
  cursor: pointer;
}

.sx-moment-date-range .sanxio-order-search-sep {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-date-range--single {
  max-width: 220px;
}

.sx-moment-inquiry__control .sx-moment-date-range {
  margin-bottom: 4px;
}

/* ??dcalendar ????????*/
.sx-moment-adv-form__inline input[type="text"] {
  width: 140px !important;
  min-width: 140px;
}

.sx-moment-adv-form__inline img {
  position: static !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  cursor: pointer;
  flex: 0 0 auto;
}

.sx-moment-hot-block {
  min-height: 28px;
}

.sx-moment-hot-block:not(:has(li))::after {
  content: attr(data-empty);
  display: block;
  padding: 8px 0 4px;
  font-size: 12px;
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-adv-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.sx-moment-adv-form__submit {
  min-height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sx-moment-adv-aside__hint {
  margin: var(--sanxio-content-gap, 12px) 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--md3-color-on-surface-variant, #43474e);
}

/* ????sf ??????????chip ?????? */
.sx-moment-adv-form .sf {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.sx-moment-adv-form .sf-k {
  padding-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-adv-form .sf-v {
  min-width: 0;
}

.sx-moment-adv-form .kw {
  width: 100%;
  max-width: 520px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  border-radius: var(--md3-shape-sm, 8px);
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .sx-moment-adv-form .sf {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/**
 * ======== sanxio ?? Premium ?? end ===========
 */

/* ---------- ???????????? ---------- */
.sx-moment-item {
  grid-template-columns: 88px minmax(0, 1fr) auto;
}
@media (max-width: 767px) {
  .sx-moment-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .sx-moment-item__aside {
    grid-column: 1 / -1;
    text-align: left;
  }
}
.sx-moment-item__intro {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 6px;
  font-size: var(--text-sm, 12px);
  line-height: 1.45;
  color: var(--md3-color-on-surface-variant, #43474e);
}

/* ---------- ???????? + ??? ---------- */
.sx-moment-hero-row {
  display: grid;
  gap: var(--sanxio-content-gap, 12px);
  margin-bottom: var(--sanxio-content-gap, 12px);
}

@media (min-width: 768px) {
  .sx-moment-hero-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.sx-moment-hero {
  min-width: 0;
  border-radius: var(--md3-shape-md, 12px);
  overflow: hidden;
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  background: var(--md3-color-surface, #fff);
}

.sx-moment-hero .slide,
.sx-moment-hero .slide a,
.sx-moment-hero .slide img {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  object-fit: cover;
}

.sx-moment-headline-panel {
  display: flex;
  flex-direction: column;
  gap: var(--sanxio-gap-sm, 8px);
  min-width: 0;
  padding: var(--sanxio-card-py, 12px) var(--sanxio-card-px, 12px);
  background: var(--md3-color-surface, #fff);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  border-radius: var(--md3-shape-md, 12px);
  box-sizing: border-box;
}

.sx-moment-headline-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sx-moment-headline-list__item {
  margin: 0 0 8px;
  padding: 0 0 8px;
  border-bottom: 1px dashed var(--md3-color-outline-variant, #c3c6cf);
}

.sx-moment-headline-list__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sx-moment-headline-list__link {
  display: block;
  font-size: var(--text-md, 15px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--md3-color-on-surface, #1a1c1e);
  text-decoration: none;
}

.sx-moment-headline-list__link:hover {
  color: var(--md3-color-primary, #005fb8);
}

.sx-moment-headline-list__item.is-featured .sx-moment-headline-list__link {
  font-size: var(--text-lg, 18px);
  font-weight: 700;
}

.sx-moment-cat-block {
  margin-bottom: var(--sanxio-content-gap, 12px);
}

.sx-moment-cat-block:last-child {
  margin-bottom: 0;
}

.sx-moment-item:not(:has(.sx-moment-item__thumb)) {
  grid-template-columns: minmax(0, 1fr);
}

.sx-moment-show-layout {
  display: grid;
  gap: var(--sanxio-content-gap, 12px);
}

@media (min-width: 992px) {
  .sx-moment-show-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}

.sx-moment-show__title {
  margin: 0 0 var(--sanxio-gap-sm, 8px);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  line-height: 1.35;
  color: var(--md3-color-on-surface, #1a1c1e);
}

.sx-moment-show__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: var(--sanxio-content-gap, 12px);
  font-size: var(--text-sm, 13px);
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-show__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sx-moment-show__meta-item .material-symbols-outlined {
  font-size: 18px;
}

.sx-moment-show__font-tools {
  margin-left: auto;
  display: inline-flex;
  gap: 4px;
}

.sx-moment-show__lead {
  margin: 0 0 var(--sanxio-content-gap, 12px);
  padding: var(--sanxio-gap-sm, 8px) var(--sanxio-gap-md, 12px);
  border-radius: var(--md3-shape-sm, 8px);
  background: var(--md3-color-primary-container, #d0e8ff);
  color: var(--md3-color-on-primary-container, #001d35);
  font-size: var(--text-sm, 13px);
  line-height: 1.5;
}

.sx-moment-show__content {
  font-size: var(--text-md, 15px);
  line-height: 1.75;
  color: var(--md3-color-on-surface, #1a1c1e);
  word-break: break-word;
}

.sx-moment-show__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: var(--sanxio-content-gap, 12px) 0;
}

.sx-moment-show-aside {
  display: flex;
  flex-direction: column;
  gap: var(--sanxio-content-gap, 12px);
  min-width: 0;
}

/* ---------- 商圈首页：用户区 + 统计 ---------- */
.sx-moment-user-card {
  display: flex;
  flex-direction: column;
  gap: var(--sanxio-gap-md, 12px);
}

.sx-moment-user-card__top {
  display: flex;
  align-items: center;
  gap: var(--sanxio-gap-md, 12px);
}

.sx-moment-user-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--md3-shape-md, 12px);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--md3-color-surface-container-high, #e7e9ed);
}

.sx-moment-user-card__greet {
  margin: 0;
  font-size: var(--text-md, 15px);
  font-weight: 600;
  color: var(--md3-color-on-surface, #1a1c1e);
}

.sx-moment-user-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--text-sm, 13px);
}

.sx-moment-user-card__links a {
  color: var(--md3-color-primary, #005fb8);
  text-decoration: none;
  font-weight: 600;
}

.sx-moment-user-card__links a:hover {
  text-decoration: underline;
}

.sx-moment-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sanxio-gap-sm, 8px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sx-moment-stats li {
  text-align: center;
  padding: var(--sanxio-gap-sm, 8px);
  border-radius: var(--md3-shape-sm, 8px);
  background: var(--md3-color-surface-container-low, #f3f5f9);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
}

.sx-moment-stats li strong {
  display: block;
  font-size: var(--text-lg, 18px);
  font-weight: 700;
  color: var(--md3-color-primary, #005fb8);
}

.sx-moment-stats li span {
  display: block;
  font-size: 11px;
  color: var(--md3-color-on-surface-variant, #43474e);
}

/* ---------- 商圈：分组卡片网格 ---------- */
.sx-moment-group-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--sanxio-gap-md, 12px);
}

@media (min-width: 600px) {
  .sx-moment-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sx-moment-group-card {
  display: flex;
  gap: var(--sanxio-gap-md, 12px);
  padding: var(--sanxio-gap-md, 12px);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  border-radius: var(--md3-shape-md, 12px);
  background: var(--md3-color-surface-container-low, #f3f5f9);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sx-moment-group-card:hover {
  border-color: var(--md3-color-primary, #005fb8);
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.08);
}

.sx-moment-group-card__thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--md3-shape-md, 12px);
}

.sx-moment-group-card__body {
  flex: 1;
  min-width: 0;
}

.sx-moment-group-card__title {
  margin: 0 0 4px;
  font-size: var(--text-sm, 14px);
  font-weight: 700;
}

.sx-moment-group-card__title a {
  color: var(--md3-color-on-surface, #1a1c1e);
  text-decoration: none;
}

.sx-moment-group-card__meta {
  margin: 0;
  font-size: 12px;
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-premium-page a.md3-btn-filled,
.sx-moment-premium-page button.md3-btn-filled,
.sx-moment-premium-page a.md3-btn--filled,
.sx-moment-premium-page button.md3-btn--filled {
  background: var(--md3-color-primary, #005fb8);
  color: var(--md3-color-on-primary, #ffffff);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.sx-moment-premium-page a.md3-btn-filled:hover,
.sx-moment-premium-page button.md3-btn-filled:hover,
.sx-moment-premium-page a.md3-btn--filled:hover,
.sx-moment-premium-page button.md3-btn--filled:hover {
  background: color-mix(in srgb, var(--md3-color-primary, #005fb8) 90%, #000);
  color: var(--md3-color-on-primary, #ffffff);
}

.sx-moment-premium-page a.md3-btn-outlined,
.sx-moment-premium-page button.md3-btn-outlined,
.sx-moment-premium-page a.md3-btn--outlined,
.sx-moment-premium-page button.md3-btn--outlined {
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  background: var(--md3-color-surface, #fff);
  color: var(--md3-color-on-surface-variant, #43474e);
}

.sx-moment-premium-page a.md3-btn-outlined:hover,
.sx-moment-premium-page button.md3-btn-outlined:hover,
.sx-moment-premium-page a.md3-btn--outlined:hover,
.sx-moment-premium-page button.md3-btn--outlined:hover {
  border-color: var(--md3-color-primary, #005fb8);
  background: var(--md3-color-primary-container, #d0e8ff);
  color: var(--md3-color-primary, #005fb8);
}

.sx-moment-premium-page .md3-btn-filled .material-symbols-outlined,
.sx-moment-premium-page .md3-btn--filled .material-symbols-outlined,
.sx-moment-premium-page .md3-btn-outlined .material-symbols-outlined,
.sx-moment-premium-page .md3-btn--outlined .material-symbols-outlined {
  color: inherit;
}

.sx-moment-table-wrap {
  overflow-x: auto;
}

.sx-moment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm, 13px);
}

.sx-moment-table th,
.sx-moment-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  text-align: left;
  vertical-align: top;
}

.sx-moment-table th {
  font-weight: 600;
  color: var(--md3-color-on-surface-variant, #43474e);
  background: var(--md3-color-surface-container-low, #f3f5f9);
}

.sx-moment-table .avatar {
  border-radius: var(--md3-shape-sm, 8px);
}

/* ---------- 动态：三栏首页 ---------- */
.sx-moment-index-layout {
  display: grid;
  gap: var(--sanxio-content-gap, 12px);
}

@media (min-width: 992px) {
  .sx-moment-index-layout {
    grid-template-columns: 260px minmax(0, 1fr) 280px;
    align-items: start;
  }
}

.sx-moment-sidebar,
.sx-moment-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sanxio-content-gap, 12px);
}

.sx-moment-feed {
  min-width: 0;
}

/* 动态流：Tab + 列表同一 sx-moment-card，与侧栏卡片对齐 */
.sx-moment-feed-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sx-moment-feed-card .sx-moment-feed__stream {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 var(--sanxio-card-px, 16px) var(--sanxio-card-py, 16px);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .sx-moment-feed-card .sx-moment-feed__stream {
    padding: 0 var(--sanxio-card-px, 20px) var(--sanxio-card-py, 20px);
  }
}

/* 覆盖 skin/mobile/moment.css 的 .mm-type 固定高度（非 Tab 区域若仍带 mm-type） */
body.sx-moment-premium-page .mm-type {
  height: auto;
  line-height: normal;
}

.sx-moment-feed-card .sx-moment-feed__tabs.md3-tabs--pills {
  margin: 0;
  padding: var(--sanxio-card-py, 16px) var(--sanxio-card-px, 16px);
  border-bottom: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  gap: var(--sanxio-gap-sm, 8px);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .sx-moment-feed-card .sx-moment-feed__tabs.md3-tabs--pills {
    padding: var(--sanxio-card-py, 20px) var(--sanxio-card-px, 20px);
  }
}

.sx-moment-feed-card .sx-moment-feed__tabs.md3-tabs--scrollable {
  flex-wrap: nowrap;
}

.sx-moment-feed-card .md3-tabs--pills .md3-tabs__tab {
  height: 36px;
  min-height: 36px;
  padding: 0 1rem;
  font-size: var(--text-sm, 14px);
  font-weight: 600;
}

@media (min-width: 768px) {
  .sx-moment-feed-card .md3-tabs--pills .md3-tabs__tab {
    height: 38px;
    min-height: 38px;
    padding: 0 1.125rem;
  }
}

/* ---------- 动态列表（单卡内平铺，与 sx-space-main 一致） ---------- */
.sx-moment-feed-card .list-moment {
  border: none;
  border-bottom: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: var(--sanxio-content-gap, 12px) 0;
  background: transparent;
}

@media (min-width: 768px) {
  .sx-moment-feed-card .list-moment {
    padding: var(--sanxio-content-gap, 20px) 0;
  }
}

.sx-moment-feed-card .list-moment:last-child {
  border-bottom: none;
}

/* 覆盖 skin/mobile/moment.css 流内厚底边与白底 */
body.sx-moment-premium-page .sx-moment-feed-card .list-moment {
  background: transparent;
}

.sx-moment-sidebar .sx-moment-card {
  position: sticky;
  top: calc(var(--sanxio-content-gap, 12px) + 80px);
}

.sx-moment-sidebar .mm-member {
  text-align: center;
  padding: var(--sanxio-gap-sm, 8px) 0 0;
}

.sx-moment-sidebar .mm-member img {
  width: 72px;
  height: 72px;
  border-radius: var(--md3-shape-full, 9999px);
  object-fit: cover;
  border: 2px solid var(--md3-color-outline-variant, #c3c6cf);
}

.sx-moment-sidebar .mm-member p {
  margin: var(--sanxio-gap-sm, 8px) 0 0;
  font-size: var(--text-md, 15px);
  font-weight: 600;
}

.sx-moment-sidebar .mm-member a {
  color: var(--md3-color-on-surface, #1a1c1e);
  text-decoration: none;
}

.sx-moment-sidebar .mm-member a:hover {
  color: var(--md3-color-primary, #005fb8);
}

.sx-moment-sidebar .mm-stats {
  margin: var(--sanxio-content-gap, 12px) 0 0;
  padding: var(--sanxio-content-gap, 12px) 0 0;
  border-top: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  height: auto;
}

body.sx-moment-premium-page .sx-moment-sidebar .mm-stats {
  margin-left: 0;
  margin-right: 0;
}

.sx-moment-sidebar .mm-stats ul {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sx-moment-sidebar .mm-stats a {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  text-decoration: none;
  color: inherit;
}

.sx-moment-sidebar .mm-stats ul > a + a {
  border-left: 1px solid var(--md3-color-outline-variant, #c3c6cf);
}

.sx-moment-sidebar .mm-stats li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  float: none;
  height: auto;
  line-height: 1.25;
  padding: var(--sanxio-gap-sm, 8px) 4px;
  margin: 0;
  text-align: center;
  border: none;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
}

.sx-moment-sidebar .mm-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  height: auto;
  border: none;
}

.sx-moment-sidebar .mm-stats i {
  display: block;
  font-style: normal;
  font-size: var(--text-lg, 18px);
  font-weight: 700;
  color: var(--md3-color-primary, #005fb8);
}

.sx-moment-sidebar .mm-stats span {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  color: var(--md3-color-on-surface-variant, #43474e);
  word-break: break-word;
}

.sx-moment-sidebar .mm-post {
  display: flex;
  flex-direction: column;
  gap: var(--sanxio-gap-sm, 8px);
  margin-top: var(--sanxio-content-gap, 12px);
}

.sx-moment-sidebar .mm-post .md3-btn {
  width: 100%;
  --md3-btn-height: 40px;
  text-decoration: none;
}

.sx-moment-feed-card .mm-all {
  text-align: center;
  padding: var(--sanxio-content-gap, 12px) 0 0;
  margin: 0;
  border: none;
  border-radius: 0;
  border-top: 1px dashed var(--md3-color-outline-variant, #c3c6cf);
  color: var(--md3-color-primary, #005fb8);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
}

@media (min-width: 768px) {
  .sx-moment-feed-card .mm-all {
    padding-top: var(--sanxio-content-gap, 20px);
  }
}

.sx-moment-feed-card .mm-all:hover {
  color: var(--md3-color-primary-dark, #004a8f);
  background: transparent;
}


.sx-moment-feed .mm-list {
  display: flex;
  align-items: flex-start;
  gap: var(--sanxio-gap-md, 12px);
  margin-bottom: var(--sanxio-gap-md, 12px);
}

.sx-moment-feed .mm-head {
  width: 44px;
  height: 44px;
  border-radius: var(--md3-shape-full, 9999px);
  object-fit: cover;
}

.sx-moment-feed .mm-list ul {
  flex: 1;
  min-width: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sanxio-gap-sm, 8px);
  row-gap: 4px;
}

.sx-moment-feed .mm-list ul > li {
  margin: 0;
  padding: 0;
}

.sx-moment-feed .mm-list ul > li.mm-user {
  flex: 1 1 auto;
  min-width: 0;
}

.sx-moment-feed .mm-user {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sanxio-gap-sm, 8px);
  height: auto;
  font-size: var(--text-sm, 14px);
  font-weight: 600;
  color: var(--md3-color-on-surface, #1a1c1e);
}

body.sx-moment-premium-page .sx-moment-feed .mm-user i {
  float: none;
  order: 10;
  margin-left: auto;
  flex-shrink: 0;
}

.sx-moment-feed .mm-user s {
  display: inline-flex;
  align-items: center;
  padding: 0;
  text-decoration: none;
}

.sx-moment-feed .mm-user s img {
  display: block;
  height: 18px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
}

.sx-moment-feed .mm-user a {
  color: inherit;
  text-decoration: none;
}

.sx-moment-feed .mm-user a:hover {
  color: var(--md3-color-primary, #005fb8);
}

.sx-moment-feed .mm-user b {
  font-weight: 700;
}

.sx-moment-feed .mm-time {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: var(--md3-color-on-surface-variant, #43474e);
  margin: 0;
  white-space: nowrap;
}

.sx-moment-feed .mm-time::before {
  content: '·';
  margin-right: var(--sanxio-gap-sm, 8px);
  color: var(--md3-color-outline-variant, #c3c6cf);
  font-weight: 700;
}

.sx-moment-feed .mm-main {
  font-size: var(--text-sm, 14px);
  line-height: 1.65;
  color: var(--md3-color-on-surface, #1a1c1e);
}

.sx-moment-feed .sx-moment-feed__lead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sanxio-gap-sm, 8px);
  row-gap: 4px;
}

.sx-moment-feed .sx-moment-feed__lead .mm-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: inherit;
  line-height: inherit;
}

.sx-moment-feed .sx-moment-feed__lead .mm-link {
  flex: 0 0 auto;
  height: auto;
  line-height: inherit;
  overflow: visible;
  white-space: nowrap;
}

.sx-moment-feed .sx-moment-feed__lead .mm-link a {
  color: var(--md3-color-primary, #005fb8);
  text-decoration: none;
}

.sx-moment-feed .sx-moment-feed__lead .mm-link a:hover {
  text-decoration: underline;
}

.sx-moment-feed .sx-moment-feed__lead .mm-link i {
  font-style: normal;
  font-size: var(--text-sm, 13px);
  font-weight: 600;
  color: inherit;
  display: inline;
  height: auto;
  line-height: inherit;
  padding: 0;
  background: none;
}

.sx-moment-feed .mm-text i {
  color: var(--md3-color-primary, #005fb8);
  cursor: pointer;
  font-style: normal;
}

.sx-moment-feed .mm-info {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sanxio-gap-sm, 8px);
  padding-top: var(--sanxio-gap-md, 12px);
  border-top: 1px solid var(--md3-color-outline-variant, #c3c6cf);
  margin-top: var(--sanxio-gap-md, 12px);
  height: auto;
  line-height: normal;
  overflow: visible;
}

body.sx-moment-premium-page .sx-moment-feed .mm-info i {
  width: auto;
  font-style: normal;
}

.sx-moment-feed .mm-info__act {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: none;
  border-radius: var(--md3-shape-full, 9999px);
  background: var(--md3-color-surface-container-low, #f3f5f9);
  color: var(--md3-color-on-surface-variant, #43474e);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.sx-moment-feed .mm-info__act:hover {
  background: var(--md3-color-primary-container, #d0e8ff);
  color: var(--md3-color-primary, #005fb8);
}

.sx-moment-fab {
  position: fixed;
  right: var(--sanxio-block-px, 16px);
  bottom: calc(var(--sanxio-block-px, 16px) + env(safe-area-inset-bottom, 0));
  z-index: 90;
}

.sx-moment-fab .md3-btn--filled,
.sx-moment-fab .md3-btn-filled {
  min-height: 48px;
  --md3-btn-height: 48px;
  border-radius: var(--md3-shape-full, 9999px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  background: var(--md3-color-primary, #005fb8);
  color: var(--md3-color-on-primary, #fff);
}

.sx-moment-catalog p {
  margin: 0 0 6px;
}

.sx-moment-catalog a {
  color: var(--md3-color-primary, #005fb8);
  text-decoration: none;
}

.sx-moment-catalog em {
  font-style: normal;
  color: var(--md3-color-on-surface-variant, #43474e);
  font-size: 12px;
}

/* ======== sanxio 动态 Premium 套件 end =========== */


