:root {
  --bg: #f7f8fa;
  --bg-elev: #ffffff;
  --bg-card: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --text: #1a1a1a;
  --muted: #444444;
  --gold: #c9a063;
  --gold-dim: rgba(201, 160, 99, 0.15);
  --buy: #16a34a;
  --hold: #c9a063;
  --sell: #dc2626;
  --danger: #dc2626;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.65;
}

body { padding: 20px 16px 48px; }
.app { max-width: 720px; margin: 0 auto; }

.header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
h1 { font-size: 20px; letter-spacing: 0.02em; color: #111; font-weight: 700; }
.sub { color: #444; font-size: 12px; margin-top: 2px; }

.icon-btn { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 12px; cursor: pointer; }

.search-card, .card, .panel { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.search-card { padding: 14px; margin-bottom: 16px; }
.search-row { display: flex; gap: 8px; }

input[type="text"], input[type="url"], input[type="tel"] {
  width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--line);
  background: #ffffff; color: #1a1a1a; padding: 0 14px; font-size: 16px; outline: none;
}
input:focus { border-color: rgba(201, 160, 99, 0.6); }

button.primary {
  height: 48px; padding: 0 18px; border: 0; border-radius: 12px;
  background: linear-gradient(180deg, #f0d48a, #c9a14a); color: #1a1406; font-weight: 700;
  cursor: pointer; white-space: nowrap;
}

.hint { margin-top: 10px; color: #444; font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { border: 1px solid #e5e7eb; background: #f3f4f6; color: #1a1a1a; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 500; cursor: pointer; }
.status { color: #444; font-size: 13px; margin: 8px 2px 16px; min-height: 18px; }

.result { display: none; }
.result.show { display: block; }
.paywall { display: none; }
.paywall.show { display: block; }

.head-row { display: flex; justify-content: space-between; gap: 12px; padding: 18px 18px 8px; }
.name-block .code { color: var(--gold); font-size: 13px; letter-spacing: 0.06em; }
.name-block h2 { font-size: 26px; margin: 4px 0; color: #111; }
.industry { color: #444; font-size: 13px; }

.badge { align-self: flex-start; padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.badge.buy { background: rgba(22, 163, 74, 0.12); color: var(--buy); }
.badge.hold { background: var(--gold-dim); color: var(--hold); }
.badge.sell { background: rgba(220, 38, 38, 0.12); color: var(--sell); }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.cell { background: #fff; padding: 14px 16px; }
.cell .k { color: #444; font-size: 12px; }
.cell .v { margin-top: 4px; font-size: 16px; font-weight: 600; }

.note { padding: 16px 18px 18px; color: #333; line-height: 1.6; font-size: 14px; }

.notice { margin-top: 16px; padding: 16px 18px 18px; color: #222; }
.notice h3 { font-size: 15px; margin-bottom: 10px; color: var(--danger) !important; font-weight: 700; }
.notice ol, .notice li { padding-left: 18px; font-size: 14px; line-height: 1.7; }
.notice li + li { margin-top: 6px; }





#intro h3 { color: var(--danger) !important; }
#intro p { color: var(--danger) !important; font-weight: 600; }

.panel { display: none; padding: 16px; margin-top: 16px; }
.panel.open { display: block; }

button.ghost { height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
button.ghost.slim { height: 40px; padding: 0 12px; font-size: 13px; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 16px; }
.tab { border: 1px solid var(--line); background: #ffffff; color: #333; border-radius: 999px; padding: 8px 12px; font-size: 13px; cursor: pointer; }
.tab.on { color: #1a1406; background: linear-gradient(180deg, #f0d48a, #c9a14a); border-color: transparent; font-weight: 700; }

.view { display: none; }
.view.show { display: block; }

.list { display: flex; flex-direction: column; gap: 12px; }
.article-card { padding: 16px 18px; cursor: pointer; }
.article { padding: 18px; }
.article .body { color: #333; font-size: 15px; line-height: 1.75; white-space: pre-wrap; }

.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 16px; }
@media (max-width: 640px) { .plan-grid { grid-template-columns: 1fr; } }

.qr { width: 260px; height: 260px; object-fit: contain; background: #fff; border-radius: 12px; padding: 10px; }
.order-line { margin: 14px 0; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; color: #555; font-size: 13px; }
.order-line code { color: var(--gold); font-size: 16px; }
.pay-box { padding: 8px 18px 18px; text-align: center; }
.pay-price strong { color: var(--gold); font-size: 28px; }

.modal { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: grid; place-items: center; padding: 16px; z-index: 40; }
.modal[hidden] { display: none !important; }
.modal-card { width: min(420px, 100%); background: #ffffff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }

footer { margin-top: 28px; color: #666; font-size: 12px; text-align: center; line-height: 1.6; }

@media (max-width: 480px) {
  body { padding: 12px 10px 32px; font-size: 14px; }
  .search-row { flex-direction: column; }
  .search-row button.primary { width: 100%; }
  .qr { width: 180px; height: 180px; }
  .head-row { flex-direction: column; align-items: flex-start; }
}

#paywall, #vip-paywall { display: none !important; }
#paywall.show, #vip-paywall.show { display: block !important; }

.plan-card {
  padding: 18px;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.plan-card ul {
  color: #444;
  font-size: 13px;
  line-height: 1.7;
  padding-left: 18px;
  margin: 8px 0 14px;
}

.plan-card li {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0 16px;
}

@media (max-width: 640px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}




#members-gate {
  margin-bottom: 12px;
}

#members-gate .actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

#members-gate button {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
}

#member-tabs {
  margin: 16px 0 12px;
  padding-left: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-card {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.plan-card .level-tag {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-dim);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.plan-card .price {
  color: var(--gold);
  font-size: 32px;
  font-weight: 800;
  margin: 6px 0 4px;
  line-height: 1.1;
}

.plan-card .hint {
  color: #666;
  font-size: 13px;
  margin-bottom: 10px;
}

.plan-card ul {
  color: #333;
  font-size: 13px;
  line-height: 1.7;
  padding-left: 18px;
  margin: 8px 0 16px;
}

.plan-card li {
  margin-bottom: 4px;
}


.article-card .level-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gold-dim);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.article-card h2 {
  font-size: 16px;
  margin: 4px 0 6px;
  color: #111;
  line-height: 1.4;
}

.article-card p {
  color: #555;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.article-card h2 {
  font-size: 16px !important;
  line-height: 1.4;
}


/* 取消特定行的红色，改回普通黑色 
.notice ol > li:nth-of-type(2),
#intro ol > li:nth-of-type(2),
.notice li[style*="dc2626"],
#intro li[style*="dc2626"] {
  color: #222 !important;
  font-weight: normal !important;
}*/


.qr {
  width: 360px !important;
  height: 360px !important;
  max-width: 95%;
  object-fit: contain;
}

.order-line code {
  color: #dc2626 !important;
  font-weight: 600;
}
/* 普通红色#dc2626  黑色#111 */
.plan-card .price {
  color: #111 !important;
}

.article h2 {
  font-size: 18px !important;
}



.notice ol {
  padding-left: 20px;      /* 整个列表左边缩进 20px */
}
.notice li {
  padding-left: 4px !important;  /* 每个列表项的文字和数字之间只留 4px 间隙 */
}


/* 文章内所有图片自动缩小适配 */
.article img,
.shots img,
#art-public-imgs img,
#art-private img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  display: block;
  margin: 12px 0;
  border-radius: 12px;
  object-fit: contain;
}





/* 市场切换按钮 */
.market-switch {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.market-btn {
  padding: 3px 10px !important;
  height: 28px !important;
  line-height: 1 !important;
  border-radius: 14px !important;
  font-size: 12px !important;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
}

.market-btn.active {
  background: linear-gradient(180deg, #f0d48a, #c9a14a) !important;
  color: #1a1406 !important;
  border-color: transparent !important;
  font-weight: 600 !important;
}



/* 鼠标悬停效果（可选） */
.market-btn:hover:not(.active) {
  border-color: #f59e0b;
  color: #d97706;
}





