/* 卖瓜解锁确认弹窗 — Figma 4.7 瓜条中心详情页-弹窗 */
.gua-unlock-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gua-unlock-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.gua-unlock-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 38px;
  width: min(400px, 100%);
  padding: 38px 24px;
  border-radius: 12px;
  background: #201f1f;
}

.gua-unlock-modal__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.gua-unlock-modal__title {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
}

.gua-unlock-modal__message {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.gua-unlock-modal__actions {
  display: flex;
  gap: 20px;
  width: 100%;
}

.gua-unlock-modal__btn {
  flex: 1 1 0;
  min-width: 0;
  height: 50px;
  padding: 12px 40px;
  border: 0;
  border-radius: 6px;
  font-size: 14px;
  line-height: normal;
  text-align: center;
  cursor: pointer;
}

.gua-unlock-modal__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #201f1f;
  color: rgba(255, 255, 255, 0.5);
}

.gua-unlock-modal__btn--primary {
  background: #03c75a;
  color: #fff;
}

.gua-unlock-modal__btn--primary:hover {
  filter: brightness(1.05);
}

.gua-unlock-modal__btn--ghost:hover {
  color: rgba(255, 255, 255, 0.72);
}

/* 卖瓜详情：复用 article-detail 布局，仅补充付费墙与弹窗预览 */
.sell-detail-page {
  --sd-accent: #fe6a45;
  --tc-sell-price-bg: #fd5469;
}

.sell-detail-page .sell-detail-tg {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  line-height: 28px;
}

.sell-detail-page .sell-detail-preview-label {
  margin: 0 0 8px;
  color: var(--article-accent, #03c75a);
  font-size: 14px;
  line-height: 20px;
}

.sell-detail-page .article-paywall-panel::before {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sell-detail-page .article-paywall-preview-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.sell-detail-page .article-paywall-lock,
.sell-detail-page .article-paywall-btn,
.sell-detail-page .sd-paywall-err {
  position: relative;
  z-index: 1;
}

.sell-detail-page .sd-paywall-err {
  margin: 8px 0 0;
  min-height: 18px;
  color: #ff6b6b;
  font-size: 13px;
  text-align: center;
}

.sell-detail-page .sd-paywall-err-link {
  color: #ff6b6b;
  text-decoration: underline;
}

.sell-detail-page .sd-paywall-err-link:hover {
  color: #ff8787;
}

.sell-detail-page .sd-loading,
.sell-detail-page .sd-error {
  padding: 40px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* 瓜条中心弹窗预览（保留 Axure 精简样式） */
.tip-center-page {
  --sd-accent: #fe6a45;
  --tc-sell-price-bg: #fd5469;
}

.tip-center-page .gua-modal .sd-detail {
  --sd-muted: #aaaaaa;
  --sd-text: #f2f2f2;
  --sd-border: #797979;
}

.tip-center-page .gua-modal .sd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  color: var(--sd-accent);
  font-size: 12px;
  line-height: 16px;
}

.tip-center-page .gua-modal .sd-breadcrumb a {
  color: var(--sd-muted);
}

.tip-center-page .gua-modal .sd-hero {
  margin: 0 0 24px;
}

.tip-center-page .gua-modal .sd-title {
  margin: 0 0 9px;
  min-width: 0;
  max-width: 100%;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  line-height: 30px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tip-center-page .gua-modal .sd-meta {
  margin: 0 0 10px;
  min-width: 0;
  max-width: 100%;
  color: var(--sd-muted);
  font-size: 12px;
  line-height: 16px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tip-center-page .gua-modal .sd-intro {
  margin: 0 0 20px;
  min-width: 0;
  max-width: 100%;
  color: var(--sd-text);
  font-size: 14px;
  line-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tip-center-page .gua-modal .sd-block {
  margin: 0 0 18px;
}

.tip-center-page .gua-modal .sd-block-text p {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  color: var(--sd-text);
  font-size: 14px;
  line-height: 22px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tip-center-page .gua-modal .sd-block-image img,
.tip-center-page .gua-modal .sd-block-video video {
  width: 100%;
  max-width: 100%;
  border-radius: 6px;
  display: block;
}

.tip-center-page .gua-modal .sd-preview-label {
  margin: 0 0 6px;
  color: var(--sd-accent);
  font-size: 12px;
}

.tip-center-page .gua-modal .sd-block-locked-placeholder {
  min-height: 120px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.87);
}

.tip-center-page .gua-modal .sd-block-media {
  min-height: 200px;
}

.tip-center-page .gua-modal .sd-block-locked-inline {
  min-height: 48px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.87);
  color: #d7d7d7;
  font-size: 14px;
}

.tip-center-page .gua-modal .sd-preview-link {
  display: block;
  margin: 0 0 16px;
  padding: 13px;
  border-radius: 100px;
  background: var(--sd-accent);
  color: #fff;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
}

.tip-center-page .gua-modal .sd-preview-cta {
  margin-top: 16px;
  padding: 18px;
  border: 1px dashed var(--sd-border);
  border-radius: 8px;
  text-align: center;
  color: var(--sd-text);
}

.tip-center-page .gua-modal .sd-preview-cta p {
  margin: 0 0 10px;
  font-size: 15px;
}

.tip-center-page .gua-modal .sd-unlock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 191px;
  height: 49px;
  padding: 0 24px;
  border: 0;
  border-radius: 100px;
  background: var(--sd-accent);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.tip-center-page .gua-modal .sd-unlock-btn-outline {
  background: transparent;
  border: 1px solid var(--sd-accent);
  color: var(--sd-accent);
}

/* 卖瓜列表 feed — Figma 4.5 瓜条中心-卖瓜条 */
.tip-center-page .tc-sell-feed .home-feed-card {
  position: relative;
}

.tip-center-page .tc-sell-feed .home-feed-body {
  align-items: flex-start;
}

.tip-center-page .tc-sell-feed .tc-sell-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 28px;
  min-width: 122px;
  padding: 0 10px;
  margin: 0 0 8px;
  border-radius: 100px;
  background: var(--tc-sell-price-bg);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
  pointer-events: none;
}
