:root{--h:214;--ah:354;--sat:68%;--lit:54%;--radius:21px;--space:1.25;--max:1046px;--bg:hsl(var(--h) 34% 8%);--panel:hsl(var(--h) 25% 13%);--ink:hsl(var(--h) 20% 96%);--muted:hsl(var(--h) 14% 70%);--accent:hsl(var(--ah) var(--sat) var(--lit));--line:hsl(var(--h) 20% 28%)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.75 system-ui,-apple-system,"Microsoft YaHei",sans-serif}body.light{--bg:hsl(var(--h) 35% 96%);--panel:white;--ink:hsl(var(--h) 35% 11%);--muted:hsl(var(--h) 12% 38%);--line:hsl(var(--h) 18% 82%)}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}.shell{width:min(var(--max),92vw);margin:auto}.topbar{display:flex;align-items:center;gap:22px;padding:20px 0;border-bottom:1px solid var(--line);position:relative;z-index:4}.brand{font-weight:900;letter-spacing:.06em;margin-right:auto}.nav{display:flex;gap:18px;align-items:center}.nav a,.tool{color:var(--muted)}.tool{border:1px solid var(--line);background:var(--panel);border-radius:999px;padding:7px 11px}.nav-toggle{display:none;align-items:center;justify-content:center;line-height:1}.nav-backdrop{display:none;position:fixed;inset:0;background:#0008;z-index:15}.nav-backdrop.open{display:block}.hero{position:relative;display:grid;gap:clamp(28px,5vw,70px);align-items:center;padding:calc(54px * var(--space)) 0;overflow:hidden}.hero-copy{position:relative}.eyebrow,.kicker{color:var(--accent);font-weight:800;letter-spacing:.15em;text-transform:uppercase}h1{font-size:clamp(38px,5.2vw,70px);line-height:1.08;letter-spacing:-.035em;margin:14px 0 22px;overflow-wrap:anywhere}h2{line-height:1.25}.lead{font-size:clamp(17px,2vw,20px);color:var(--muted);max-width:780px}.hero-art{min-height:360px;border:1px solid var(--line);border-radius:calc(var(--radius) + 12px);background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 22%,transparent),var(--panel));overflow:hidden;display:grid;place-items:center;position:relative}.hero-art img{width:100%;height:100%;object-fit:cover}.section{padding:calc(44px * var(--space)) 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.section-head p,.muted{color:var(--muted)}.cards{display:grid;gap:18px}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:calc(25px * var(--space));transition:transform .2s,border-color .2s}.card:hover{transform:translateY(-3px);border-color:var(--accent)}.card-index{font-weight:900;color:var(--accent)}.card p{color:var(--muted)}.article{width:min(760px,92vw);margin:auto;padding:56px 0}.article h1{font-size:clamp(34px,5vw,58px)}.article-figure{margin:24px 0;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}.article-figure img{width:100%;display:block;object-fit:cover;max-height:420px}.article-body{font-size:18px}.article-body p{margin:1.2em 0}.crumbs{color:var(--muted);font-size:14px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}.button{display:inline-block;background:var(--accent);color:hsl(var(--h) 40% 8%);border:0;border-radius:999px;padding:10px 17px;font-weight:800}.button.secondary{background:var(--panel);color:var(--ink);border:1px solid var(--line)}details{padding:16px 0;border-bottom:1px solid var(--line)}summary{font-weight:750;cursor:pointer}.search-layer{position:fixed;inset:0;background:#000b;z-index:20;display:none;padding:8vh 5vw}.search-layer.open{display:block}.search-box{max-width:760px;margin:auto;background:var(--panel);border:1px solid var(--line);padding:24px;border-radius:var(--radius)}.search-box input,.form input,.form textarea{width:100%;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:8px;padding:12px}.result{display:block;padding:14px 0;border-bottom:1px solid var(--line)}.form{display:grid;gap:14px;max-width:680px}.form label{display:grid;gap:5px}.hp{position:absolute;left:-9999px}footer{border-top:1px solid var(--line);padding:28px 0 40px;color:var(--muted);margin-top:50px}.shell{max-width:900px}.hero{grid-template-columns:1fr}.hero-art{min-height:200px}.cards{grid-template-columns:1fr}.card{padding-left:0;padding-right:0;border-width:0 0 1px;border-radius:0;background:transparent}
.card,.hero-art{background:transparent;border-width:2px}.topbar{border:0}.nav a{font-size:13px;text-transform:uppercase;letter-spacing:.12em}
h1,h2,.brand{font-family:"Arial Narrow","Microsoft YaHei",system-ui,sans-serif}h1{font-size:clamp(36px,4.3vw,58px);line-height:1.1;letter-spacing:-.025em}
@media(max-width:800px){.nav-toggle{display:inline-flex}.nav{position:fixed;top:0;right:-100%;bottom:0;width:min(80vw,320px);flex-direction:column;align-items:flex-start;gap:22px;padding:88px 26px 26px;background:var(--panel);border-left:1px solid var(--line);transition:right .25s ease;z-index:16}.nav.open{right:0}.nav a{display:block;font-size:16px}.hero,.cards,.card{grid-template-columns:1fr!important}.card{grid-column:auto!important;transform:none!important}.hero-art{min-height:260px;position:relative}h1{font-size:clamp(32px,9vw,46px)}}

/* AI-generated per-site template layer */
/* 阿狸直播 - 深色科技感覆盖层 */

body {
  margin: 0;
  padding: 0;
  background: #161616;
  color: #e8e8e8;
  font-family: "Helvetica Neue", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 顶部导航栏 */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 24px;
  background: rgba(20, 20, 22, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 59, 48, 0.18);
}

/* 品牌LOGO */
.brand {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #e8e8e8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 6px rgba(255, 59, 48, 0.6);
}

/* 导航菜单 */
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  color: #9a9a9a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav a:hover, .nav a.active {
  color: #e8e8e8;
  border-bottom-color: #ff3b30;
}

