/* ===========================================================
   XYZADMIN 站点样式 —— 白色 / 中性灰极简
   主色：#22262b（墨黑，替代原蓝色）  强调/危险：#E4221C（红，仅用于价格与热门）
   成功：#1BCD63（购买按钮）  警告：#B3821E
   底：#fff   浅底分隔：#f5f7fa   边框：#e6e8eb
   字体：Helvetica Neue / PingFang SC / Microsoft YaHei
   =========================================================== */

:root {
    --primary: #22262b;
    --primary-d: #12151a;
    --primary-l: #f2f3f5;
    --danger: #E4221C;
    --success: #1BCD63;
    --warning: #B3821E;
    --text: #1f2329;
    --text-2: #51565d;
    --text-3: #8a9099;
    --border: #e6e8eb;
    --bg: #f5f7fa;
    --radius: 12px;
    --shadow: 0 8px 30px rgba(16, 24, 40, .06);
    --shadow-hover: 0 16px 40px rgba(16, 24, 40, .12);
    --maxw: 1200px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    color: var(--text);
    background: #fff;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 42px; padding: 0 22px; border-radius: 10px; font-size: 15px;
    font-weight: 600; cursor: pointer; border: 1px solid transparent;
    transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--primary-d); }
.btn-ghost { background: transparent; color: var(--primary); border-color: rgba(34,38,43,.35); }
.btn-ghost:hover { background: var(--primary-l); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; color: var(--primary); border-color: rgba(34,38,43,.35); }
.btn-outline:hover { background: var(--primary-l); }
/* 轮播图（深色图/蒙版）上的描边按钮保持白字 */
.carousel-slide .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.carousel-slide .btn-outline:hover { background: rgba(255,255,255,.14); }
.btn-lg { height: 50px; padding: 0 32px; font-size: 16px; }

/* ---------- 头部 ---------- */
/* 白色风格：白底导航 + 深色文字 + 细分隔线 */
.site-header {
    position: sticky; top: 0; z-index: 100; background: #fff;
    border-bottom: 1px solid var(--border); transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(16,24,40,.06); }
