/* M155 详情页运营级底座：复用全局令牌、组件与频道主题。 */
.v4-site .m155-page {
  width: min(var(--sx-layout-pc), 100%);
  margin: 0 auto;
  padding-bottom: var(--sx-space-6);
}
.v4-site .m155-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--sx-text-3);
  font-size: 12px;
  flex-wrap: wrap;
}
.v4-site .m155-crumb a,
.v4-site .m155-crumb span {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v4-site .m155-crumb a { color: var(--sx-chan, var(--sx-primary)); text-decoration: none; }
.v4-site .m155-crumb a:hover { text-decoration: underline; }
.v4-site .m155-crumb__separator { color: var(--sx-text-3); }
.v4-site .m155-hero {
  position: relative;
  overflow: hidden;
  padding: var(--sx-space-5);
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius-card);
  background: linear-gradient(135deg, var(--sx-chan-10, var(--sx-primary-soft)), var(--sx-white) 68%);
  box-shadow: var(--sx-shadow-card);
}
.v4-site .m155-hero::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -72px;
  width: 260px;
  height: 140px;
  background: var(--sx-chan-10, var(--sx-primary-soft));
  clip-path: polygon(0 100%, 24% 38%, 50% 76%, 74% 22%, 100% 70%, 100% 100%);
  pointer-events: none;
}
.v4-site .m155-hero__body,
.v4-site .m155-layout,
.v4-site .m155-media,
.v4-site .m155-related,
.v4-site .m155-form-grid {
  min-width: 0;
}
.v4-site .m155-hero__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sx-space-4);
  align-items: start;
}
.v4-site .m155-hero__title {
  margin: 0;
  color: var(--sx-text-1);
  font-size: 24px;
  font-weight: 750;
  line-height: 1.4;
}
.v4-site .m155-hero__subtitle {
  margin: 6px 0 0;
  color: var(--sx-text-2);
  font-size: 13px;
  line-height: 1.5;
}
.v4-site .m155-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.v4-site .m155-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid var(--sx-chan-30, var(--sx-primary-soft));
  border-radius: 999px;
  background: var(--sx-chan-05, transparent);
  color: var(--sx-chan, var(--sx-primary));
  font-size: 12px;
  line-height: 1.5;
}
.v4-site .m155-tag--muted {
  border-color: var(--sx-border);
  background: var(--sx-bg);
  color: var(--sx-text-3);
}
.v4-site .m155-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.v4-site .m155-hero__actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
  min-width: 180px;
}
.v4-site .m155-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.v4-site .m155-metric {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--sx-chan-10, var(--sx-border));
  border-radius: 10px;
  background: rgba(255, 255, 255, .82);
}
.v4-site .m155-metric span,
.v4-site .m155-fact span {
  display: block;
  overflow: hidden;
  color: var(--sx-text-3);
  font-size: 12px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v4-site .m155-metric strong,
.v4-site .m155-fact strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--sx-text-1);
  font-size: 14px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v4-site .m155-metric--price strong {
  color: var(--sx-chan, var(--sx-primary));
  font-size: 22px;
  font-weight: 780;
}
.v4-site .m155-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}
.v4-site .m155-main,
.v4-site .m155-side { display: grid; gap: 16px; min-width: 0; }
.v4-site .m155-panel,
.v4-site .m155-card {
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius-card);
  background: var(--sx-white);
  box-shadow: var(--sx-shadow-card);
}
.v4-site .m155-panel { padding: 20px; }
.v4-site .m155-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--sx-text-1);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.v4-site .m155-section-title small {
  overflow: hidden;
  color: var(--sx-text-3);
  font-size: 12px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v4-site .m155-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.v4-site .m155-media__item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--sx-border);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sx-chan-10, var(--sx-primary-soft)), var(--sx-bg));
  cursor: zoom-in;
}
.v4-site .m155-media__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease-out;
}
.v4-site .m155-media__item:hover img { transform: scale(1.03); }
.v4-site .m155-media__empty,
.v4-site .m155-cover__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sx-chan-10, var(--sx-primary-soft)), var(--sx-bg));
  color: var(--sx-chan, var(--sx-primary));
  font-size: 13px;
}
.v4-site .m155-cover {
  overflow: hidden;
  border-radius: 12px;
  background: var(--sx-bg);
}
.v4-site .m155-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.v4-site .m155-facts,
.v4-site .m155-product-grid,
.v4-site .m155-dish-grid,
.v4-site .m155-doctor-list {
  display: grid;
  gap: 12px;
}
.v4-site .m155-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v4-site .m155-product-grid,
.v4-site .m155-dish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v4-site .m155-fact {
  min-width: 0;
  padding: 12px;
  border-radius: 10px;
  background: var(--sx-chan-05, var(--sx-bg));
}
.v4-site .m155-fact strong { color: var(--sx-chan, var(--sx-text-1)); }
.v4-site .m155-product,
.v4-site .m155-dish,
.v4-site .m155-doctor {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--sx-border);
  border-radius: 12px;
  background: var(--sx-white);
}
.v4-site .m155-product {
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}
.v4-site .m155-product.ota-room { cursor: pointer; }
.v4-site .m155-product.ota-room:hover,
.v4-site .m155-product.ota-room.is-active {
  border-color: var(--sx-chan, var(--sx-primary));
  box-shadow: 0 0 0 3px var(--sx-chan-10, var(--sx-primary-soft));
}
.v4-site .m155-dish { cursor: zoom-in; }
.v4-site .m155-dish img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--sx-bg);
  object-fit: cover;
}
.v4-site .m155-product h3,
.v4-site .m155-dish h3,
.v4-site .m155-doctor h3 {
  margin: 0;
  overflow: hidden;
  color: var(--sx-text-1);
  font-size: 15px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v4-site .m155-product__price,
.v4-site .m155-dish__price {
  margin-top: 8px;
  color: var(--sx-chan, var(--sx-primary));
  font-size: 18px;
  font-weight: 750;
}
.v4-site .m155-product__meta,
.v4-site .m155-dish__meta,
.v4-site .m155-doctor__meta {
  margin: 6px 0 0;
  color: var(--sx-text-3);
  font-size: 12px;
  line-height: 1.5;
}
.v4-site .m155-article {
  color: var(--sx-text-2);
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.v4-site .m155-article p { margin: 0 0 16px; }
.v4-site .m155-article p:last-child { margin-bottom: 0; }
.v4-site .m155-article h2,
.v4-site .m155-article h3 {
  margin: 24px 0 12px;
  color: var(--sx-text-1);
  font-size: 18px;
  line-height: 1.4;
}
.v4-site .m155-article ul,
.v4-site .m155-article ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.v4-site .m155-article li { margin: 6px 0; }
.v4-site .m155-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}
.v4-site .m155-field,
.v4-site .m155-field label {
  min-width: 0;
}
.v4-site .m155-field {
  display: grid;
  gap: 7px;
}
.v4-site .m155-field > label,
.v4-site .m155-form-grid label {
  color: var(--sx-text-2);
  font-size: 13px;
  line-height: 1.5;
}
.v4-site .m155-form-grid input,
.v4-site .m155-form-grid select,
.v4-site .m155-form-grid textarea {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
  color: var(--sx-text-1);
  background: var(--sx-white);
}
.v4-site .m155-form-grid input:focus,
.v4-site .m155-form-grid select:focus,
.v4-site .m155-form-grid textarea:focus {
  border-color: var(--sx-chan, var(--sx-primary));
  box-shadow: 0 0 0 3px var(--sx-chan-10, var(--sx-primary-soft));
  outline: none;
}
.v4-site .m155-form-grid__full { grid-column: 1 / -1; }
.v4-site .m155-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v4-site .m155-card {
  display: block;
  min-width: 0;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
}
.v4-site .m155-card:hover,
.v4-site .m155-card:focus-visible {
  border-color: var(--sx-chan-70, var(--sx-primary));
  box-shadow: var(--sx-shadow-card-hover);
  transform: translateY(-2px);
}
.v4-site .m155-card h3 {
  margin: 0;
  overflow: hidden;
  color: var(--sx-text-1);
  font-size: 15px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v4-site .m155-card__meta {
  margin-top: 6px;
  color: var(--sx-text-3);
  font-size: 12px;
  line-height: 1.5;
}
.v4-site .m155-card__price {
  margin-top: 10px;
  color: var(--sx-chan, var(--sx-primary));
  font-size: 18px;
  font-weight: 750;
}
.v4-site .m155-side__panel {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 12px;
}
.v4-site .m155-summary {
  display: grid;
  gap: 10px;
}
.v4-site .m155-summary__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  color: var(--sx-text-2);
  font-size: 13px;
  line-height: 1.5;
}
.v4-site .m155-summary__row span { color: var(--sx-text-3); }
.v4-site .m155-summary__row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v4-site .m155-note {
  margin: 0;
  padding: 12px;
  border-left: 3px solid var(--sx-chan-70, var(--sx-primary));
  border-radius: 8px;
  background: var(--sx-chan-05, var(--sx-bg));
  color: var(--sx-text-2);
  font-size: 12px;
  line-height: 1.5;
}
.v4-site .m155-state {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 40px 24px;
  text-align: center;
}
.v4-site .m155-state__title {
  margin: 0;
  color: var(--sx-text-1);
  font-size: 18px;
  line-height: 1.4;
}
.v4-site .m155-state__text {
  max-width: 560px;
  margin: 0;
  color: var(--sx-text-3);
  font-size: 13px;
  line-height: 1.5;
}
.v4-site .m155-state__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.v4-site .m155-skeleton { display: grid; gap: 16px; }
.v4-site .m155-skeleton__row {
  height: 96px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--sx-bg), var(--sx-white), var(--sx-bg));
  animation: m155-skeleton 1.2s ease-in-out infinite;
}
.v4-site .m155-sticky {
  position: fixed;
  z-index: 180;
  top: 16px;
  left: 50%;
  display: none;
  width: min(1200px, calc(100vw - 48px));
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid var(--sx-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--sx-shadow-card-hover);
  transform: translateX(-50%);
}
.v4-site .m155-sticky.is-visible { display: flex; }
.v4-site .m155-sticky__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.v4-site .m155-sticky__title {
  min-width: 0;
  max-width: 480px;
  overflow: hidden;
  color: var(--sx-text-1);
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v4-site .m155-sticky__metric {
  flex: 0 0 auto;
  color: var(--sx-chan, var(--sx-primary));
  font-size: 16px;
  font-weight: 750;
}
.v4-site .m155-sticky__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.v4-site .m155-top {
  position: fixed;
  z-index: 170;
  right: 24px;
  bottom: 24px;
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sx-border);
  border-radius: 50%;
  background: var(--sx-white);
  color: var(--sx-chan, var(--sx-primary));
  cursor: pointer;
  box-shadow: var(--sx-shadow-card);
}
.v4-site .m155-top.is-visible { display: inline-flex; }
.v4-site .m155-lightbox {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(13, 20, 18, .82);
}
.v4-site .m155-lightbox.is-open { display: flex; }
.v4-site .m155-lightbox__figure {
  display: grid;
  gap: 12px;
  max-width: min(1120px, 100%);
  max-height: 100%;
  margin: 0;
  justify-items: center;
}
.v4-site .m155-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 180px);
  border-radius: 12px;
  background: var(--sx-white);
  object-fit: contain;
}
.v4-site .m155-lightbox__caption {
  color: var(--sx-white);
  font-size: 13px;
  text-align: center;
}
.v4-site .m155-lightbox__close,
.v4-site .m155-lightbox__prev,
.v4-site .m155-lightbox__next {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: var(--sx-white);
  cursor: pointer;
  font-size: 16px;
}
.v4-site .m155-lightbox__close { top: 24px; right: 24px; }
.v4-site .m155-lightbox__prev { left: 24px; }
.v4-site .m155-lightbox__next { right: 24px; }
.v4-site .m155-lightbox__close:hover,
.v4-site .m155-lightbox__prev:hover,
.v4-site .m155-lightbox__next:hover { background: rgba(255, 255, 255, .24); }
body.m155-ready .v4-site #m154-sticky-action { display: none; }
@keyframes m155-skeleton {
  0%, 100% { opacity: .65; }
  50% { opacity: 1; }
}
@media (max-width: 1199px) {
  .v4-site .m155-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v4-site .m155-sticky__title { max-width: 260px; }
}
@media (max-width: 991px) {
  .v4-site .m155-layout,
  .v4-site .m155-related { grid-template-columns: 1fr; }
  .v4-site .m155-side__panel { position: static; }
  .v4-site .m155-media,
  .v4-site .m155-product-grid,
  .v4-site .m155-dish-grid,
  .v4-site .m155-form-grid { grid-template-columns: 1fr; }
  .v4-site .m155-hero__body { grid-template-columns: 1fr; }
  .v4-site .m155-hero__actions { min-width: 0; grid-template-columns: 1fr; }
  .v4-site .m155-sticky { align-items: flex-start; flex-direction: column; top: 8px; }
  .v4-site .m155-sticky__actions { width: 100%; }
}
