/* Figma 4.0 — 瓜条中心 Web (node 290:27272) */
.tip-center-page {
  --home-gutter: 24px;
  --home-column: var(--home-inner);
  --tc-hero-h: 92px;
  --tc-policy-h: 245px;
  --tc-btn-w: 204px;
  --tc-btn-h: 58px;
  --tc-tab-h: 48px;
  --tc-tab-min-w: 102px;
  --tc-tab-gap: 16px;
  --tc-sell-accent: #f3ce00;
  --tc-policy-warn: #fbcc4d;
  --tc-panel: #201f1f;
  --tc-muted: rgba(255, 255, 255, 0.5);
  --tc-divider: rgba(255, 255, 255, 0.2);
  --tc-req-h: 120px;
  --tc-req-gap: 24px;
  --tc-req-inner-gap: 8px;
  --tc-req-stat: #bacbbd;
}

.tip-center-page .tip-center-main {
  width: 100%;
  max-width: var(--home-canvas);
  margin: 0 auto;
  padding: 24px var(--home-gutter) 40px;
  box-sizing: border-box;
}

/* Figma 71:7455 — 1120×#151515 主面板 */
.tip-center-page .tc-panel {
  width: 100%;
  max-width: var(--home-canvas);
  margin: 0 auto;
  padding: 24px;
  border-radius: 12px;
  background: var(--home-panel-bg);
  box-sizing: border-box;
}

.tip-center-page .tc-panel .home-ads {
  margin-bottom: 24px;
}

/* Hero — Figma Frame 2131334160: 1072×92 */
.tip-center-page .tc-hero {
  width: var(--home-column);
  max-width: 100%;
  min-height: var(--tc-hero-h);
  margin: 0 0 24px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  border-radius: 14px;
  background: var(--tc-panel);
  box-sizing: border-box;
}

.tip-center-page .tc-hero-copy {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 600px;
}

.tip-center-page .tc-hero-title {
  margin: 0;
  color: var(--home-text);
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
}

.tip-center-page .tc-hero-desc {
  margin: 0;
  color: var(--tc-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 30px;
}

.tip-center-page .tc-hero-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.tip-center-page .tc-btn {
  width: var(--tc-btn-w);
  height: var(--tc-btn-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--tc-sell-accent);
  background: var(--tc-sell-accent);
  color: #050505;
  font-size: 18px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
  cursor: pointer;
}

.tip-center-page .tc-btn:hover {
  filter: brightness(1.05);
}

.tip-center-page .tc-btn-outline {
  background: var(--tc-panel);
  border-color: var(--home-accent);
  color: var(--home-accent);
  font-weight: 400;
}

/* Policy — Figma Frame 2131334161: 1072×245 */
.tip-center-page .tc-policy {
  width: var(--home-column);
  max-width: 100%;
  min-height: var(--tc-policy-h);
  margin: 0 0 24px;
  padding: 16px;
  border-radius: 14px;
  background: var(--tc-panel);
  box-sizing: border-box;
}

.tip-center-page .tc-policy-title {
  margin: 0 0 20px;
  color: var(--home-text);
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
}

.tip-center-page .tc-policy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 70px;
  align-items: start;
}

.tip-center-page .tc-policy-col--ok {
  padding-right: 0;
  border-right: 1px solid var(--tc-divider);
}

.tip-center-page .tc-policy-head {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 6px;
}

.tip-center-page .tc-policy-icon {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.tip-center-page .tc-policy-label {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 30px;
}

.tip-center-page .tc-policy-col--ok .tc-policy-label {
  color: var(--home-accent);
}

.tip-center-page .tc-policy-col--no .tc-policy-label {
  color: var(--tc-policy-warn);
}

.tip-center-page .tc-policy-list {
  margin: 0;
  color: var(--tc-muted);
  font-size: 16px;
  line-height: 28px;
}

.tip-center-page .tc-policy-list p {
  margin: 0;
}

/* Tabs — Figma Frame 2131334158: 102×48 gap 16 */
.tip-center-page .tc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tc-tab-gap);
  width: var(--home-column);
  max-width: 100%;
  margin: 0 0 16px;
}

.tip-center-page .tc-tab {
  min-width: var(--tc-tab-min-w);
  height: var(--tc-tab-h);
  padding: 10px;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  background: var(--tc-panel);
  color: var(--tc-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
}

.tip-center-page .tc-tab:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.tip-center-page .tc-tab.is-active {
  border-color: var(--home-accent);
  background: var(--home-accent);
  color: #ffffff;
  font-weight: 500;
}

.tip-center-page .tc-subbar:not(:empty) {
  width: var(--home-column);
  max-width: 100%;
  margin: 0 0 var(--tc-req-gap);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tc-divider);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0;
}

.tip-center-page .tc-subbar:empty {
  margin: 0;
  padding: 0;
  border-bottom: 0;
}

.tip-center-page .tc-subtab {
  position: relative;
  width: 70px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--tc-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
}

