/* ========================================
   黑料网区块链存证与数据浏览器 - 主样式表
   设计风格：深灰+青绿区块链科技风
   布局：移动端优先，flex/grid响应式
   ======================================== */

:root {
  --x25: #00BCD4;
  --n19: #004D40;
  --u64: #1A2332;
  --t83: #243447;
  --d75: #76FF03;
  --j28: #B0BEC5;
  --d89: #ECEFF1;
  --g39: #607D8B;
  --m94: rgba(0, 188, 212, 0.2);
  --q11: 4px;
  --j48: 0 2px 12px rgba(0, 188, 212, 0.15);
  --p74: 0 8px 32px rgba(0, 188, 212, 0.2);
  --x67: 'Courier New', 'SF Mono', 'Fira Code', monospace;
  --y32: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --y83: cubic-bezier(0.23, 1, 0.32, 1);
  --h23: cubic-bezier(0.77, 0, 0.175, 1);
  --y2: 1200px;
}

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--y32);
  background-color: var(--u64);
  color: var(--j28);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--x25);
  text-decoration: none;
  transition: color 0.2s var(--y83);
}

a:hover {
  color: var(--d75);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--d89);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.625rem; }
}

/* 容器 */
.container {
  width: 100%;
  max-width: var(--y2);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* 导航栏 */
.nf-col {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 35, 50, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--m94);
  padding: 0.75rem 0;
  transition: transform 0.3s var(--y83);
}

.nf-col .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

._hz9ba {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--x25);
}

._hz9ba svg {
  width: 28px;
  height: 28px;
}

.zt-wrap {
  display: none;
  list-style: none;
  gap: 1.5rem;
}

.zt-wrap a {
  color: var(--j28);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s var(--y83);
}

.zt-wrap a:hover {
  color: var(--x25);
}

.t5l5v6 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.t5l5v6 span {
  width: 22px;
  height: 2px;
  background: var(--d89);
  border-radius: 2px;
  transition: transform 0.3s var(--y83);
}

@media (min-width: 768px) {
  .zt-wrap {
    display: flex;
  }
  .t5l5v6 {
    display: none;
  }
}

/* 移动端菜单 */
._j55ov {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: rgba(26, 35, 50, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--m94);
  padding: 1rem;
  z-index: 999;
}

._j55ov.active {
  display: block;
}

._j55ov a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--j28);
  border-radius: var(--q11);
}

._j55ov a:hover {
  background: var(--t83);
  color: var(--x25);
}

/* 首屏英雄区 */
.d9r3w9 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1rem 4rem;
  overflow: hidden;
}

.hp-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hp-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.gk-pill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 35, 50, 0.7) 0%, rgba(26, 35, 50, 0.95) 100%);
  z-index: 1;
}

.zt-line {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.d9r3w9 h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--x25), var(--d75));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .d9r3w9 h1 {
    font-size: 3.5rem;
  }
}

._z96gy {
  font-size: 1.125rem;
  color: var(--j28);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* 搜索框 */
._4us89 {
  display: flex;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--q11);
  overflow: hidden;
  box-shadow: var(--p74);
}

._4us89 input {
  flex: 1;
  padding: 1rem 1.25rem;
  background: var(--t83);
  border: 1px solid var(--m94);
  border-right: none;
  color: var(--d89);
  font-family: var(--x67);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

._4us89 input:focus {
  border-color: var(--x25);
}

._4us89 input::placeholder {
  color: var(--g39);
}

._4us89 button {
  padding: 1rem 1.5rem;
  background: var(--x25);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--y83), transform 0.16s var(--y83);
}

._4us89 button:hover {
  background: #00ACC1;
}

._4us89 button:active {
  transform: scale(0.97);
}

/* 区块 */
.bw-list {
  padding: 4rem 0;
}

.e1m5a8 {
  text-align: center;
  margin-bottom: 3rem;
}

.e1m5a8 h2 {
  margin-bottom: 0.75rem;
}

.e1m5a8 p {
  color: var(--g39);
  max-width: 600px;
  margin: 0 auto;
}

/* 卡片网格 */
.grid {
  display: grid;
  gap: 1.5rem;
}

