/* ============================================
   AI剧本杀创作辅助与密室机关开源硬件社区
   悬疑暗黑+极客电路绿 跨界视觉主题
   ============================================ */

/* CSS变量定义 */
:root {
  --color-primary: #00FF41;
  --color-secondary: #8A2BE2;
  --color-bg: #0D1117;
  --color-card: #161B22;
  --color-text: #C9D1D9;
  --color-text-muted: #8B949E;
  --color-border: #30363D;
  --color-danger: #FF4444;
  --color-success: #00FF41;
  --color-warning: #FFA500;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', monospace;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --radius: 6px;
  --shadow-glow: 0 0 20px rgba(0, 255, 65, 0.15);
  --shadow-purple: 0 0 20px rgba(138, 43, 226, 0.15);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 代码风格等宽字体排版 */
.mono-text, code, pre, .terminal-text {
  font-family: var(--font-mono);
}

/* 链接样式 */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--color-secondary);
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
}

/* 图片响应式 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   导航栏
   ============================================ */
.c34e252ed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cb75979ef {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
}

.cb75979ef img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.cb75979ef .c2bd853e4 {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.cc32e19df {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cc32e19df a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 0.5rem 0;
  position: relative;
}

.cc32e19df a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}

.cc32e19df a:hover,
.cc32e19df a.cc9933fbf {
  color: var(--color-primary);
}

.cc32e19df a:hover::after,
.cc32e19df a.cc9933fbf::after {
  width: 100%;
}

.cf97527c3 {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.cf97527c3 span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition-base);
}

/* ============================================
   Hero区域
   ============================================ */
.cfd43f60e {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

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

.cfc76ed88 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.cfc76ed88::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,17,23,0.3) 0%, rgba(13,17,23,0.9) 100%);
}

.c7b25eb69 {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.c7c2b3c81 {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  text-align: left;
  font-family: var(--font-mono);
  box-shadow: var(--shadow-glow);
}

.c7c2b3c81 .cdc7b67b9 {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.c7c2b3c81 .c983111c4 {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.c7c2b3c81 .c2a393855 { background: #FF5F56; }
.c7c2b3c81 .c7ef950a2 { background: #FFBD2E; }
.c7c2b3c81 .c031d24e0 { background: #27C93F; }

.c7c2b3c81 .c6ce9cb04 {
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: typeIn 0.5s forwards;
}

.c7c2b3c81 .c6ce9cb04:nth-child(2) { animation-delay: 0.3s; }
.c7c2b3c81 .c6ce9cb04:nth-child(3) { animation-delay: 0.6s; }
.c7c2b3c81 .c6ce9cb04:nth-child(4) { animation-delay: 0.9s; }
.c7c2b3c81 .c6ce9cb04:nth-child(5) { animation-delay: 1.2s; }
.c7c2b3c81 .c6ce9cb04:nth-child(6) { animation-delay: 1.5s; }

@keyframes typeIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.c69101197 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

.c69101197 .ca47a2148 {
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
}

.c352223bb {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-family: var(--font-mono);
}

.c8a604793 {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   按钮样式
   ============================================ */
.cf36105f4 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-base);
  text-decoration: none;
}

.c43db99f4 {
  background: var(--color-primary);
  color: var(--color-bg);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.c43db99f4:hover {
  background: #33FF66;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
  transform: translateY(-2px);
  color: var(--color-bg);
}

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

.c9a57da5d:hover {
  background: rgba(138, 43, 226, 0.1);
  box-shadow: var(--shadow-purple);
  transform: translateY(-2px);
  color: var(--color-secondary);
}

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

.cceafd371:hover {
  background: rgba(0, 255, 65, 0.1);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  color: var(--color-primary);
}

/* ============================================
   通用容器
   ============================================ */
.c0e9af85f {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cbbc3b6e6 {
  padding: 5rem 0;
}

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

.c13eec87f {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-primary);
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid rgba(0, 255, 65, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.cc9d314f5 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.c262b1884 {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   卡片组件
   ============================================ */
.c5d6d8bdd {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.ce5210748 {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition-base);
  position: relative;
}

.ce5210748:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.ce374e488 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.ce374e488 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.ce5210748:hover .ce374e488 img {
  transform: scale(1.05);
}

/* 手电筒聚光灯效果 */
.ce374e488::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 80px at var(--mouse-x, 50%) var(--mouse-y, 50%), transparent 0%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.ce5210748:hover .ce374e488::after {
  opacity: 1;
}

.cd8bbada8 {
  padding: 1.25rem;
}

.c3fc3387d {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.c7dbf6b6e {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.c687b7b1f {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.c84de4468 {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  background: rgba(138, 43, 226, 0.15);
  color: var(--color-secondary);
  border: 1px solid rgba(138, 43, 226, 0.3);
}

.c5af5fa29 {
  color: var(--color-warning);
}

/* ============================================
   代码块（机关代码展示）
   ============================================ */
.ceae291d2 {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0;
}

.c762c122e {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--color-border);
}

.c0c27e731 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.cfa2e3602 {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: var(--transition-base);
}

.cfa2e3602:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.cfa2e3602.copied {
  border-color: var(--color-primary);
  color: var(--color-primary);
  animation: sparkCopy 0.5s;
}

@keyframes sparkCopy {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 15px rgba(0, 255, 65, 0.8), inset 0 0 10px rgba(0, 255, 65, 0.3); }
}

.ceae291d2 pre {
  padding: 1.25rem;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text);
}

/* ============================================
   瀑布流布局
   ============================================ */
.cb6c77c67 {
  columns: 3;
  column-gap: 1.5rem;
}

.c0d2ea13a {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition-base);
}

.c0d2ea13a:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-purple);
}

/* ============================================
   交易集市
   ============================================ */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.market-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition-base);
}

.market-card:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-purple);
  transform: translateY(-3px);
}

.market-card .price {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 700;
}

.market-card .rating {
  color: var(--color-warning);
  font-size: 0.85rem;
}

/* ============================================
   创作者访谈
   ============================================ */
.c516c5602 {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-base);
}

.c516c5602:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.c93be1e48 {
  width: 200px;
  height: 200px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 2px solid var(--color-border);
}

/* ============================================
   面包屑导航
   ============================================ */
.c61ce8711 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 1rem 0;
  font-family: var(--font-mono);
}

