:root {
  --accent: #6f66d3;
  --accent-glow: rgba(111, 102, 211, 0.35);
  --accent-light: #8e86eb;
  --bg-dark: #0b0c16;
  --bg-card: #131525;
  --bg-hover: #1c1f36;
  --surface: #17192b;
  --text-main: #f0f2fe;
  --text-muted: #9fa5c4;
  --text-sub: #787f9d;
  --border: rgba(111, 102, 211, 0.22);
  --danger: #ef4444;
  --success: #10b981;
  --warning: #f59e0b;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 顶层外壳 */
.sheath {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 导航栏复用 */
.zenith {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 22, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.harbor {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.emblem {
  display: flex;
  align-items: center;
  min-width: 0;
}

.emblem img {
  height: 34px;
  width: auto;
  display: block;
}

.strand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  min-width: 0;
}

.harbor-nexus {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.2rem;
  transition: all 0.35s ease;
  position: relative;
  word-break: break-word;
}

.harbor-nexus:hover,
.harbor-nexus.active {
  color: var(--text-main);
}

.harbor-nexus.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-light);
  box-shadow: 0 0 8px var(--accent);
}

.trace {
  display: flex;
  align-items: center;
  min-width: 0;
}

.latch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #ffffff;
  padding: 0.6rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: all 0.35s ease;
  cursor: pointer;
  word-break: break-word;
}

.latch:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 102, 211, 0.5);
  color: #ffffff;
}

/* 主内容容器 */
.canopy {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  flex: 1;
}

/* 区块通用标题与导语 */
.vertex {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 1rem;
  white-space: normal;
  word-break: break-word;
}

.script {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  word-break: break-word;
}

