.meta {
  margin-top: 4px;
  color: #8b8f99;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stats b {
  color: #f0a51a;
}
.detail-open {
  overflow: hidden;
}
.detail-page {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  background: #f5f6f8;
  overflow: auto;
  padding-bottom: 78px;
}
.detail-page.open {
  display: block;
}
.detail-head {
  position: sticky;
  z-index: 5;
  top: 0;
  height: 50px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(15px);
}
.detail-head button {
  border: 0;
  background: none;
  font-size: 28px;
  color: #242733;
}
.detail-head button:last-child {
  font-size: 22px;
  color: #e3485b;
}
.detail-body {
  max-width: 720px;
  margin: auto;
}
.detail-hero {
  overflow: hidden;
  background: #171923;
}
.detail-track {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.detail-photo {
  position: relative;
  min-width: 86%;
  aspect-ratio: 3/4;
  scroll-snap-align: center;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  overflow: hidden;
  background-position: center;
  background-size: cover;
}
.detail-photo.has-image:after {
  display: none;
}
.detail-photo:after {
  content: "";
  position: absolute;
  inset: 18% 25% 0;
  border-radius: 48% 48% 4% 4%;
  background: rgba(255, 255, 255, 0.17);
  box-shadow: 0 -70px 0 -24px rgba(255, 255, 255, 0.2);
}
.detail-photo i {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 11px;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.46);
  color: #fff;
  font-size: 11px;
  font-style: normal;
}
.detail-summary,
.detail-section {
  margin-bottom: 9px;
  padding: 15px;
  background: #fff;
}
.detail-summary > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-summary h2 {
  margin: 0;
  font-size: 21px;
}
.detail-summary > div span {
  padding: 3px 7px;
  border-radius: 9px;
  background: #eef1ff;
  color: var(--blue);
  font-size: 11px;
}
.detail-summary > strong {
  display: inline-block;
  margin-top: 12px;
  color: #ee4854;
  font-size: 24px;
}
.detail-summary > small {
  margin-left: 7px;
  color: #999;
}
.detail-summary > p {
  margin: 8px 0 0;
  color: #777;
  font-size: 13px;
}
.detail-summary .detail-desc {
  color: #333;
  line-height: 1.6;
}
.detail-section h3 {
  margin: 0 0 13px;
  font-size: 16px;
}
.detail-coupon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  border-radius: 12px;
  padding: 13px;
  background: #fff3f4;
  color: #d94350;
}
.detail-coupon > b {
  font-size: 23px;
}
.detail-coupon span {
  font-size: 13px;
}
.detail-coupon small {
  display: block;
  margin-top: 3px;
  color: #a56d72;
  font-size: 10px;
}
.detail-coupon button,
.write-report button {
  border: 0;
  border-radius: 18px;
  padding: 8px 12px;
  background: #ef4f5c;
  color: #fff;
}
.popularity {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.popularity b {
  width: 100%;
  color: #f28a24;
}
.popularity span {
  padding: 10px;
  border-radius: 10px;
  background: #fff7e9;
  color: #976321;
  font-size: 12px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips span {
  padding: 7px 11px;
  border-radius: 14px;
  background: #f0f3ff;
  color: #384da8;
  font-size: 12px;
}
.chips.danger span {
  background: #fff0f1;
  color: #c83d49;
}
.price-list,
.contact-list {
  display: grid;
  gap: 10px;
}
.price-list span,
.contact-list span {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 4px 0 10px;
  color: #777;
}
.price-list b {
  color: #ec4653;
}
.contact-list b {
  color: #334cc2;
}
.write-report p {
  color: #777;
  font-size: 13px;
  line-height: 1.6;
}
.write-report button {
  background: var(--blue);
}
.report-list {
  display: grid;
  gap: 10px;
}
.report-card {
  padding: 12px;
  border-radius: 12px;
  background: #f7f8fa;
}
.report-card header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
}
.report-card strong {
  color: #f0a51a;
}
.report-card time {
  color: #aaa;
  font-size: 10px;
}
.report-card p {
  font-size: 13px;
  line-height: 1.55;
}
.report-card span {
  margin-right: 6px;
  padding: 3px 6px;
  border-radius: 8px;
  background: #eaf0ff;
  color: #5262aa;
  font-size: 10px;
}
.report-empty,
.detail-loading {
  text-align: center;
  color: #999;
  padding: 22px;
  font-size: 12px;
}
.detail-footer {
  position: fixed;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
  padding: 10px 14px max(10px, env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
}
.detail-footer button {
  flex: 1;
  border: 1px solid var(--blue);
  border-radius: 24px;
  padding: 12px;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
}
.detail-footer button:last-child {
  background: var(--blue);
  color: #fff;
}