._xyw69 { grid-template-columns: 1fr; }
.tx-mark { grid-template-columns: 1fr; }
.d6q1s4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  ._xyw69 { grid-template-columns: repeat(2, 1fr); }
  .tx-mark { grid-template-columns: repeat(3, 1fr); }
  .d6q1s4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .d6q1s4 { grid-template-columns: repeat(4, 1fr); }
}

/* 卡片 */
._edpxz {
  background: var(--t83);
  border: 1px solid var(--m94);
  border-radius: var(--q11);
  padding: 1.5rem;
  transition: transform 0.2s var(--y83), box-shadow 0.2s var(--y83);
}

._edpxz:hover {
  transform: translateY(-2px);
  box-shadow: var(--p74);
}

.rp-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.mv-pill {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 188, 212, 0.1);
  border-radius: var(--q11);
  color: var(--x25);
}

._q0z0w {
  font-size: 1rem;
  color: var(--d89);
}

._9ollm {
  font-size: 0.875rem;
  color: var(--g39);
  line-height: 1.6;
}

/* 区块列表 */
.pn-item {
  list-style: none;
}

.x3j8r4 {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--t83);
  border: 1px solid var(--m94);
  border-radius: var(--q11);
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}

.x3j8r4:hover {
  border-color: var(--x25);
}

.lq-line {
  font-family: var(--x67);
  font-size: 0.875rem;
  color: var(--x25);
  font-weight: 700;
}

._zgval {
  font-family: var(--x67);
  font-size: 0.75rem;
  color: var(--g39);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nf-line {
  font-size: 0.75rem;
  color: var(--g39);
  white-space: nowrap;
}

/* 验证状态 */
._3eypb {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.verify-badge--t93 {
  background: rgba(118, 255, 3, 0.1);
  color: var(--d75);
  border: 1px solid rgba(118, 255, 3, 0.3);
}

.verify-badge--q63 {
  background: rgba(0, 188, 212, 0.1);
  color: var(--x25);
  border: 1px solid rgba(0, 188, 212, 0.3);
}

/* 节点状态 */
._rjgak {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.sl-foot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--d75);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* 哈希值动画 */
._mxgsz {
  font-family: var(--x67);
  font-size: 0.8125rem;
  color: var(--x25);
  word-break: break-all;
  padding: 0.75rem 1rem;
  background: rgba(0, 188, 212, 0.05);
  border: 1px solid var(--m94);
  border-radius: var(--q11);
}

/* 按钮 */
.i4z2a6 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--q11);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--y83), transform 0.16s var(--y83);
}

.i4z2a6:active {
  transform: scale(0.97);
}

.l7y4j5 {
  background: var(--x25);
  color: #fff;
}

.l7y4j5:hover {
  background: #00ACC1;
  color: #fff;
}

.e7h6a4 {
  background: transparent;
  color: var(--x25);
  border: 1px solid var(--x25);
}

.e7h6a4:hover {
  background: rgba(0, 188, 212, 0.1);
  color: var(--x25);
}

.bx-slot {
  background: var(--d75);
  color: #1A2332;
}

.bx-slot:hover {
  background: #64DD17;
  color: #1A2332;
}

/* 面包屑 */
.bx-zone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: var(--g39);
  flex-wrap: wrap;
}

.bx-zone a {
  color: var(--g39);
}

.bx-zone a:hover {
  color: var(--x25);
}

.bx-zone span {
  color: var(--j28);
}

/* 页脚 */
._6fdu7 {
  background: #141C28;
  border-top: 1px solid var(--m94);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

._r47ja {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  ._r47ja {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.wd-chip {
  color: var(--x25);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.q1q3d7 {
  font-size: 0.8125rem;
  color: var(--g39);
  line-height: 1.7;
}

.n6n8z1 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--d89);
  margin-bottom: 0.75rem;
}

.s9u8s2 {
  list-style: none;
}

.s9u8s2 li {
  margin-bottom: 0.5rem;
}

.s9u8s2 a {
  font-size: 0.8125rem;
  color: var(--g39);
}

.s9u8s2 a:hover {
  color: var(--x25);
}

._exp4b {
  border-top: 1px solid var(--m94);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--g39);
}

/* FAQ */
.i5f5r4 {
  border: 1px solid var(--m94);
  border-radius: var(--q11);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

._to277 {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--t83);
  border: none;
  text-align: left;
  color: var(--d89);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}

._to277:hover {
  background: rgba(0, 188, 212, 0.05);
}

._to277::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--x25);
  transition: transform 0.3s var(--y83);
}

