:root {
  --color-bg: #0b0f19;
  --color-surface: rgba(21, 86, 238, 0.06);
  --color-surface-hover: rgba(21, 86, 238, 0.12);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-focus: rgba(21, 86, 238, 0.5);
  --color-primary: #1556ee;
  --color-primary-accent: #ff5436;
  --color-gradient: linear-gradient(135deg, #1556ee 0%, #7a22ff 50%, #ff5436 100%);
  --color-whisper-main: #f0f4fd;
  --color-whisper-sub: #94a3b8;
  --radius-main: 16px;
  --transition-fast: 0.25s ease;
}

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

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

/* 顶层包裹器 */
.den-vault {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 导航栏标准样式继承 */
.scent-crown {
  width: 100%;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.scent-sheath {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

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

.scent-crest img {
  height: 36px;
  width: auto;
  display: block;
}

.scent-pack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.prowl-trace {
  color: var(--color-whisper-sub);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  word-break: keep-all;
}

.prowl-trace:hover,
.prowl-trace.active {
  color: var(--color-whisper-main);
}

.prowl-trace.active {
  font-weight: 700;
  position: relative;
}

.prowl-trace.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.blaze-spark {
  padding: 10px 22px;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(21, 86, 238, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  word-break: keep-all;
}

.blaze-spark:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 86, 238, 0.6);
}

/* 主容器 */
.canopy-den {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  flex: 1;
}

/* Hero 首屏 (cinematic_strip 同族变体) */
.blaze-sheath {
  width: 100%;
  padding: 64px 0 48px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--color-border);
}

.blaze-den {
  flex: 1 1 500px;
  min-width: 0;
}

.pyre-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-focus);
  border-radius: 20px;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.blaze-roar {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  white-space: normal;
}

.blaze-whisper {
  font-size: 1.1rem;
  color: var(--color-whisper-sub);
  margin-bottom: 32px;
  max-width: 620px;
  line-height: 1.7;
}

.ignite-den {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.pounce-spark {
  padding: 12px 28px;
  background: var(--color-gradient);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 20px rgba(122, 34, 255, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pounce-spark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(122, 34, 255, 0.5);
}

.prowl-spark {
  padding: 12px 24px;
  background: var(--color-surface);
  color: var(--color-whisper-main);
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.prowl-spark:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-border-focus);
}

.blaze-vault {
  flex: 1 1 420px;
  min-width: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-main);
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.blaze-cluster {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blaze-fang {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pelt-rune {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(21, 86, 238, 0.15);
  border: 1px solid var(--color-border-focus);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.pelt-whisper {
  font-size: 0.95rem;
  color: var(--color-whisper-sub);
}

.pelt-roar {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-whisper-main);
  margin-bottom: 4px;
}

/* 模块 2: 精选高分扩展推荐网格 (curated_gallery) */
.ignite-sheath {
  padding: 72px 0;
  border-bottom: 1px solid var(--color-border);
}

.ignite-roar {
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  text-align: center;
}

.ignite-whisper {
  font-size: 1rem;
  color: var(--color-whisper-sub);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px auto;
}

.pelt-visage {
  width: 100%;
  border-radius: var(--radius-main);
  border: 1px solid var(--color-border);
  margin-bottom: 40px;
  display: block;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.burrow-vault {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pelt-canopy {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-main);
  padding: 28px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pelt-canopy:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-focus);
  box-shadow: 0 12px 30px rgba(21, 86, 238, 0.15);
}

.burrow-fang {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.pounce-trace {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: gap var(--transition-fast);
}

.pounce-trace:hover {
  gap: 10px;
}

/* 模块 3: 视觉美学：千款色彩主题一键换装 (theme_customization - <article>) */
.burrow-sheath {
  padding: 72px 0;
  border-bottom: 1px solid var(--color-border);
}

.burrow-den {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
}

.burrow-ribbon {
  flex: 1 1 440px;
  min-width: 0;
}

.burrow-cluster {
  flex: 1 1 440px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.hearth-pelt {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-main);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast);
}

.hearth-pelt:hover {
  transform: scale(1.03);
}

.hearth-ribbon {
  height: 8px;
  width: 100%;
  border-radius: 4px;
  margin-bottom: 14px;
}

.theme-dark { background: linear-gradient(90deg, #1e1b4b, #312e81); }
.theme-cyber { background: linear-gradient(90deg, #059669, #10b981); }
.theme-sunset { background: linear-gradient(90deg, #f43f5e, #fb7185); }
.theme-minimal { background: linear-gradient(90deg, #475569, #94a3b8); }

/* 模块 4: 推荐扩展标识与安全审查机制 (addons_security - <div>) */
.pyre-sheath {
  padding: 72px 0;
}

.pyre-vault {
  background: linear-gradient(180deg, rgba(21, 86, 238, 0.08) 0%, rgba(11, 15, 25, 0.6) 100%);
  border: 1px solid var(--color-border-focus);
  border-radius: var(--radius-main);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.pyre-den {
  flex: 1 1 500px;
  min-width: 0;
}

.pyre-cluster {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ember-fang {
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 页脚区域 */
.hearth-remnant {
  width: 100%;
  background: #070911;
  border-top: 1px solid var(--color-border);
  padding: 48px 0;
  margin-top: auto;
}

.hearth-sheath {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

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

.ember-crest {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hearth-whisper {
  color: var(--color-whisper-sub);
  font-size: 0.9rem;
  line-height: 1.6;
}

.hearth-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.hearth-den {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hearth-roar {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.hearth-trace {
  color: var(--color-whisper-sub);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.hearth-trace:hover {
  color: var(--color-primary);
}

.ember-whisper {
  width: 100%;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .scent-sheath {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .scent-pack {
    gap: 16px;
  }
  .blaze-roar {
    font-size: 1.8rem;
  }
  .ignite-roar {
    font-size: 1.5rem;
  }
  .blaze-sheath,
  .ignite-sheath,
  .burrow-sheath,
  .pyre-sheath {
    padding: 40px 0;
  }
}

.prowl-scent-crown{
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(11, 15, 25, 0.85);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

.prowl-scent-crown .prowl-scent-sheath{
            max-width: 1360px;
            margin: 0 auto;
            padding: 0 24px;
            height: 72px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }

.prowl-scent-crown .prowl-scent-crest{
            display: flex;
            align-items: center;
            min-width: 0;
        }

.prowl-scent-crown .prowl-scent-crest img{
            height: 36px;
            width: auto;
            display: block;
        }

.prowl-scent-crown .prowl-scent-pack{
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

.prowl-scent-crown .prowl-prowl-trace{
            padding: 8px 16px;
            font-size: 15px;
            font-weight: 500;
            color: #94a3b8;
            border-radius: 8px;
            word-break: break-word;
        }

.prowl-scent-crown .prowl-prowl-trace:hover, .prowl-scent-crown .prowl-prowl-trace.active{
            color: #ffffff;
            background: rgba(255, 255, 255, 0.08);
        }

.prowl-scent-crown .prowl-prowl-trace.active{
            color: #60a5fa;
            border-bottom: 2px solid #1556ee;
        }

.prowl-scent-crown .prowl-blaze-spark{
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 22px;
            background: #1556ee;
            color: #ffffff;
            font-weight: 600;
            font-size: 14px;
            border-radius: 12px;
            box-shadow: 0 4px 16px rgba(21, 86, 238, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.2);
            cursor: pointer;
            word-break: break-word;
        }

.prowl-scent-crown .prowl-blaze-spark:hover{
            background: #2563eb;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(21, 86, 238, 0.6);
        }

@media (max-width: 768px){.prowl-scent-crown .prowl-scent-sheath{
                height: auto;
                padding: 16px;
                gap: 12px;
            }

.prowl-scent-crown .prowl-scent-pack{
                width: 100%;
                overflow-x: auto;
                padding-bottom: 4px;
            }}

.prowl-scent-crown {
    background: rgb(11, 15, 25);
    background-image: none;
}

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

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

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

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

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

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

.ember-ember-hearth{
            background: #07090e;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 48px 24px 32px 24px;
        }

.ember-ember-hearth .ember-hearth-remnant{
            max-width: 1360px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

.ember-ember-hearth .ember-hearth-top{
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 24px;
        }

.ember-ember-hearth .ember-hearth-brand{
            font-size: 20px;
            font-weight: 800;
            color: #ffffff;
            letter-spacing: -0.01em;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

.ember-ember-hearth .ember-hearth-brand-desc{
            font-size: 13px;
            color: #64748b;
            font-weight: 400;
            max-width: 360px;
        }

.ember-ember-hearth .ember-hearth-links{
            display: flex;
            gap: 40px;
            flex-wrap: wrap;
        }

.ember-ember-hearth .ember-hearth-col{
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

.ember-ember-hearth .ember-hearth-col-roar{
            font-size: 14px;
            font-weight: 600;
            color: #ffffff;
        }

.ember-ember-hearth .ember-hearth-trace{
            font-size: 13px;
            color: #94a3b8;
            word-break: break-word;
        }

.ember-ember-hearth .ember-hearth-trace:hover{
            color: #60a5fa;
        }

.ember-ember-hearth .ember-hearth-bottom{
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
            font-size: 13px;
            color: #64748b;
        }