.tip-center-page .tc-subtab:hover {
  color: rgba(255, 255, 255, 0.8);
}

.tip-center-page .tc-subtab.is-active {
  color: var(--home-accent);
  font-weight: 400;
}

.tip-center-page .tc-subtab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 17px;
  height: 2px;
  margin-left: -8.5px;
  border-radius: 30px;
  background: var(--home-accent);
}

.tip-center-page .tc-feed {
  width: var(--home-column);
  max-width: 100%;
}

.tip-center-page .tc-feed .home-feed {
  width: 100%;
}

/* Request rows — Figma 4.1 求瓜条 (node 125:9866) */
.tip-center-page .tc-req-feed {
  display: flex;
  flex-direction: column;
  gap: var(--tc-req-gap);
}

.tip-center-page .tc-req-card {
  display: flex;
  flex-direction: column;
  gap: var(--tc-req-inner-gap);
  min-height: var(--tc-req-h);
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}

.tip-center-page .tc-req-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 10px;
  margin: 0;
}

.tip-center-page .tc-req-title {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.5px;
}

.tip-center-page .tc-req-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--tc-muted);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.tip-center-page .tc-req-status-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
}

.tip-center-page .tc-req-intro {
  margin: 0;
  color: var(--tc-muted);
  font-size: 14px;
  line-height: 28px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.tip-center-page .tc-req-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.tip-center-page .tc-req-bounty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 12px;
  background: var(--tc-sell-accent);
  color: #000000;
  font-size: 14px;
  font-weight: 400;
  line-height: 12px;
  letter-spacing: 0.6px;
}

.tip-center-page .tc-req-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tc-req-stat);
  font-size: 14px;
  line-height: 18px;
}

.tip-center-page .tc-req-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

.tip-center-page .tc-list-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--tc-panel);
  color: inherit;
  text-decoration: none;
}

.tip-center-page .tc-list-card + .tc-list-card {
  margin-top: 12px;
}

.tip-center-page .tc-list-thumb {
  width: 120px;
  height: 90px;
  border-radius: 8px;
  background: #333333;
  background-size: cover;
  background-position: center;
}

.tip-center-page .tc-list-title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.tip-center-page .tc-list-intro {
  margin: 0 0 8px;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 20px;
}

.tip-center-page .tc-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--home-muted);
  font-size: 12px;
}

.tip-center-page .tc-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 100px;
  background: #333333;
  color: #ffffff;
  font-size: 12px;
}

.tip-center-page .tc-empty,
.tip-center-page .tc-error {
  width: var(--home-column);
  max-width: 100%;
  padding: 40px 0;
  text-align: center;
  color: var(--home-muted);
}

.tip-center-page .tc-error {
  color: #fe6a45;
}

.tip-center-page .tc-pager {
  margin-top: 28px;
}

.tip-center-page .gua-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 200;
}

.tip-center-page .gua-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.tip-center-page .gua-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 480px;
  max-width: 94vw;
  background: var(--home-bg);
  border-left: 1px solid var(--home-border);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 201;
  overflow-y: auto;
}

.tip-center-page .gua-drawer.open {
  transform: translateX(0);
}

.tip-center-page .gua-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(520px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--home-panel);
  border: 1px solid var(--home-border);
  border-radius: 10px;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 201;
}

.tip-center-page .gua-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.tip-center-page .gua-ov-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--home-border);
}