.header-inner { display: flex; align-items: center; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand-logo { width: 34px; height: 34px; }
.brand-name { letter-spacing: .3px; }
.main-nav { display: flex; gap: 30px; margin-left: 12px; flex: 1; }
.main-nav a { color: var(--text-2); font-size: 15px; font-weight: 500; position: relative; padding: 4px 0; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
    border-radius: 2px; background: var(--primary);
}
.header-actions { display: flex; gap: 12px; }
/* 移动端菜单触发器：三条杠图标，不显示文字 */
.nav-toggle {
    display: none; place-items: center; width: 42px; height: 36px; margin-left: auto;
    background: #fff; border: 1px solid var(--border); border-radius: 8px; cursor: pointer;
}
.nav-toggle-burger { display: grid; gap: 4px; width: 20px; }
.nav-toggle-burger i {
    display: block; height: 2px; border-radius: 2px; background: var(--text);
    transition: transform .2s ease, opacity .2s ease;
}
/* 展开态：三条线收成 X，提示可收起 */
.nav-toggle[aria-expanded="true"] .nav-toggle-burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-burger i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; padding: 10px 20px 18px; background: #fff; border-bottom: 1px solid var(--border); }
.mobile-nav a { padding: 12px 0; color: var(--text-2); border-bottom: 1px solid var(--border); }
.site-main { min-height: 60vh; }

/* ---------- Hero（关于我们等内页大标题区） ---------- */
/* 白色风格：浅灰底 + 深色文字 */
.hero {
    position: relative; overflow: hidden;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    color: var(--text); padding: 72px 0 80px;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
    background: #fff; border: 1px solid var(--border); color: var(--text-2);
    padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero-eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.hero h1 { font-size: 24px; line-height: 1.35; margin: 0 0 18px; font-weight: 600; letter-spacing: .3px; }
.hero h1 .hl { color: var(--primary); }
.hero p.lead { font-size: 16px; color: var(--text-2); max-width: 520px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; }
.hero-stats .num { font-size: 18px; font-weight: 600; }
.hero-stats .lbl { font-size: 13px; color: var(--text-3); }

/* ---------- 通用区块 ---------- */
.section { padding: 28px 0 24px; }
.section.gray { background: var(--bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 20px; }
.section-head .kicker { color: var(--primary); font-weight: 600; letter-spacing: 2px; font-size: 12px; text-transform: uppercase; }
.section-head h2 { font-size: 20px; margin: 10px 0 12px; font-weight: 600; }
.section-head p { color: var(--text-2); font-size: 15px; margin: 0; }

/* ---------- 优势卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
    background: #fff; border: 1px solid var(--border); border-radius: 10px;
    padding: 28px 24px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.feature-card:hover { transform: translateY(-3px); border-color: #d5d8dd; box-shadow: 0 8px 22px rgba(16,24,40,.08); }
.feature-num {
    width: 52px; height: 52px; border-radius: 8px; display: grid; place-items: center;
    font-size: 18px; font-weight: 800; letter-spacing: 1px; margin-bottom: 16px;
    color: var(--primary); background: var(--primary-l); border: 1px solid var(--border);
}
.feature-card h3 { margin: 0 0 8px; font-size: 15px; }
.feature-card p { margin: 0; color: var(--text-2); font-size: 14px; }

/* ---------- 应用市场 ---------- */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.app-card {
    background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.app-card:hover { transform: translateY(-3px); border-color: #d5d8dd; box-shadow: 0 8px 22px rgba(16,24,40,.08); }
.app-thumb { height: 138px; position: relative; display: grid; place-items: center; color: var(--primary); font-size: 30px; font-weight: 800; background: #eceff2; }
/* 有封面：容器自适应（不强制高度/不裁切），封面图按原图比例完整显示 */
.app-thumb.has-cover { height: auto; display: block; padding: 0; background: #eceff2; }
.app-thumb.has-cover .thumb-img { display: block; width: 100%; max-width: 100%; height: auto; }
.app-thumb .badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.app-thumb .letter { font-size: 34px; font-weight: 800; }
.app-thumb .tag { position: absolute; top: 10px; left: 10px; z-index: 2; background: rgba(0,0,0,.28); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.app-thumb .hot { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--danger); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.app-body { padding: 16px 18px 18px; }
.app-body h3 { margin: 0 0 6px; font-size: 15px; }
.app-body p { margin: 0 0 12px; color: var(--text-2); font-size: 13px; height: 44px; overflow: hidden; }
.app-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 12px; }
.app-price { color: var(--danger); font-weight: 700; font-size: 16px; }
.app-body .more { color: var(--primary); font-weight: 600; font-size: 14px; }
.app-empty { text-align: center; color: var(--text-3); padding: 40px; grid-column: 1 / -1; }

/* ---------- 表单 ---------- */
.form-wrap { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.form-row .hint { color: var(--text-3); font-size: 12.5px; margin-top: 6px; }
.input, .textarea, .select {
    width: 100%; height: 44px; border: 1px solid var(--border); border-radius: 10px;
    padding: 0 14px; font-size: 14px; font-family: inherit; color: var(--text); background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 120px; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(34,38,43,.10); }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }
.alert-ok { background: #e8faf0; color: #1a7f43; border: 1px solid #b7ebc8; }
.alert-err { background: #fdecec; color: #c0392b; border: 1px solid #f5c6c6; }

/* ---------- 页脚（精简：仅品牌介绍 + 版权行） ---------- */
.site-footer { background: #fff; color: var(--text-2); margin-top: 20px; border-top: 1px solid var(--border); }
.footer-grid { padding: 22px 20px 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.footer-about p { font-size: 14px; color: var(--text-3); margin: 0; max-width: 620px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 12px 0; font-size: 13px; color: var(--text-3); }
/* 版权 + 备案号：整体居中 */
.footer-copy {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 8px 18px; text-align: center;
}
.footer-copy .beian { color: var(--text-3); }
.footer-copy .beian:hover { color: var(--text); text-decoration: underline; }
/* 友情链接 */
.footer-friendlinks { padding: 10px 0 4px; }
.footer-friendlinks .fl-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; line-height: 1.8; }
.footer-friendlinks .fl-label { color: var(--text-2); }
.footer-friendlinks .fl-line a { color: var(--text-2); text-decoration: none; transition: color .2s ease; }
.footer-friendlinks .fl-line a:hover { color: var(--primary); }
.footer-friendlinks .fl-sep { color: var(--border); user-select: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
    .hero .container { grid-template-columns: 1fr; }
    .feature-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .main-nav, .header-actions { display: none; }
    .nav-toggle { display: block; }
    .mobile-nav.open { display: flex; }
    .hero h1 { font-size: 24px; }
    .feature-grid, .app-grid { grid-template-columns: 1fr; }
    .section { padding: 24px 0 20px; }
}

/* ===========================================================
   轮播图
   =========================================================== */
.hero-carousel { position: relative; overflow: hidden; height: 520px; }
.carousel-track { position: absolute; inset: 0; }
.carousel-slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    transition: opacity .7s ease; display: flex; align-items: center;
    color: #fff;
}
.carousel-slide.active { opacity: 1; visibility: visible; }
/* 轮播背景图：使用 <img> + object-fit:cover 由浏览器按原生位图缩放，避免 background 缩放发虚 */
.slide-img {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover; display: block;
}
/* 暗色蒙版（替代原先叠加在 background-image 上的渐变层，文字更清晰且不糊） */
.slide-mask { position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.38); pointer-events: none; }
.slide-inner { position: relative; z-index: 2; }
.slide-text { max-width: 620px; }
.slide-text h1 { font-size: 24px; line-height: 1.35; margin: 0 0 16px; font-weight: 600; letter-spacing: .3px; }
.slide-text p.lead { font-size: 16px; color: rgba(255,255,255,.92); margin: 0 0 26px; }
.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,.22); color: #fff; font-size: 26px; line-height: 1;
    display: grid; place-items: center; transition: background .2s;
}
.carousel-arrow:hover { background: rgba(255,255,255,.4); }
.carousel-arrow.prev { left: 22px; }
.carousel-arrow.next { right: 22px; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; gap: 10px; justify-content: center; z-index: 3; }
.carousel-dots .dot {
    width: 30px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.45);
    cursor: pointer; transition: all .25s;
}
.carousel-dots .dot.active { background: #fff; width: 46px; }

/* 无图轮播（浅底深字，白色风格） */
.hero-carousel.is-plain { background: var(--bg); border-bottom: 1px solid var(--border); }
.carousel-slide.slide-plain { color: var(--text); }
.carousel-slide.slide-plain p.lead { color: var(--text-2); }
.carousel-slide.slide-plain .btn-light { background: var(--primary); color: #fff; }
.carousel-slide.slide-plain .btn-light:hover { background: var(--primary-d); box-shadow: none; }
.carousel-slide.slide-plain .btn-outline { color: var(--primary); border-color: rgba(34,38,43,.35); }
.carousel-slide.slide-plain .btn-outline:hover { background: rgba(34,38,43,.06); color: var(--primary); }
.hero-carousel.is-plain .carousel-arrow { background: #fff; color: var(--text); border: 1px solid var(--border); }
.hero-carousel.is-plain .carousel-arrow:hover { background: #fff; border-color: #c9ccd1; }
.hero-carousel.is-plain .carousel-dots .dot { background: #d5d8dd; }
.hero-carousel.is-plain .carousel-dots .dot.active { background: var(--primary); }

/* ===========================================================
   新闻动态
   =========================================================== */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.news-card {
    background: #fff; border: 1px solid var(--border); border-radius: 10px;
    overflow: hidden; display: flex; flex-direction: row; align-items: stretch;
    transition: border-color .2s, box-shadow .2s;
}
.news-card:hover { border-color: #d5d8dd; box-shadow: 0 8px 22px rgba(16,24,40,.08); }
/* 左侧封面：固定宽竖盒，封面图铺满（object-fit:cover）保持每行等高整齐 */
.news-thumb { position: relative; flex: 0 0 220px; width: 220px; background: #eceff2; display: grid; place-items: center; color: var(--primary); font-size: 30px; font-weight: 800; overflow: hidden; }
/* 有封面：容器铺满、封面图按比例填满竖盒 */
.news-thumb.has-cover { background: #eceff2; display: block; }
.news-thumb.has-cover .ncat { position: absolute; top: 12px; left: 12px; z-index: 2; }
.news-thumb .news-cover-img, .news-cover-img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; }
.news-thumb .ncat, .article-meta .ncat {
    background: rgba(34,38,43,.88); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px;
}
/* 右侧文字区 */
.news-body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.news-meta { display: flex; justify-content: flex-start; align-items: center; gap: 8px; color: var(--text-3); font-size: 12.5px; margin-bottom: 10px; }
.news-body h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.5; font-weight: 600; }
.news-body p { margin: 0 0 14px; color: var(--text-2); font-size: 13.5px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-body .more { color: var(--primary); font-weight: 600; font-size: 13.5px; }

/* 分页 */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pager a {
    min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); border-radius: 9px; color: var(--text-2); font-size: 14px; background: #fff;
}
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager a.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 文章详情 */
.article { background: #fff; }
.article-title { font-size: 20px; line-height: 1.4; font-weight: 600; margin: 0 0 16px; }
.article-meta { display: flex; gap: 16px; align-items: center; color: var(--text-3); font-size: 13.5px; margin-bottom: 24px; }
.article-content { font-size: 15px; line-height: 1.95; color: var(--text-2); overflow-wrap: break-word; word-break: break-word; }
.article-content img { max-width: 100%; height: auto; }
.article-content * { max-width: 100%; box-sizing: border-box; }
/* 富文本排版（粘贴保留的标题 / 列表 / 表格 / 引用 / 代码） */
.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5, .article-content h6 { color: var(--text); font-weight: 600; line-height: 1.4; margin: 24px 0 12px; }
.article-content h1 { font-size: 22px; } .article-content h2 { font-size: 20px; }
.article-content h3 { font-size: 18px; } .article-content h4 { font-size: 16px; }
.article-content p { margin: 0 0 14px; }
.article-content ul, .article-content ol { margin: 0 0 14px; padding-left: 24px; }
.article-content li { margin-bottom: 6px; }
.article-content a { color: var(--primary); }
.article-content blockquote { margin: 14px 0; padding: 8px 16px; border-left: 3px solid var(--primary); background: var(--bg); color: var(--text-2); }
.article-content pre { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 14px; overflow-x: auto; font-size: 13px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 14px 0; display: block; overflow-x: auto; }
.article-content th, .article-content td { border: 1px solid var(--border); padding: 8px 12px; font-size: 14px; }
.article-content th { background: var(--bg); font-weight: 600; color: var(--text); }
.article-foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ===========================================================
   应用详情
   =========================================================== */
/* 市场风格：左封面 + 右信息面板 */
.ad-top { display: grid; grid-template-columns: 400px 1fr; gap: 34px; align-items: start; }
.ad-cover { position: relative; border-radius: var(--radius); background: #eceff2; border: 1px solid var(--border); }
.ad-cover img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
.ad-cover .cover-fallback { height: 330px; display: grid; place-items: center; color: var(--primary); font-size: 72px; font-weight: 800; letter-spacing: 2px; border-radius: var(--radius); }
.ad-right { min-width: 0; }
.ad-titlerow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ad-badge { background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 6px; }
.ad-title { font-size: 20px; line-height: 1.3; font-weight: 600; margin: 0; }
.ad-subrow { display: flex; gap: 20px; flex-wrap: wrap; color: var(--text-3); font-size: 13px; margin-top: 12px; }
.ad-desc { color: var(--text-2); font-size: 14px; margin: 12px 0 0; }
.ad-pricebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--bg); border-radius: 12px; padding: 14px 20px; margin: 20px 0; }
.ad-price { color: var(--text-2); font-size: 14px; }
.ad-price b { color: var(--danger); font-size: 20px; font-weight: 700; margin-left: 6px; }
.ad-attrs { list-style: none; padding: 0; margin: 0 0 22px; }
.ad-attrs li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-size: 14px; border-bottom: 1px dashed var(--border); }
.ad-attrs li:last-child { border-bottom: none; }
.ad-attrs .k { color: var(--text-3); flex: 0 0 76px; }
.ad-attrs .v { display: flex; flex-wrap: wrap; gap: 8px; color: var(--text-2); }
.ad-attrs .pill { font-style: normal; background: var(--primary-l); color: var(--primary); border: 1px solid #e3e6ea; border-radius: 6px; padding: 2px 12px; font-size: 13px; }
.ad-attrs .pill-key { font-style: normal; background: var(--danger); color: #fff; border-radius: 6px; padding: 2px 12px; font-size: 13px; }
.ad-tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--border); margin: 42px 0 24px; }
.ad-tabs a { padding: 12px 2px; color: var(--text-2); font-size: 15px; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ad-tabs a.active { color: var(--primary); border-bottom-color: var(--primary); }
.muted { color: var(--text-3); }
@media (max-width: 860px) {
    .ad-top { grid-template-columns: 1fr; gap: 22px; }
    .ad-cover .cover-fallback { height: 240px; }
    .ad-title { font-size: 17px; }
}
.app-detail-content {
    font-size: 15px; line-height: 1.95; color: var(--text-2); background: #fff;
    border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 24px;
    overflow-wrap: break-word; word-break: break-word;
}
/* 富文本内容宽度约束：防止粘贴的大图 / 固定宽元素撑破布局 */
.app-detail-content * { max-width: 100%; box-sizing: border-box; }
.app-detail-content img,
.app-detail-content video,
.app-detail-content svg { height: auto; display: block; }
.app-detail-content iframe { width: 100%; max-width: 100%; }
.app-detail-content table { display: block; width: 100%; overflow-x: auto; }
.app-detail-content pre { overflow-x: auto; }
.app-detail-content > :first-child { margin-top: 0; }
.app-detail-content > :last-child { margin-bottom: 0; }
.app-detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.app-related { margin-top: 56px; }
.app-related h3 { font-size: 18px; margin: 0 0 22px; }
/* 解决方案：按行业分组 */
.sol-group { margin-bottom: 44px; }
.sol-group-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--border);
}
.sol-group-head h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--text); }
.sol-group-head span { color: var(--text-3); font-size: 13px; }

@media (max-width: 980px) {
    .hero-carousel { height: 380px; }
    .slide-text h1 { font-size: 22px; }
    .news-thumb { flex: 0 0 180px; width: 180px; }
}
@media (max-width: 720px) {
    .hero-carousel { height: 300px; }
    .slide-text { max-width: 100%; padding: 0 4px; }
    .slide-text h1 { font-size: 20px; margin-bottom: 10px; }
    .slide-text p.lead { font-size: 14px; margin-bottom: 16px; }
    .carousel-arrow { display: none; }
    .news-grid { grid-template-columns: 1fr; }
    /* 手机：新闻卡片改上下堆叠（封面在上、文字在下） */
    .news-card { flex-direction: column; }
    .news-thumb { flex: none; width: 100%; min-height: 180px; }
    .news-body { padding: 16px 18px; }
    .article-title { font-size: 19px; }
    .ad-cover .cover-fallback { height: 220px; }
    .ad-title { font-size: 20px; }
}

/* ===========================================================
   细滚动条：收窄宽度、浅灰配色，与白色企业风格一致
   =========================================================== */
html { scrollbar-width: thin; scrollbar-color: #c2c6cc transparent; } /* Firefox */
* { scrollbar-width: thin; scrollbar-color: #c2c6cc transparent; }    /* Firefox */
::-webkit-scrollbar { width: 8px; height: 8px; }                      /* WebKit */
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: #c2c6cc; border-radius: 999px;
    background-clip: padding-box; border: 2px solid transparent;
}
::-webkit-scrollbar-thumb:hover { background: #9aa0a8; background-clip: padding-box; border: 2px solid transparent; }
::-webkit-scrollbar-corner { background: transparent; }
