/* kiddoremote.com 官网样式：下载页 + 安装教程。无外部依赖（CSP 只允许同源）。 */
:root { --bg:#f6f7fb; --card:#fff; --ink:#1d2340; --muted:#6b7394; --line:#e3e6f0; --accent:#2c7d4f;
  --navy:#0f1226; --navy2:#1b1f42; --soft:#b9c0ea; --yellow:#ffd54a; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font:16px/1.75 "Microsoft YaHei","PingFang SC",system-ui,sans-serif; }
a { color:var(--accent); }
img { max-width:100%; height:auto; display:block; }
.wrap { max-width:960px; margin:0 auto; padding:0 16px; }

header.top { background:var(--navy); color:#fff; }
header.top .wrap { display:flex; align-items:center; gap:12px; padding-top:14px; padding-bottom:14px; }
header.top img { width:30px; height:30px; }
header.top .brand { font-weight:800; font-size:18px; color:#fff; text-decoration:none; }
header.top nav { margin-left:auto; display:flex; gap:18px; font-size:15px; }
header.top nav a { color:var(--soft); text-decoration:none; }
header.top nav a:hover, header.top nav a.on { color:#fff; }

.hero { background:radial-gradient(circle at 85% 0%, #2a2f6b 0, transparent 55%), radial-gradient(circle at 0% 100%, #1d4a3a 0, transparent 50%), var(--navy);
  color:#fff; padding:56px 0 64px; }
.hero .wrap { display:grid; grid-template-columns:1.05fr 1fr; gap:40px; align-items:center; }
.hero h1 { font-size:44px; line-height:1.2; margin:0; font-weight:900; }
.hero h1 em { font-style:normal; color:var(--yellow); }
.hero p.sub { color:var(--soft); font-size:19px; margin:14px 0 26px; }
.hero .shot { border-radius:26px; background:#05060f; padding:12px; box-shadow:0 24px 50px rgba(0,0,0,.5), 0 0 0 3px #2c3060; }
.hero .shot img { border-radius:14px; }

.btn { display:inline-block; background:var(--yellow); color:var(--navy2); font-weight:800; font-size:20px; text-decoration:none;
  padding:14px 28px; border-radius:14px; box-shadow:0 10px 24px rgba(0,0,0,.35); }
.btn:hover { filter:brightness(1.05); }
.btn.ghost { background:transparent; color:#fff; border:1px solid rgba(255,255,255,.35); box-shadow:none; font-weight:600; font-size:17px; margin-left:10px; }
.dlmeta { color:var(--soft); font-size:13px; margin-top:12px; word-break:break-all; }
.dlmeta code { color:#dfe3ff; }
.storenote { color:var(--soft); font-size:14px; margin:14px 0 0; }
.storenote a { color:var(--yellow); margin-left:6px; }
.step h3 { font-size:18px; margin:22px 0 6px; padding-top:16px; border-top:1px dashed var(--line); }

section.block { padding:44px 0; }
section.block h2 { font-size:28px; margin:0 0 18px; }
.grid3 { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.feat { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:20px; }
.feat b { display:block; font-size:18px; margin-bottom:6px; }
.feat span { color:var(--muted); font-size:15px; }
.notice { background:#fff7e0; border:1px solid #f1d98a; border-radius:14px; padding:16px 20px; }
.notice b { color:#8a5a00; }
ul.req { margin:0; padding-left:1.2em; }

/* 教程 */
.guide h1 { font-size:34px; margin:36px 0 6px; }
.guide .lead { color:var(--muted); margin:0 0 24px; }
.toc { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:14px 20px; margin-bottom:24px; }
.toc ol { margin:0; padding-left:1.4em; }
.step { background:var(--card); border:1px solid var(--line); border-radius:18px; padding:24px 26px; margin-bottom:18px; }
.step h2 { font-size:22px; margin:0 0 10px; display:flex; align-items:center; gap:12px; }
.step h2 .n { flex:none; width:36px; height:36px; border-radius:50%; background:var(--accent); color:#fff; font-size:18px;
  display:inline-flex; align-items:center; justify-content:center; }
.step figure { margin:14px 0 4px; }
.step figure img { border:1px solid var(--line); border-radius:12px; }
.step figcaption { color:var(--muted); font-size:13px; margin-top:6px; }
.step .two { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.tip { color:var(--muted); font-size:14px; background:var(--bg); border-radius:10px; padding:10px 14px; margin-top:10px; }
kbd { font-family:inherit; background:#eef0f7; border:1px solid var(--line); border-bottom-width:2px; border-radius:6px; padding:0 6px; font-size:.92em; }
code { font-family:Consolas,monospace; background:#eef0f7; border-radius:5px; padding:1px 5px; font-size:.92em; }
.faq dt { font-weight:700; margin-top:14px; }
.faq dd { margin:4px 0 0; color:#3a4066; }

footer.bottom { border-top:1px solid var(--line); color:var(--muted); font-size:13px; padding:22px 0 40px; margin-top:20px; }
footer.bottom p { margin:4px 0; }

@media (max-width:760px) {
  .hero { padding:36px 0 44px; }
  .hero .wrap { grid-template-columns:1fr; gap:26px; }
  .hero h1 { font-size:32px; }
  .grid3, .step .two { grid-template-columns:1fr; }
  .btn.ghost { margin:12px 0 0; }
  header.top nav { gap:4px 12px; font-size:14px; flex-wrap:wrap; justify-content:flex-end; min-width:0; }
  header.top nav a { white-space:nowrap; }
}
section.block.tight { padding-top:0; }
.dlmeta code { background:transparent; padding:0; color:#dfe3ff; font-size:12px; }
.hero .cta { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.hero .cta .btn.ghost { margin-left:0; }
.contact { display:flex; gap:28px; align-items:center; background:var(--card); border:1px solid var(--line); border-radius:18px; padding:22px 26px; }
.contact img { width:200px; height:auto; flex:none; border-radius:10px; }
.contact h2 { margin:0 0 6px; }
.muted { color:var(--muted); font-size:14px; }
.step figure.qr img { width:200px; border:none; }
@media (max-width:760px) { .contact { flex-direction:column; text-align:center; } .contact .req { text-align:left; } }
.article h1 { font-size:32px; margin:28px 0 14px; line-height:1.35; }
.article h2 { font-size:22px; margin:30px 0 8px; }
.article p, .article li { line-height:1.85; }
.article .crumbs { margin-top:26px; }
.article pre.tree { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:14px 18px; font-family:Consolas,"Microsoft YaHei",monospace; font-size:14px; line-height:1.7; overflow-x:auto; }
.article .cta-box { margin:36px 0 10px; }
.article-list { list-style:none; padding:0; }
.article-list li { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px 20px; margin-bottom:12px; }
.article-list a { font-size:19px; font-weight:700; text-decoration:none; }
.article-list p { margin:6px 0 0; }
.mobile-note { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.25); border-radius:14px; padding:16px 18px; margin-top:18px; }
.mobile-note p { margin:0 0 8px; color:#fff; line-height:1.6; }
.mobile-note b { display:block; font-size:22px; color:var(--yellow); margin-bottom:12px; }
.mobile-note .btn { border:0; cursor:pointer; }
.mobile-note .muted { color:var(--soft); font-size:14px; margin:12px 0 0; }
video.demo { display:block; width:100%; height:auto; border-radius:14px; background:#05060f; box-shadow:0 18px 40px rgba(0,0,0,.35); }
video.demo.portrait { max-width:360px; margin:0 auto; }
/* 英文首页：两张截图并排，手机上竖排 */
.grid2 { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
figure.feat { margin:0; }
figure.feat img { display:block; width:100%; height:auto; border-radius:10px; margin-bottom:10px; }
@media (max-width:760px) { .grid2 { grid-template-columns:1fr; } }
.licensekey { font:700 1.5rem/1.3 ui-monospace, Consolas, monospace; letter-spacing:.04em; word-break:break-all; margin:8px 0; }