/* 首屏主视觉 */
.hero {
  margin: 56px auto 0;
  max-width: 1200px;
  padding: 32px 24px 24px;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 0;
  border: 1px solid rgba(255, 59, 48, 0.22);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.05) 0%, rgba(80, 30, 90, 0.04) 50%, rgba(255, 59, 48, 0.05) 100%);
  overflow: hidden;
}

.hero-copy {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy .tag {
  color: #ff3b30;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-copy h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #f0f0f0;
}

.hero-copy .meta {
  color: #6a6a6a;
  font-size: 12px;
  margin-top: 14px;
}

.hero-art {
  background: #1c1c1e;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 8px 12px;
  min-height: 280px;
  position: relative;
  border-left: 1px solid rgba(255, 59, 48, 0.12);
}

.hero-art .caption {
  font-size: 11px;
  color: #6a6a6a;
  background: rgba(20, 20, 22, 0.7);
  padding: 4px 8px;
  border-radius: 2px;
}

/* 摘要 */
.lead {
  color: #b0b0b0;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 18px;
}

/* 按钮 */
.button {
  display: inline-block;
  width: fit-content;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ff3b30;
  background: transparent;
  border: 1px solid #ff3b30;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  min-height: 44px;
  line-height: 1.4;
}

.button:hover {
  background: #ff3b30;
  color: #ffffff;
}

/* 区块 */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px;
  border-top: 1px solid rgba(255, 59, 48, 0.1);
}

.section h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: #e8e8e8;
}

/* 卡片网格 */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: rgba(255, 59, 48, 0.06);
  border: 1px solid rgba(255, 59, 48, 0.15);
  border-top: 1px solid rgba(255, 59, 48, 0.45);
  border-radius: 3px;
  padding: 20px 18px;
  transition: border-color 0.2s, background 0.2s;
}

.card:hover {
  border-color: rgba(255, 59, 48, 0.4);
  background: rgba(255, 59, 48, 0.09);
}

.card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 10px 0 8px;
  color: #e8e8e8;
}

.card p {
  font-size: 13px;
  color: #9a9a9a;
  line-height: 1.6;
  margin: 0 0 10px;
}

.card a {
  color: #ff3b30;
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
}

/* 文章页 */
.article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 40px;
}

.article-body {
  max-width: 700px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.95;
  color: #dcdcdc;
  letter-spacing: 0.01em;
}

.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 14px;
  color: #f0f0f0;
  letter-spacing: -0.01em;
}

.article-body p {
  margin: 0 0 24px;
}

.article-body strong, .article-body b {
  color: #ff6b62;
}

/* 页脚 */
footer {
  border-top: 1px solid rgba(255, 59, 48, 0.12);
  padding: 32px 24px;
  max-width: 1200px;
  margin: 0 auto;
  color: #6a6a6a;
  font-size: 12px;
  line-height: 1.7;
}

footer a {
  color: #9a9a9a;
  text-decoration: none;
}

footer a:hover {
  color: #ff3b30;
}

/* 移动端适配 */
@media (max-width: 767px) {
  .topbar {
    height: 50px;
    padding: 0 16px;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    margin: 50px 12px 0;
    padding: 0;
  }

  .hero-copy {
    padding: 20px 18px 24px;
    order: 2;
  }

  .hero-copy h1 {
    font-size: 24px;
  }

  .lead {
    font-size: 14px;
  }

  .hero-art {
    min-height: 180px;
    order: 1;
    border-left: none;
    border-bottom: 1px solid rgba(255, 59, 48, 0.12);
  }

  .section {
    padding: 28px 16px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .article {
    padding: 64px 16px 32px;
  }

  .article-body {
    font-size: 15px;
    line-height: 1.85;
  }

  .article-body h2 {
    font-size: 19px;
  }

  .button {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    gap: 18px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }
}