/* WOW 官网 · 资产映射领取组件 + 安全公告（2026-10-30）
   供 presale.html#release 内嵌使用；配色与 IDO 页一致（青绿主色、浅色卡片）。 */

/* ===== 安全公告条 ===== */
.wow-security-note {
  border-bottom: 1px solid #f0dcb4;
  background: linear-gradient(90deg, #fff8e8, #fffdf7 55%, #fff8e8);
  color: #6b4d16;
}
.wow-security-note[hidden] { display: none !important; }
.wow-security-note-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(1248px, 100%);
  margin: 0 auto;
  padding: 12px 24px;
  font-size: 13px;
  line-height: 1.75;
}
.wow-security-note-tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff1d6;
  border: 1px solid #efcf97;
  color: #a4600c;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.wow-security-note-inner p { margin: 0; flex: 1 1 auto; }
.wow-security-note-inner b { color: #8a4a09; }
.wow-security-note-close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: -2px -4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #a4600c;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.wow-security-note-close:hover { background: #fff1d6; }

/* ===== 领取组件 ===== */
.claim-widget {
  --cw-ink: #122b42;
  --cw-muted: #617789;
  --cw-line: #dce9ef;
  --cw-soft: #f6fbfd;
  --cw-teal: #078f9f;
  --cw-green: #0b7a63;
  position: relative;
  margin: 20px 0 24px;
  padding: 24px 26px;
  border: 1px solid var(--cw-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(24, 74, 88, .08);
  scroll-margin-top: 96px;
}
.claim-widget::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 20px 0 0 20px;
  background: linear-gradient(180deg, #26c6b0, #078f9f);
}
.cw-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.cw-eyebrow {
  margin: 0 0 6px;
  color: var(--cw-teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.cw-head h2 {
  margin: 0 0 8px;
  color: var(--cw-ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
}
.cw-sub {
  margin: 0;
  max-width: 760px;
  color: var(--cw-muted);
  font-size: 13px;
  line-height: 1.75;
}
.cw-sub b { color: var(--cw-green); }

.cw-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.cw-stat {
  padding: 14px 16px;
  border: 1px solid var(--cw-line);
  border-radius: 14px;
  background: linear-gradient(160deg, var(--cw-soft), #fff);
  min-width: 0;
}
.cw-stat > span {
  display: block;
  margin-bottom: 7px;
  color: var(--cw-muted);
  font-size: 12px;
  font-weight: 700;
}
.cw-stat > b {
  color: var(--cw-ink);
  font-size: 17px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}
.cw-stat > em {
  margin-left: 5px;
  color: var(--cw-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.cw-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(7, 143, 159, .28);
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(7, 143, 159, .08), #fff 60%);
}
.cw-amount { min-width: 0; }
.cw-amount > span {
  display: block;
  margin-bottom: 6px;
  color: var(--cw-muted);
  font-size: 12px;
  font-weight: 700;
}
.cw-amount > b {
  color: var(--cw-green);
  font-size: 34px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  word-break: break-all;
}
.cw-amount > em {
  margin-left: 6px;
  color: var(--cw-muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}
.cw-buttons {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
}
.cw-btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 13px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(120deg, #0ea77c, #078f9f);
  box-shadow: 0 10px 22px rgba(7, 143, 159, .22);
  cursor: pointer;
  transition: transform .18s, filter .18s;
  white-space: nowrap;
}
.cw-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.cw-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.cw-rule {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed rgba(7, 143, 159, .3);
  border-radius: 10px;
  background: #f6fcfd;
  color: var(--cw-muted);
  font-size: 12px;
  line-height: 1.7;
}
.cw-ref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--cw-line);
  border-radius: 10px;
  background: var(--cw-soft);
  color: var(--cw-muted);
  font-size: 12.5px;
}
.cw-ref b { color: var(--cw-green); font-size: 14px; }
.cw-btn-sm {
  width: auto;
  padding: 8px 14px;
  font-size: 12.5px;
  border-radius: 9px;
  box-shadow: none;
}

.cw-status {
  margin-top: 14px;
  color: var(--cw-muted);
  font-size: 13px;
  line-height: 1.8;
  word-break: break-all;
  min-height: 20px;
}
.cw-status b { color: var(--cw-green); }
.cw-status a { color: #067d98; }

.cw-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--cw-line);
  color: var(--cw-muted);
  font-size: 12px;
}
.cw-foot b { color: #20374d; font-weight: 800; }
.cw-foot a { color: #067d98; font-weight: 700; text-decoration: none; }
.cw-foot a:hover { text-decoration: underline; }

/* 状态标签（沿用 claim.js 的 pill 类名） */
.claim-widget .pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--cw-line);
  border-radius: 999px;
  background: var(--cw-soft);
  color: var(--cw-muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.claim-widget .pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .72;
}
.claim-widget .pill.ok { color: #0b7a63; border-color: rgba(11, 122, 99, .35); background: #f1fdf8; }
.claim-widget .pill.warn { color: #a86a12; border-color: rgba(217, 146, 32, .35); background: #fffaf0; }
.claim-widget .pill.err { color: #c0392b; border-color: rgba(192, 57, 43, .30); background: #fdf3f2; }

/* 旧「价值释放」面板已由资产映射补偿取代：隐藏，避免旧接口 409 触发
   “领取信息加载失败，请刷新重试”并造成口径混淆 */
#nft-panel .ai-page-heading,
#nft-panel #my-assets,
#nft-panel .gv-section[aria-label="每日 2% 价值权益"],
#nft-panel #ai-records,
#nft-panel #gv-mechanism { display: none !important; }

@media (max-width: 900px) {
  .cw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .claim-widget { padding: 18px 16px; border-radius: 16px; }
  .cw-head { flex-direction: column; gap: 10px; }
  .cw-head h2 { font-size: 19px; }
  .cw-grid { gap: 9px; }
  .cw-stat { padding: 12px; }
  .cw-stat > b { font-size: 15px; }
  .cw-action { flex-direction: column; align-items: stretch; }
  .cw-amount > b { font-size: 28px; }
  .cw-buttons { width: 100%; }
  .cw-btn { width: 100%; }
  .wow-security-note-inner { padding: 10px 14px; font-size: 12px; }
}