.c61ce8711 a {
  color: var(--color-text-muted);
}

.c61ce8711 a:hover {
  color: var(--color-primary);
}

.c61ce8711 .cf39d2f19 {
  color: var(--color-border);
}

/* ============================================
   页脚
   ============================================ */
.c8f5bd872 {
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.c9eda6f81 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.c50262108 {
  font-family: var(--font-mono);
}

.c50262108 .cc57afb1b {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: block;
}

.c50262108 p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.c3d2999b6 h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.c3d2999b6 ul {
  list-style: none;
}

.c3d2999b6 ul li {
  margin-bottom: 0.5rem;
}

.c3d2999b6 ul li a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.c3d2999b6 ul li a:hover {
  color: var(--color-primary);
}

.c5ef2dc82 {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.c5ef2dc82 a {
  color: var(--color-text-muted);
}

.c5ef2dc82 a:hover {
  color: var(--color-primary);
}

/* ============================================
   内页通用样式
   ============================================ */
.c10fc08f6 {
  padding: 8rem 2rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,255,65,0.03) 0%, transparent 100%);
}

.c10fc08f6 .c38b54cd7 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.c10fc08f6 .c66abbaa2 {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.c56a0edf2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.c56a0edf2 article {
  max-width: 800px;
  margin: 0 auto;
}

.c56a0edf2 h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 2.5rem 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-primary);
}

.c56a0edf2 h3 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin: 2rem 0 0.75rem;
}

.c56a0edf2 p {
  margin-bottom: 1.2rem;
  color: var(--color-text);
  line-height: 1.9;
}

.c56a0edf2 ul, .c56a0edf2 ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--color-text);
}

.c56a0edf2 li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* ============================================
   FAQ折叠组件
   ============================================ */
.c04fd92b7 {
  margin: 2rem 0;
}

.c2f2efc03 {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.c4aa44ed5 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  background: var(--color-card);
  color: #fff;
  font-weight: 600;
  transition: var(--transition-base);
}

.c4aa44ed5:hover {
  background: rgba(0, 255, 65, 0.05);
}

.c4aa44ed5 .c6758d1c4 {
  color: var(--color-primary);
  transition: transform 0.3s;
}