.tip-center-page .gua-ov-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.tip-center-page .gua-ov-close {
  border: 0;
  background: transparent;
  color: var(--home-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.tip-center-page .gua-ov-body {
  padding: 18px;
}

/* Figma 4.12-瓜条中心-我要卖瓜 (node 290:27181) */
.tip-center-page .gua-modal--publish {
  width: 440px;
  max-width: 94vw;
  background: #201f1f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.tip-center-page .gua-modal--publish .gua-ov-head {
  padding: 6px 16px 7px;
  background: rgba(40, 42, 46, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tip-center-page .gua-modal--publish .gua-ov-head h2 {
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.8);
}

.tip-center-page .gua-modal--publish .gua-ov-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent url("/assets/figma/svg/request-detail-web/icon-close.svg") center / 16px 16px no-repeat;
  color: transparent;
  font-size: 0;
}

.tip-center-page .gua-modal--publish .gua-ov-body {
  padding: 32px 16px;
}

.tip-center-page .tc-sell-publish {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.tip-center-page .tc-sell-publish-lead {
  margin: 4px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  color: #fff;
}

.tip-center-page .tc-sell-publish-note {
  margin: 4px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.tip-center-page .tc-sell-publish-note p {
  margin: 0;
}

.tip-center-page .tc-sell-publish-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  max-width: 100%;
  padding: 12px 40px;
  border: 0;
  border-radius: 6px;
  background: #03c75a;
  color: #fff;
  font-size: 14px;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.tip-center-page .tc-sell-publish-btn:hover {
  filter: brightness(1.05);
}

/* Figma 4.9-瓜条中心-我要求瓜 (node 290:27281) */
.tip-center-page .gua-modal--request-publish {
  width: 700px;
  max-width: 94vw;
  background: #201f1f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.tip-center-page .gua-modal--request-publish .gua-ov-head {
  display: none;
}

.tip-center-page .gua-modal--request-publish .gua-ov-body {
  padding: 0;
}

/* Figma 4.3-瓜条中心-求瓜条-详情 (node 290:27275) */
.tip-center-page .gua-modal--request-detail,
.profile-page .gua-modal--request-detail,
.search-page .gua-modal--request-detail {
  width: 700px;
  max-width: 94vw;
  background: #201f1f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.tip-center-page .gua-modal--request-detail .gua-ov-head,
.profile-page .gua-modal--request-detail .gua-ov-head,
.search-page .gua-modal--request-detail .gua-ov-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  margin: 0;
  padding: 6px 16px 7px;
  background: rgba(40, 42, 46, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.tip-center-page .gua-modal--request-detail .gua-ov-head h2,
.profile-page .gua-modal--request-detail .gua-ov-head h2,
.search-page .gua-modal--request-detail .gua-ov-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.8);
}

.tip-center-page .gua-modal--request-detail .gua-ov-close,
.profile-page .gua-modal--request-detail .gua-ov-close,
.search-page .gua-modal--request-detail .gua-ov-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent url("/assets/figma/svg/request-detail-web/icon-close.svg") center / 16px 16px no-repeat;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.tip-center-page .gua-modal--request-detail .gua-ov-body,
.profile-page .gua-modal--request-detail .gua-ov-body,
.search-page .gua-modal--request-detail .gua-ov-body {
  max-height: calc(90vh - 56px);
  padding: 16px;
  overflow-y: auto;
  box-sizing: border-box;
}

.tip-center-page .form-row {
  margin-bottom: 14px;
}

.tip-center-page .form-row label {
  display: block;
  margin-bottom: 6px;
  color: var(--home-muted);
  font-size: 13px;
}

.tip-center-page .form-row input,
.tip-center-page .form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  background: #121318;
  color: #fff;
  box-sizing: border-box;
}

@media (max-width: 800px) {
  .tip-center-page {
    --tc-hero-h: 143px;
    --tc-policy-h: 306px;
    --tc-btn-w: 104px;
    --tc-btn-h: 42px;
    --tc-tab-gap: 10px;
    --tc-tab-h: 36px;
    --tc-tab-min-w: 66px;
  }

  .tip-center-page .tip-center-main {
    padding: 10px var(--home-gutter) 32px;
  }

  .tip-center-page .tc-panel {
    padding: 12px;
    border-radius: 8px;
  }

  .tip-center-page .tc-hero {
    flex-direction: column;
    align-items: center;
    min-height: var(--tc-hero-h);
    padding: 10px 12px 12px;
    text-align: center;
  }

  .tip-center-page .tc-hero-copy {
    width: 100%;
    max-width: none;
  }

  .tip-center-page .tc-hero-title {
    font-size: 15px;
    line-height: 20px;
  }

  .tip-center-page .tc-hero-desc {
    font-size: 10px;
    line-height: 14px;
    text-align: center;
  }

  .tip-center-page .tc-hero-actions {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 13px;
    width: 100%;
  }

  .tip-center-page .tc-btn {
    width: var(--tc-btn-w);
    height: var(--tc-btn-h);
    flex: 0 0 var(--tc-btn-w);
    font-size: 14px;
  }

  .tip-center-page .tc-policy {
    min-height: var(--tc-policy-h);
    max-width: 354px;
    padding: 12px 12px 16px;
  }

  .tip-center-page .tc-policy-title {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 12px;
  }

  .tip-center-page .tc-policy-grid {
    grid-template-columns: 1fr;
    gap: 12px 0;
  }

  .tip-center-page .tc-policy-col--ok {
    border-right: 0;
    padding-right: 0;
  }

  .tip-center-page .tc-policy-list {
    font-size: 12px;
    line-height: 20px;
  }

  .tip-center-page .tc-tabs {
    gap: var(--tc-tab-gap);
  }

  .tip-center-page .tc-tab {
    min-width: var(--tc-tab-min-w);
    height: var(--tc-tab-h);
    padding: 0 8px;
    border-radius: 4px;
    font-size: 14px;
  }

  .tip-center-page .tc-list-card {
    grid-template-columns: 1fr;
  }

  .tip-center-page .tc-list-thumb {
    width: 100%;
    height: 140px;
  }

  .tip-center-page .tc-req-feed {
    gap: 16px;
  }

  .tip-center-page .tc-req-card {
    width: 100%;
    max-width: 355px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .tip-center-page .tc-req-title {
    font-size: 18px;
    line-height: 20px;
  }

  .tip-center-page .tc-req-intro {
    font-size: 13px;
    line-height: 22px;
  }

  .tip-center-page .tc-sell-feed .home-feed-card {
    max-width: 355px;
    margin-left: auto;
    margin-right: auto;
  }
}
