/* 视觉参考：爱投资 2019 存档页 — 独立样式重写，非拷贝原站资源 */
:root {
  --red: #c8161d;
  --red-dark: #a61218;
  --orange: #e85d04;
  --gold: #f4a100;
  --text: #333;
  --muted: #666;
  --border: #e6e6e6;
  --bg: #f5f5f5;
  --white: #fff;
  --nav-h: 44px;
  --wrap: 1100px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

.top-bar {
  background: #fafafa;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.top-bar .muted { color: var(--muted); }
.top-links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.top-links a { color: var(--muted); }
.top-links a:hover { color: var(--red); }

.site-head {
  background: var(--white);
  border-bottom: 2px solid var(--red);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 10px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
}
.brand:hover { text-decoration: none; color: var(--red); }
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
}
.assoc-badge {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fffaf5;
}

.main-nav {
  background: linear-gradient(to bottom, #fff, #fafafa);
  border-top: 1px solid var(--border);
}
.nav-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  min-height: var(--nav-h);
}
.main-nav a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: var(--text);
  font-size: 15px;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.main-nav a:hover { color: var(--red); text-decoration: none; }
.main-nav a.active {
  color: var(--red);
  font-weight: 600;
  border-bottom-color: var(--red);
}
.main-nav .nav-login { margin-left: auto; color: var(--red); font-weight: 600; }

.main-content { min-height: 48vh; padding-bottom: 40px; }

.hero {
  background: linear-gradient(110deg, #fff6f0 0%, #fff 40%, #fff8f0 100%);
  border-bottom: 1px solid var(--border);
  padding: 28px 0 32px;
}
/* 首页通栏轮播（登录前后共用） */
.hero.hero-banner {
  padding: 0;
  background: #0b1f33;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.hero-carousel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero-carousel {
    min-height: 400px;
  }
}
.hero-carousel__track {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-carousel__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}
.hero-carousel__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero-carousel__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(8, 28, 48, 0.55) 0%,
    rgba(12, 45, 78, 0.35) 45%,
    rgba(8, 22, 40, 0.5) 100%
  );
}
.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 72px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.hero-carousel__arrow:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.hero-carousel__arrow--prev {
  left: 12px;
}
.hero-carousel__arrow--next {
  right: 12px;
}
@media (max-width: 600px) {
  .hero-carousel__arrow {
    width: 34px;
    height: 56px;
    font-size: 28px;
  }
  .hero-carousel__arrow--prev {
    left: 6px;
  }
  .hero-carousel__arrow--next {
    right: 6px;
  }
}
.hero-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 48px;
}
.hero-carousel__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.hero-carousel__dots button.is-active {
  background: #fff;
  transform: scale(1.25);
}
.hero-banner__grid {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: inherit;
  padding: 32px 16px 40px;
  box-sizing: border-box;
}
.hero-banner__aside {
  width: 100%;
  max-width: 310px;
}
.hero-banner__card {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.hero-banner__aside .hero-guest-card,
.hero-banner__aside .hero-card {
  margin-left: 0;
  max-width: none;
  width: 100%;
}
@media (max-width: 860px) {
  .hero-banner__grid {
    justify-content: center;
    padding-bottom: 48px;
  }
  .hero-banner__aside {
    max-width: 340px;
  }
}
.hero-guest-card {
  max-width: 310px;
  margin: 0;
  margin-left: auto;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #d9d9d9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  padding: 22px 20px 20px;
  text-align: center;
}
.hero-guest-label {
  margin: 0 0 10px;
  font-size: 13px;
  color: #666;
}
.hero-guest-num {
  margin: 0 0 10px;
  font-size: 44px;
  font-weight: 600;
  color: #ff5a5a;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-guest-unit {
  font-size: 18px;
  font-weight: 600;
  margin-left: 2px;
  color: #333;
}
.hero-guest-sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: #666;
}
.hero-guest-note {
  margin: -10px 0 16px;
  font-size: 12px;
  color: #999;
}
.hero-guest-btn {
  display: block;
  width: 210px;
  margin: 0 auto;
  padding: 7px 12px;
  border-radius: 3px;
  background: #ff5a5a;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.hero-guest-btn:hover {
  background: #e84848;
  text-decoration: none;
}
/* 旧版首页结构：.hero--guest + .hero-guest-wrap（备份目录等仍可能使用） */
.hero--guest {
  background: #fff;
  border-bottom: none;
  padding: 0;
}
.hero-guest-wrap {
  background: #f0f0f0;
  padding: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-guest-wrap .wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 300px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.hero-stat-label {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 8px;
}
.hero-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.hero-stat-num small { font-size: 20px; font-weight: 600; color: var(--red); }
.hero-sub {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(200,22,29,.08);
}
.hero-card h3 { margin: 0 0 12px; font-size: 16px; }

.hero-card-user {
  margin: 0 0 14px;
}
.hero-card-user__line {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
}
.hero-card-user__line--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.hero-card-user__badge .vip-badge {
  transform: scale(0.88);
  transform-origin: left center;
}

/* 横幅下信息条（参考图中红框区域） */
.trust-strip {
  background: #fff;
  border-top: none;
  border-bottom: none;
  padding: 40px 0 24px;
  margin: 0;
}
.trust-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 20px;
  max-width: 620px;
  margin: 0 auto 0;
}
.trust-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #6f86a4;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
}
.trust-link:hover { text-decoration: none; color: #4f6f97; }
.trust-icon {
  color: #6f7f97;
  display: inline-flex;
}
.trust-text { color: #5fa9e6; }

.trust-bottom {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: #ececec;
  border-radius: 999px;
  color: #4f5967;
  font-size: 20px;
  line-height: 44px;
  height: 44px;
}
/* 提现等页面复用首页横幅：不做额外修改，保持与 .trust-strip 完全一致 */
.trust-strip--compact {}

/* 首页：阳光智选上方留白改白色，主体灰色保持不变 */
.ygzx-showcase.ygzx-showcase--layout1 {
  margin-top: 0;
  background: linear-gradient(to bottom, #fff 0, #fff 18px, #f0f0f0 18px, #f0f0f0 100%);
}
@media (max-width: 860px) {
  .trust-top {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 360px;
  }
  .trust-bottom {
    font-size: 14px;
    height: auto;
    line-height: 1.6;
    padding: 10px 14px;
    border-radius: 10px;
  }
}
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  text-align: center;
}
.btn-primary {
  background: var(--red);
  color: #fff !important;
  text-decoration: none !important;
}
.btn-primary:hover { background: var(--red-dark); }
.btn-outline {
  background: #fff;
  color: var(--red);
  border: 1px solid var(--red);
}
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

.section {
  margin-top: 28px;
}
.section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-left: 4px solid var(--red);
  padding-left: 12px;
}
.section-hd h2 { margin: 0; font-size: 20px; font-weight: 700; }
.section-hd a { font-size: 13px; color: var(--muted); }

.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th,
.data-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.data-table th {
  background: #fafafa;
  color: var(--muted);
  font-weight: 600;
}
.data-table tr:hover td { background: #fffdfb; }
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  background: #fff3e0;
  color: #e65100;
}
.rate-cell { color: var(--red); font-weight: 700; font-size: 15px; }

.product-detail-table tr.product-detail-my-invest-row > th {
  color: #e34b4b;
  font-weight: 700;
}
.product-detail-table tr.product-detail-my-invest-row > td {
  color: #333;
  font-weight: 400;
}

.calc-box {
  margin-top: 20px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.calc-tabs button {
  padding: 6px 12px;
  border: 1px solid var(--border);
  background: #fafafa;
  border-radius: 4px;
  cursor: pointer;
}
.calc-tabs button.active {
  border-color: var(--red);
  background: #fff0f0;
  color: var(--red);
  font-weight: 600;
}
.form-row { margin-bottom: 12px; }
.form-row label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 13px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea {
  width: 100%;
  max-width: 360px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
}
textarea { max-width: 100%; min-height: 100px; }

.alert {
  padding: 10px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.alert-error { background: #ffebee; color: #b71c1c; border: 1px solid #ffcdd2; }
.alert-ok { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; }

.auth-layout {
  max-width: 420px;
  margin: 40px auto;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.auth-layout h1 { margin-top: 0; font-size: 22px; }

.site-foot {
  background: #2d2d2d;
  color: #bbb;
  margin-top: 40px;
  padding: 32px 0 16px;
  font-size: 13px;
}
.site-foot a { color: #ddd; }
.site-foot h4 { color: #fff; margin: 0 0 10px; font-size: 14px; }
.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 700px) {
  .foot-grid { grid-template-columns: 1fr; }
}
.foot-grid div a { display: block; margin: 4px 0; }
.foot-bottom {
  border-top: 1px solid #444;
  margin-top: 24px;
  padding-top: 16px;
  text-align: center;
  color: #888;
  font-size: 12px;
}
.icp { margin: 6px 0 0; }

/* 后台 */
body.page-admin { background: #eef1f4; }
.admin-top {
  background: #1e293b;
  color: #e2e8f0;
  padding: 12px 0;
}
.admin-top .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.admin-top a { color: #93c5fd; }
.admin-nav { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; }
.admin-main { padding: 24px 0; }
.admin-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}
.admin-card h2 { margin-top: 0; font-size: 18px; }
.page-admin-withdrawals .admin-top .wrap,
.page-admin-withdrawals .admin-main.wrap {
  max-width: 1600px;
}
.page-admin-withdrawals .table-wrap--wide {
  overflow-x: auto;
}
.page-admin-withdrawals .data-table--nowrap {
  width: max-content;
  min-width: 100%;
}
.page-admin-withdrawals .data-table--nowrap th,
.page-admin-withdrawals .data-table--nowrap td {
  white-space: nowrap;
  word-break: keep-all;
  vertical-align: middle;
}
.page-admin-withdrawals .admin-actions-cell {
  white-space: nowrap;
}
.page-admin-withdrawals .admin-inline-form {
  display: inline-block;
  margin: 0 6px 0 0;
  vertical-align: middle;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.stat-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 14px;
}
.stat-box .n { font-size: 22px; font-weight: 700; color: var(--red); }
.stat-box .l { font-size: 12px; color: #64748b; }

/* 阳光智选 — 排版1：4×2 网格、约 3:4 卡片、底栏统计 */
.ygzx-showcase {
  margin-top: 24px;
  margin-bottom: 8px;
  padding: 22px 20px 20px;
  background: #f0f0f0;
  border-radius: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50% + 16px);
  padding-right: calc(50vw - 50% + 16px);
}
.ygzx-showcase .ygzx-section-head {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}
.ygzx-showcase .ygzx-card-list,
.ygzx-showcase .ygzx-empty,
.ygzx-showcase .ygzx-stat-bar {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
}

.ygzx-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ygzx-section-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.02em;
}
.ygzx-more {
  font-size: 13px;
  color: #999;
  text-decoration: none;
}
.ygzx-more:hover { color: #ff5a5a; text-decoration: none; }

.ygzx-list-page .pager {
  margin-top: 16px;
  padding: 14px 4px 0;
  border-top: 1px solid #e4e4e4;
}
.ygzx-list-page .pager__info { color: #888; }

.ygzx-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  align-items: stretch;
}
@media (min-width: 720px) {
  .ygzx-list-page .ygzx-card-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 14px;
  }
}
@media (min-width: 1024px) {
  .ygzx-list-page .ygzx-card-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* 首页排版1：4 列 × 2 行占位 */
@media (min-width: 1024px) {
  .ygzx-showcase--layout1 .ygzx-card-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 16px;
  }
}
@media (min-width: 720px) and (max-width: 1023px) {
  .ygzx-showcase--layout1 .ygzx-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 719px) {
  .ygzx-showcase--layout1 .ygzx-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }
}

.ygzx-empty {
  text-align: center;
  color: #999;
  padding: 40px 16px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.ygzx-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
/* 排版1 首页：卡片约 3:4 */
.ygzx-showcase--layout1 .ygzx-card {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
/* 列表页：不锁死比例，避免项目多时页面过高 */
.ygzx-showcase--list .ygzx-card {
  min-height: 300px;
}
.ygzx-showcase--list .ygzx-card--placeholder {
  min-height: 300px;
}
.ygzx-card-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 12px 12px;
  min-height: 0;
}
.ygzx-card-spacer {
  flex: 1;
  min-height: 4px;
}
.ygzx-card-bottom {
  flex-shrink: 0;
  margin-top: auto;
}
.ygzx-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-bottom: 10px;
}
.ygzx-badge {
  flex-shrink: 0;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  background: #c1e2b3;
  color: #fff;
  text-shadow: 0 0 1px rgba(0,0,0,.12);
}
.ygzx-code {
  font-size: 12px;
  color: #888;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ygzx-repay {
  margin: 0 0 10px;
  text-align: center;
  font-size: 12px;
  color: #666;
  line-height: 1.45;
  min-height: 2.9em;
}
.ygzx-rate-block {
  text-align: center;
  margin-bottom: 8px;
}
.ygzx-rate-num {
  font-size: clamp(26px, 4.2vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: #ff5a5a;
  letter-spacing: -0.03em;
}
.ygzx-showcase--layout1 .ygzx-rate-num {
  font-size: clamp(28px, 2.6vw, 36px);
}
.ygzx-rate-pct {
  font-size: 0.55em;
  font-weight: 600;
  margin-left: 1px;
}
.ygzx-rate-label {
  margin-top: 4px;
  font-size: 12px;
  color: #999;
}
.ygzx-term {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 0;
  font-size: 13px;
  color: #666;
}
.ygzx-term-icon {
  color: #999;
  display: flex;
}
.ygzx-progress-wrap {
  margin-bottom: 8px;
}
.ygzx-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #9aa3ad;
  margin-bottom: 4px;
}
.ygzx-progress-track {
  height: 5px;
  background: #e5e5e5;
  border-radius: 2px;
  overflow: hidden;
}
.ygzx-progress-fill {
  height: 100%;
  background: #5bc0de;
  border-radius: 2px;
  transition: width 1s linear;
}
.ygzx-remain {
  margin: 0 0 10px;
  text-align: center;
  font-size: 12px;
  color: #999;
}
.ygzx-start-time {
  margin: 0 0 10px;
  text-align: center;
  font-size: 12px;
  color: #e67e22;
}
.invest-countdown-timer,
.ygzx-countdown-timer {
  display: none;
}
.invest-countdown {
  display: block;
}
.invest-countdown .ygzx-card-btn--disabled.js-invest-wait-btn {
  background: #fff;
  color: #adadad !important;
  border: 1px solid #d4d4d4;
}
.invest-countdown-timer-wrap {
  display: none;
  width: 90%;
  max-width: 185px;
  margin: 10px auto 0;
  text-align: center;
}
.invest-countdown-timer-wrap.is-active {
  display: block;
}
.invest-countdown-clock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
}
.invest-countdown-digit {
  display: inline-block;
  width: 20px;
  min-width: 20px;
  height: 22px;
  padding: 0;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #ef5a50;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}
.invest-countdown-colon {
  color: #ef5a50;
  font-size: 18px;
  font-weight: 700;
  padding: 0 2px;
  line-height: 22px;
}
.invest-countdown-start-wrap {
  display: none;
  width: 90%;
  max-width: 185px;
  margin: 10px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: #999;
}
.invest-countdown-start-wrap.is-active {
  display: block;
}
.invest-countdown-start-time {
  color: #ef5a50;
  font-weight: 700;
}
.is-scheduled-hidden {
  display: none !important;
}
.ygzx-card-btn {
  display: block;
  width: 100%;
  padding: 10px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}
.ygzx-card-btn--primary {
  background: #ff5a5a;
  color: #fff !important;
}
.ygzx-card-btn--primary:hover {
  background: #e84848;
  text-decoration: none;
}
.ygzx-card-btn--disabled {
  background: #e8e8e8;
  color: #888 !important;
  cursor: default;
  pointer-events: none;
}
a.ygzx-card-btn--detail-link {
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
a.ygzx-card-btn--detail-link:hover {
  opacity: 0.92;
  text-decoration: none;
}
.ygzx-calc-link {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #3a8fd6;
  text-decoration: underline;
}
.ygzx-calc-link:hover {
  color: #c8161d;
}
.ygzx-soldout-wrap {
  position: relative;
  overflow: visible;
  z-index: 2;
}
.soldout-stamp--card {
  right: -8px;
  bottom: -12px;
  width: 58px;
  height: 58px;
}

/* 占位卡片 */
.ygzx-card--placeholder {
  border-style: dashed;
  border-color: #ddd;
  background: #fafafa;
  box-shadow: none;
}
.ygzx-card--placeholder .ygzx-card-inner {
  opacity: 0.85;
}
.ygzx-ph-line {
  height: 10px;
  background: #eaeaea;
  border-radius: 2px;
  margin-bottom: 8px;
  max-width: 100%;
}
.ygzx-ph-line--short { max-width: 72%; margin-left: auto; margin-right: auto; }
.ygzx-ph-line--tiny { max-width: 40%; height: 8px; margin: 0 auto 8px; }
.ygzx-ph-rate {
  height: 36px;
  max-width: 55%;
  margin: 4px auto 10px;
  background: linear-gradient(90deg, #ffe0e0, #fff0f0);
  border-radius: 4px;
}
.ygzx-progress-track--ph {
  height: 5px;
  background: #e5e5e5;
  border-radius: 2px;
}
.ygzx-remain--ph { color: #bbb; }

/* 底部统计条 */
.ygzx-stat-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-top: 20px;
  padding: 16px 8px 14px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.ygzx-stat-cell {
  flex: 1 1 auto;
  min-width: 100px;
  text-align: center;
  padding: 6px 10px;
  border-right: 1px solid #e5e5e5;
}
.ygzx-stat-cell:last-child {
  border-right: none;
}
@media (max-width: 900px) {
  .ygzx-stat-cell {
    flex: 1 1 45%;
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 12px 8px;
  }
  .ygzx-stat-bar {
    padding: 8px 4px;
  }
}
.ygzx-stat-cell--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 88px;
}
.ygzx-live {
  display: inline-block;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #ff5a5a;
  border-radius: 2px;
  letter-spacing: 0.04em;
}
.ygzx-stat-brand {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}
.ygzx-stat-num {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}
.ygzx-stat-num--hot {
  color: #ff5a5a;
}
.ygzx-stat-num--dark {
  color: #444;
  font-weight: 700;
}
.ygzx-stat-label {
  font-size: 11px;
  color: #999;
  line-height: 1.35;
}

/* —— 会员等级：简洁双段胶囊（左卡名 / 右 V）—— */
.vip-badge {
  display: inline-flex;
  vertical-align: middle;
  border-radius: 999px;
  padding: 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}
.vip-badge__inner {
  display: flex;
  align-items: stretch;
  border-radius: inherit;
  overflow: hidden;
  min-height: 30px;
}
/* 外圈色调 */
.vip-badge--silver {
  background: linear-gradient(180deg, #edf2f7 0%, #bfc9d6 100%);
}
.vip-badge--gold {
  background: linear-gradient(180deg, #f7d97a 0%, #c9961f 100%);
}
.vip-badge--black {
  background: linear-gradient(180deg, #5a5a5a 0%, #232323 100%);
}
.vip-badge--diamond {
  background: linear-gradient(135deg, #6ee7f9 0%, #7c9bff 100%);
}
.vip-badge__name {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  white-space: nowrap;
}
.vip-badge__lvl {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 8px 14px;
  font-weight: 800;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
/* 普卡 · 银 */
.vip-badge--silver .vip-badge__name {
  color: #243447;
  background: linear-gradient(180deg, #eef3f8 0%, #c6d0dd 100%);
}
.vip-badge--silver .vip-badge__lvl {
  color: #0f172a;
  background: linear-gradient(180deg, #f8fbff 0%, #d3dbe6 100%);
}
/* 金卡 */
.vip-badge--gold .vip-badge__name {
  color: #4a3208;
  background: linear-gradient(180deg, #f4c85f 0%, #b7830d 100%);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
.vip-badge--gold .vip-badge__lvl {
  color: #2a1a00;
  background: linear-gradient(180deg, #fff7e4 0%, #ebcc79 100%);
}
/* 黑卡（左黑右银） */
.vip-badge--black .vip-badge__name {
  color: #f3f4f6;
  background: linear-gradient(180deg, #222222 0%, #000000 100%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.vip-badge--black .vip-badge__lvl {
  color: #0b0b0b;
  background: linear-gradient(180deg, #f1f3f5 0%, #aeb6be 100%);
}
/* 钻石黑卡 */
.vip-badge--diamond .vip-badge__name {
  color: #ecfeff;
  background: linear-gradient(135deg, #0c4a6e 0%, #164e63 38%, #3730a3 100%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.vip-badge--diamond .vip-badge__lvl {
  color: #0f172a;
  background: linear-gradient(180deg, #d9f7ff 0%, #8ec5ff 100%);
}

/* 我的账户：用户名后面的紧凑徽章 */
.account-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}
.account-user-row__badge .vip-badge {
  transform: none;
  font-size: 12px;
  margin-left: 2px;
}
.account-user-row__badge .vip-badge__inner {
  min-height: 24px;
}
.account-user-row__badge .vip-badge__name {
  padding: 4px 8px;
  font-weight: 800;
}
.account-user-row__badge .vip-badge__lvl {
  min-width: 36px;
  padding: 4px 8px;
  font-weight: 900;
}