.i5f5r4.active ._to277::after {
  transform: rotate(45deg);
}

.r8v9b2 {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--y83), padding 0.3s;
  font-size: 0.875rem;
  color: var(--g39);
  line-height: 1.7;
}

.i5f5r4.active .r8v9b2 {
  padding: 1rem 1.25rem;
  max-height: 500px;
}

/* 统计数字 */
.bw-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .bw-wrap {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gk-slot {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--t83);
  border: 1px solid var(--m94);
  border-radius: var(--q11);
}

._zh3eq {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--x25);
  font-family: var(--x67);
}

._f9oaf {
  font-size: 0.8125rem;
  color: var(--g39);
  margin-top: 0.25rem;
}

/* 标签 */
.l1t6w5 {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: rgba(0, 188, 212, 0.1);
  border: 1px solid var(--m94);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--x25);
}

/* 进度条 */
.bw-zone {
  width: 100%;
  height: 6px;
  background: rgba(0, 188, 212, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.r8z1b5 {
  height: 100%;
  background: linear-gradient(90deg, var(--x25), var(--d75));
  border-radius: 3px;
  transition: width 1s var(--h23);
}

/* 表格 */
._qbrye {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

._qbrye th {
  padding: 0.75rem 1rem;
  background: var(--t83);
  color: var(--g39);
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid var(--m94);
}

._qbrye td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 188, 212, 0.08);
  color: var(--j28);
}

._qbrye tr:hover td {
  background: rgba(0, 188, 212, 0.03);
}

._qbrye .gk-mark {
  font-family: var(--x67);
  font-size: 0.75rem;
  color: var(--x25);
}

/* 页面内容区 */
.w1x2l3 {
  padding-top: 5rem;
  min-height: 80vh;
}

.vw-zone {
  margin-bottom: 1rem;
}

._qkh73 {
  color: var(--g39);
  margin-bottom: 2rem;
  max-width: 700px;
  line-height: 1.8;
}

/* 内容文章 */
._dnc44 {
  max-width: 800px;
  line-height: 1.9;
}

._dnc44 h2 {
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
}

._dnc44 h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.25rem;
}

._dnc44 p {
  margin-bottom: 1rem;
  color: var(--j28);
}

._dnc44 ul, ._dnc44 ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

._dnc44 li {
  margin-bottom: 0.5rem;
}

._dnc44 code {
  font-family: var(--x67);
  background: rgba(0, 188, 212, 0.08);
  padding: 0.125rem 0.375rem;
  border-radius: 2px;
  font-size: 0.8125rem;
  color: var(--x25);
}

._dnc44 pre {
  background: #141C28;
  border: 1px solid var(--m94);
  border-radius: var(--q11);
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

._dnc44 pre code {
  background: none;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--j28);
}

/* 相关链接 */
.qr-pan {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--m94);
}

.qr-pan h3 {
  margin-bottom: 1rem;
}

.qr-pan ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.qr-pan a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--j28);
  font-size: 0.875rem;
}

.qr-pan a::before {
  content: '→';
  color: var(--x25);
}

.qr-pan a:hover {
  color: var(--x25);
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hashReveal {
  from {
    opacity: 0;
    letter-spacing: 4px;
  }
  to {
    opacity: 1;
    letter-spacing: normal;
  }
}

.xz-pan {
  animation: fadeInUp 0.6s var(--y83) forwards;
  opacity: 0;
}

.bx-row { animation-delay: 0.1s; }
._8ce14 { animation-delay: 0.2s; }
._18rit { animation-delay: 0.3s; }
._q2giq { animation-delay: 0.4s; }

/* 区块链连接线 */
.xz-card {
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, var(--x25), transparent);
  margin: 0 auto;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--u64);
}

::-webkit-scrollbar-thumb {
  background: var(--n19);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--x25);
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* 打印样式 */
@media print {
  .nf-col, ._6fdu7, ._j55ov {
    display: none;
  }
  body {
    background: #fff;
    color: #333;
  }
}