.c2f2efc03.cc9933fbf .c4aa44ed5 .c6758d1c4 {
  transform: rotate(45deg);
}

.c5029c684 {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.c2f2efc03.cc9933fbf .c5029c684 {
  padding: 1rem 1.25rem;
  max-height: 500px;
}

/* ============================================
   搜索页
   ============================================ */
.c4f8ba1fb {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}

.cc31d6115 {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
}

.ce50e432d {
  flex: 1;
  padding: 0.9rem 1.25rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--color-text);
  font-size: 1rem;
  font-family: var(--font-mono);
  outline: none;
  transition: var(--transition-base);
}

.ce50e432d:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.search-btn {
  padding: 0.9rem 1.5rem;
  background: var(--color-primary);
  color: var(--color-bg);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: var(--transition-base);
}

.search-btn:hover {
  background: #33FF66;
}

.c48e24734 {
  list-style: none;
}

.search-result-item {
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: var(--color-card);
  transition: var(--transition-base);
}

.search-result-item:hover {
  border-color: var(--color-primary);
}

.search-result-item h3 {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.search-result-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ============================================
   404页面
   ============================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-code {
  font-family: var(--font-mono);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  color: var(--color-primary);
  text-shadow: 0 0 50px rgba(0, 255, 65, 0.4);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-message {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* ============================================
   响应式断点
   ============================================ */
@media (max-width: 1024px) {
  .c9eda6f81 {
    grid-template-columns: 1fr 1fr;
  }
  
  .c516c5602 {
    grid-template-columns: 1fr;
  }
  
  .cb6c77c67 {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .c34e252ed {
    padding: 0 1rem;
  }
  
  .cc32e19df {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(13, 17, 23, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-base);
  }
  
  .cc32e19df.cc9933fbf {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .cf97527c3 {
    display: flex;
  }
  
  .cfd43f60e {
    padding: 5rem 1rem 3rem;
    min-height: auto;
  }
  
  .c7c2b3c81 {
    padding: 1rem;
  }
  
  .c5d6d8bdd {
    grid-template-columns: 1fr;
  }
  
  .market-grid {
    grid-template-columns: 1fr;
  }
  
  .cb6c77c67 {
    columns: 1;
  }
  
  .c9eda6f81 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .c5ef2dc82 {
    flex-direction: column;
    text-align: center;
  }
  
  .cbbc3b6e6 {
    padding: 3rem 0;
  }
  
  .c10fc08f6 {
    padding: 6rem 1rem 2rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .c8a604793 {
    flex-direction: column;
    align-items: center;
  }
  
  .cf36105f4 {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   动画效果
   ============================================ */
.c214bd6c3 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.c214bd6c3.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 终端打字效果 */
.typing-effect {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--color-primary);
  animation: typing 3s steps(40) 1s forwards, blinkCaret 0.75s step-end infinite;
  width: 0;
}

@keyframes typing {
  to { width: 100%; }
}

@keyframes blinkCaret {
  50% { border-color: transparent; }
}

/* 扫描线效果 */
.cb7d2c124::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 255, 65, 0.03) 2px,
    rgba(0, 255, 65, 0.03) 4px
  );
  pointer-events: none;
  z-index: 2;
}

/* 电路线装饰 */
.circuit-decoration {
  position: relative;
}

.circuit-decoration::before {
  content: '';
  position: absolute;
  top: 0;
  left: -2rem;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--color-primary), transparent);
  opacity: 0.3;
}

/* 加载骨架屏 */
.skeleton {
  background: linear-gradient(90deg, var(--color-card) 25%, rgba(0,255,65,0.05) 50%, var(--color-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================
   PWA安装提示
   ============================================ */
.c0781307a {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-card);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: none;
  align-items: center;
  gap: 1rem;
  z-index: 9999;
  box-shadow: var(--shadow-glow);
}

.c0781307a.show {
  display: flex;
}

/* ============================================
   合规信任页
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.legal-content h1 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 2rem;
  text-align: center;
}

.legal-content h2 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin: 2rem 0 1rem;
  border-left: 3px solid var(--color-primary);
  padding-left: 1rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}

/* ============================================
   时间标注（极光算法）
   ============================================ */
.c8a149648 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

time[datetime] {
  font-family: var(--font-mono);
}