/* 1. Hero Block (article) - Reverse Split */
.citadel {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(180deg, rgba(19, 21, 37, 0.95) 0%, rgba(11, 12, 22, 1) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3.5rem 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.citadel-crest {
  flex: 1 1 480px;
  min-width: 0;
}

.citadel-crest .vertex {
  font-size: 2.3rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.beacon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(111, 102, 211, 0.12);
  border: 1px solid rgba(111, 102, 211, 0.3);
  color: var(--accent-light);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.cluster {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.haven {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid rgba(111, 102, 211, 0.15);
  border-radius: 8px;
  padding: 1.1rem;
  transition: all 0.35s ease;
  min-width: 0;
}

.haven:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  background: var(--bg-hover);
}

.glyph {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(111, 102, 211, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
}

.glyph svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pocket {
  flex: 1;
  min-width: 0;
}

.pocket-vertex {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
  word-break: break-word;
}

.pocket-script {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
}

/* Hero Display Panel (Data UI) */
.capsule {
  flex: 1 1 450px;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.capsule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.capsule-crest {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.ribbon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.spark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.2rem;
}

.node {
  background: var(--surface);
  border: 1px dashed rgba(111, 102, 211, 0.3);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}

.node-vertex {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.node-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-light);
  font-family: monospace;
}

/* 2. Permission Panel (div) - M-of-N Strategy */
.sanctum {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.sanctum-crest {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.haven-sheath {
  background: var(--surface);
  border: 1px solid rgba(111, 102, 211, 0.18);
  border-radius: 10px;
  padding: 1.8rem;
  transition: all 0.35s ease;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.haven-sheath:hover {
  border-color: var(--accent-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.haven-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(111, 102, 211, 0.2);
  color: var(--accent-light);
  align-self: flex-start;
  margin-bottom: 1rem;
}

/* 3. Data Grid Block (aside) - Allowance & Revoke */
.vault {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.vault-crest {
  max-width: 800px;
  margin-bottom: 2rem;
}

.table-sheath {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(111, 102, 211, 0.15);
  border-radius: 8px;
  background: var(--bg-card);
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.table th {
  background: rgba(11, 12, 22, 0.8);
  color: var(--text-muted);
  font-weight: 600;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(111, 102, 211, 0.18);
  white-space: nowrap;
}

.table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  vertical-align: middle;
}

.table tr:hover td {
  background: var(--bg-hover);
}

.risk-high {
  color: var(--danger);
  font-weight: 700;
  background: rgba(239, 68, 68, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  display: inline-block;
}

.risk-low {
  color: var(--success);
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  display: inline-block;
}

.trigger-latch {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
  display: inline-block;
}

.trigger-latch:hover {
  background: var(--danger);
  color: #ffffff;
  border-color: var(--danger);
}

/* 4. Workflow Steps (section) */
.cocoon {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  margin-bottom: 3.5rem;
}

.flow-cluster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.flow-step {
  background: var(--surface);
  border: 1px solid rgba(111, 102, 211, 0.15);
  border-radius: 8px;
  padding: 1.8rem 1.4rem;
  position: relative;
  transition: all 0.35s ease;
  min-width: 0;
}

.flow-step:hover {
  border-color: var(--accent-light);
  transform: translateY(-3px);
}

.flow-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-light);
  opacity: 0.6;
  margin-bottom: 0.8rem;
  font-family: monospace;
}

/* 页脚 (section) */
.nadir {
  background: #07080f;
  border-top: 1px solid rgba(111, 102, 211, 0.15);
  padding: 3.5rem 1.5rem 2.5rem;
  margin-top: auto;
}

.bedrock {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}

.stratum {
  flex: 1 1 300px;
  min-width: 0;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}

.anchor-cluster {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  min-width: 0;
}

.anchor-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.anchor-vertex {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.anchor-nexus {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.35s ease;
  word-break: break-word;
}

.anchor-nexus:hover {
  color: var(--accent-light);
}

.sub-stratum {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .harbor {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .strand {
    gap: 0.8rem;
  }
  .citadel,
  .sanctum,
  .vault,
  .cocoon {
    padding: 1.8rem 1.25rem;
  }
  .vertex {
    font-size: 1.6rem;
  }
  .citadel-crest .vertex {
    font-size: 1.7rem;
  }
  .trio,
  .flow-cluster {
    grid-template-columns: 1fr;
  }
}

.harbor-zenith{
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(11, 12, 22, 0.88);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(111, 102, 211, 0.22);
        }

.harbor-zenith .harbor-harbor{
            max-width: 1320px;
            margin: 0 auto;
            padding: 0.85rem 1.5rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
        }

.harbor-zenith .harbor-emblem{
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

.harbor-zenith .harbor-emblem img{
            height: 38px;
            width: auto;
            display: block;
        }

.harbor-zenith .harbor-strand{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1.5rem;
        }

.harbor-zenith .harbor-harbor-nexus{
            color: #9fa5c4;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            padding: 0.4rem 0.8rem;
            border-radius: 8px;
            transition: all 0.35s ease;
        }

.harbor-zenith .harbor-harbor-nexus:hover, .harbor-zenith .harbor-harbor-nexus.active{
            color: #ffffff;
            background: rgba(111, 102, 211, 0.18);
            border: 1px solid rgba(111, 102, 211, 0.3);
        }

.harbor-zenith .harbor-trace{
            display: flex;
            align-items: center;
        }

.harbor-zenith .harbor-latch{
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, #6f66d3 0%, #8e86eb 100%);
            color: #ffffff;
            text-decoration: none;
            padding: 0.65rem 1.4rem;
            font-size: 0.92rem;
            font-weight: 600;
            border-radius: 8px;
            border: none;
            box-shadow: 0 4px 16px rgba(111, 102, 211, 0.35);
            transition: all 0.35s ease;
            cursor: pointer;
        }

.harbor-zenith .harbor-latch:hover{
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(111, 102, 211, 0.5);
            background: linear-gradient(135deg, #7c73df 0%, #9a93f0 100%);
        }

@media (max-width: 768px){.harbor-zenith .harbor-harbor{
                flex-direction: column;
                gap: 1rem;
            }

.harbor-zenith .harbor-strand{
                width: 100%;
                justify-content: center;
            }}

.harbor-zenith {
    background: rgb(11, 12, 22);
    background-image: none;
}

.anchor-anchor {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    word-break: break-word;
    color: var(--text-main);
}
.anchor-anchor,
.anchor-anchor *,
.anchor-anchor *::before,
.anchor-anchor *::after {
    box-sizing: border-box;
}

.anchor-anchor nav,
.anchor-anchor div,
.anchor-anchor section,
.anchor-anchor article,
.anchor-anchor aside,
.anchor-anchor p,
.anchor-anchor h1,
.anchor-anchor h2,
.anchor-anchor h3,
.anchor-anchor h4,
.anchor-anchor h5,
.anchor-anchor h6,
.anchor-anchor a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.anchor-anchor p,
.anchor-anchor h1,
.anchor-anchor h2,
.anchor-anchor h3,
.anchor-anchor h4,
.anchor-anchor h5,
.anchor-anchor h6 {
    text-decoration: none;
}

.anchor-anchor img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.anchor-anchor {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.anchor-anchor a,
.anchor-anchor a:hover,
.anchor-anchor a:focus,
.anchor-anchor a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.anchor-anchor .anchor-script{
            color: #9fa5c4;
            font-size: 1.05rem;
            line-height: 1.7;
            margin-bottom: 1.8rem;
        }

.anchor-anchor{
            max-width: 1280px;
            margin: 0 auto;
        }

.anchor-anchor .anchor-bedrock{
            display: flex;
            flex-wrap: wrap;
            gap: 3rem;
            justify-content: space-between;
            margin-bottom: 3rem;
        }

.anchor-anchor .anchor-stratum-brand{
            flex: 1 1 300px;
        }

.anchor-anchor .anchor-stratum-brand h4{
            font-size: 1.5rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 1rem;
            letter-spacing: 0.5px;
        }

.anchor-anchor .anchor-stratum-col{
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

.anchor-anchor .anchor-stratum-col h5{
            color: #ffffff;
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }

.anchor-anchor .anchor-stratum-col a{
            color: #787f9d;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.35s ease;
        }

.anchor-anchor .anchor-stratum-col a:hover{
            color: #8e86eb;
        }

.anchor-anchor .anchor-copyright-ribbon{
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 1.8rem;
            text-align: center;
            color: #787f9d;
            font-size: 0.88rem;
        }