@charset "utf-8";

:root {
  --blue: #0b63c6;
  --blue-deep: #073f86;
  --orange: #ff6b2c;
  --ink: #1b2430;
  --muted: #6b7785;
  --line: #e6ebf2;
  --bg: #f4f7fb;
  --card: #fff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(17, 43, 78, .08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 14px/1.7 "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
img { max-width: 100%; height: auto; border: 0; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; }
code { background: #eef4fd; border-radius: 4px; padding: 1px 5px; font-size: 12px; color: #2f6fb9; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { width: min(1200px, calc(100% - 32px)); margin: 0 auto; min-height: 68px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), #4b9cff); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .5px; box-shadow: 0 8px 18px rgba(11,99,198,.28); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; letter-spacing: .5px; }
.brand-text small { color: var(--muted); font-size: 10px; letter-spacing: 1.6px; }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 12px; color: var(--ink); cursor: pointer; }
.main-nav { flex: 1 1 auto; min-width: 0; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
.main-nav a { color: #35404f; padding: 8px 0; display: inline-block; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.search-box { display: flex; align-items: center; flex: 0 0 300px; height: 38px; border: 1px solid var(--line); background: #f7f9fc; border-radius: 19px; overflow: hidden; }
.search-box input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; padding: 0 14px; outline: none; color: var(--ink); }
.search-icon { flex: 0 0 42px; height: 100%; display: grid; place-items: center; background: var(--blue); color: #fff; border: 0; cursor: pointer; }
.search-box button.search-icon { padding: 0; }
.search-box button.search-icon:hover { background: var(--blue-deep); }

.archive-head { padding: 10px 4px 22px; }
.eyebrow { color: var(--blue); font-size: 11px; letter-spacing: 2px; font-weight: 800; }
.archive-head h1 { font-size: 30px; line-height: 1.3; margin: 6px 0 8px; }
.archive-head p { color: var(--muted); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.page-btn { min-width: 34px; height: 34px; padding: 0 11px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #51606f; font-size: 13px; }
.page-btn:hover { border-color: var(--blue); color: var(--blue); }
.page-btn.is-current { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-btn.is-current:hover { color: #fff; }
.page-dots { min-width: 24px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.cat-btn small { margin-left: 5px; opacity: .72; font-size: 11px; }

.main { width: min(1200px, calc(100% - 32px)); margin: 24px auto 40px; }

.hero {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 24px;
  padding: 38px 40px; border-radius: 18px; color: #fff;
  background: radial-gradient(circle at 82% 18%, rgba(255,255,255,.22), transparent 32%), linear-gradient(135deg, #073f86, #0b63c6 55%, #3d8bea);
  box-shadow: 0 18px 45px rgba(7,63,134,.24);
}
.hero-kicker { font-size: 12px; letter-spacing: 2px; opacity: .85; }
.hero h1 { margin: 10px 0 8px; font-size: 34px; line-height: 1.25; }
.hero-sub { max-width: 640px; color: rgba(255,255,255,.88); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-tags span { border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.12); padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 20px; border-radius: 8px; font-weight: 700; border: 1px solid transparent; transition: .18s ease; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255,107,44,.28); }
.btn-primary:hover { background: #f35a18; color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.hero-visual { display: flex; align-items: center; justify-content: center; gap: 18px; }
.hero-icon { width: 116px; height: 116px; border-radius: 24px; background: #fff; display: grid; place-items: center; color: var(--blue); font-weight: 800; letter-spacing: 1px; box-shadow: 0 16px 34px rgba(0,0,0,.18); transform: rotate(-3deg); overflow: hidden; }
.hero-icon img { width: 86px; height: 86px; object-fit: cover; border-radius: 18px; }
.hero-screen { width: 150px; padding: 16px 14px; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); display: flex; flex-direction: column; gap: 6px; transform: rotate(3deg); }
.hero-screen span { font-size: 11px; opacity: .8; }
.hero-screen strong { font-size: 20px; }
.hero-screen small { font-size: 11px; opacity: .72; }

.category-panel, .panel { margin-top: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { font-size: 20px; }
.section-head span { color: var(--muted); font-size: 12px; }
.category-list { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-btn { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: #f1f6fd; color: var(--blue); border: 1px solid #dcebfd; font-weight: 700; cursor: pointer; }
.cat-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.cat-btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; margin-top: 22px; align-items: start; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.app-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px; transition: .18s ease; }
.app-card:hover { border-color: #c9defb; box-shadow: 0 10px 26px rgba(11,99,198,.1); transform: translateY(-2px); }
.card-link { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.icon-box { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 800; letter-spacing: 1px; overflow: hidden; }
.icon-box img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; }
.card-body { min-width: 0; flex: 1 1 auto; }
.card-title { font-size: 16px; line-height: 1.35; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-desc { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; gap: 5px 8px; margin-top: 8px; color: #7f8b99; font-size: 11px; }
.card-meta span { background: #f4f7fb; border-radius: 5px; padding: 1px 6px; }
.card-actions { display: flex; gap: 8px; margin-top: 12px; }
.download-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 0 14px; border-radius: 7px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; }
.download-btn:hover { background: #f35a18; color: #fff; }
.detail-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 0 12px; border-radius: 7px; border: 1px solid var(--line); color: #51606f; font-size: 12px; }
.detail-btn:hover { border-color: var(--blue); color: var(--blue); }

.sidebar { display: flex; flex-direction: column; gap: 18px; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.side-card h2 { font-size: 17px; margin-bottom: 10px; }
.side-card .section-head h2 { margin: 0; }
.rank-list { counter-reset: rank; }
.rank-list li { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); counter-increment: rank; }
.rank-list li:last-child { border-bottom: 0; }
.rank-no { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: #eef4fd; color: var(--blue); font-size: 11px; font-weight: 800; }
.rank-no::before { content: counter(rank); }
.rank-list li:nth-child(1) .rank-no, .rank-list li:nth-child(2) .rank-no, .rank-list li:nth-child(3) .rank-no { background: var(--blue); color: #fff; }
.rank-list a { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.rank-list em { flex: 0 0 auto; color: var(--muted); font-size: 11px; font-style: normal; }

.guide-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-steps > div { background: #f7faff; border: 1px solid #e5eefb; border-radius: 10px; padding: 16px; }
.guide-steps strong { color: var(--blue); font-size: 12px; letter-spacing: 1px; }
.guide-steps h3 { font-size: 16px; margin: 4px 0 6px; }
.guide-steps p { color: var(--muted); font-size: 12px; }

.empty { padding: 40px 16px; text-align: center; color: var(--muted); background: #f8fafd; border: 1px dashed var(--line); border-radius: 10px; }

.detail { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; padding: 16px 26px; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.breadcrumb a:hover { color: var(--blue); }
.detail-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 30px 26px; background: linear-gradient(180deg, #f5f9ff, #fff); }
.detail-icon { width: 110px; height: 110px; border-radius: 24px; display: grid; place-items: center; color: #fff; font-size: 30px; font-weight: 800; box-shadow: 0 12px 28px rgba(11,99,198,.12); overflow: hidden; }
.detail-icon img { width: 110px; height: 110px; object-fit: cover; border-radius: 24px; }
.detail-copy h1 { font-size: 30px; line-height: 1.3; margin: 4px 0 8px; }
.detail-intro { color: var(--muted); max-width: 680px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.detail-tags span { background: #eef4fd; color: #2f6fb9; border-radius: 999px; padding: 2px 10px; font-size: 11px; }
.detail-download { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.detail-download small { color: var(--muted); font-size: 11px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; padding: 0 26px 30px; align-items: start; }
.panel-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff; }
.panel-box + .panel-box { margin-top: 18px; }
.panel-title { display: flex; align-items: center; margin-bottom: 14px; }
.panel-title h2 { font-size: 19px; position: relative; padding-left: 12px; }
.panel-title h2::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 16px; margin-top: -8px; border-radius: 2px; background: var(--blue); }
.content { color: #34404e; overflow-wrap: break-word; }
.content p { margin: 10px 0; }
.shot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.shot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #f8fafd; padding: 8px; }
.shot img { display: block; width: 100%; border-radius: 6px; }
.shot-ph { min-height: 120px; border-radius: 6px; display: flex; align-items: flex-end; padding: 10px; color: #fff; font-size: 12px; font-weight: 700; }
.faq dl { border-top: 1px solid var(--line); }
.faq dt { padding: 14px 0 4px; font-weight: 800; }
.faq dd { padding: 0 0 12px; color: var(--muted); border-bottom: 1px dashed var(--line); }
.spec dl { display: grid; grid-template-columns: 76px minmax(0, 1fr); border-top: 1px solid var(--line); }
.spec dt, .spec dd { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; word-break: break-all; }
.spec-note h2 { font-size: 16px; margin-bottom: 8px; }
.spec-note p { color: var(--muted); font-size: 12px; }

.answer-box { margin: 18px 0; border-left: 4px solid var(--blue); background: linear-gradient(90deg, #f2f7ff, #fff 70%); }
.answer-label { display: inline-block; margin: 0 0 6px; padding: 2px 8px; border-radius: 4px; background: #e7f0ff; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .5px; }
.answer-box h2 { font-size: 19px; margin: 0 0 8px; }
.answer-box > p { color: #3e4d5e; line-height: 1.8; }
.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.fact-grid > div { padding: 12px; border: 1px solid #dce8f8; border-radius: 8px; background: #fff; }
.fact-grid strong { display: block; color: var(--blue); font-size: 18px; }
.fact-grid span { color: var(--muted); font-size: 12px; }
.archive-breadcrumb { margin: 10px 0 0; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; }
.home-faq { margin-top: 18px; }
.related-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.related-list a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfe; color: #34404e; }
.related-list a:hover { border-color: var(--blue); color: var(--blue); }
.related-list em { color: var(--muted); font-size: 11px; font-style: normal; white-space: nowrap; }
.updated-line { color: var(--muted); font-size: 12px; margin-top: 6px; }

.site-footer { background: #101b2a; color: #c8d2df; margin-top: 40px; }
.footer-inner { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer-brand { color: #fff; font-size: 18px; font-weight: 800; }
.footer-inner > div > p.muted { color: #8fa0b4; max-width: 420px; margin-top: 8px; }
.footer-inner h2 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer-inner ul { display: flex; flex-direction: column; gap: 6px; }
.footer-inner a { color: #aebed1; font-size: 12px; }
.footer-inner a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 14px 0 20px; display: flex; justify-content: space-between; gap: 12px; color: #7f8fa4; font-size: 11px; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding: 30px; }
  .hero-visual { justify-content: flex-start; margin-top: 8px; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-download { grid-column: 1 / -1; align-items: flex-start; }
}

@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .menu-toggle { display: block; }
  .main-nav { display: none; order: 4; width: 100%; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .main-nav a { display: block; padding: 10px 0; border-bottom: 1px solid #f1f4f8; }
  .search-box { flex: 1 1 220px; }
  .app-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .hero-visual { display: none; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-icon { width: 88px; height: 88px; font-size: 24px; }
  .detail-icon img { width: 88px; height: 88px; }
  .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .main { margin-top: 16px; }
  .hero { padding: 24px 20px; border-radius: 14px; }
  .hero h1 { font-size: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .category-panel, .panel, .panel-box { padding: 16px; }
  .detail { border-radius: 12px; }
  .detail-hero { padding: 22px 18px; }
  .detail-layout { padding: 0 18px 22px; }
  .detail-copy h1 { font-size: 24px; }
  .spec dl { grid-template-columns: 68px minmax(0, 1fr); }
  .fact-grid, .related-list { grid-template-columns: 1fr; }
}
