/* ========== PC 全模板：大气导航 / 资讯区 / 友链 ========== */

/* --- 主题色变量（default 门户） --- */
body.pc-index-body{--lx-primary:#0099ff;--lx-primary-dark:#0078ff;--lx-accent:#3cb1fe}

/* --- GB / Portal 现代顶栏 --- */
.lx-site-header.lx-header-gb{background:linear-gradient(135deg,#0099ff 0%,#0078ff 100%);color:#fff;box-shadow:0 4px 24px rgba(0,120,255,.28);margin-bottom:0}
.lx-site-header.lx-header-portal{background:linear-gradient(135deg,#0099ff 0%,#0066cc 100%);color:#fff;box-shadow:0 4px 24px rgba(0,102,204,.25);margin-bottom:0}
.lx-site-header-inner{max-width:1200px;margin:0 auto;padding:18px 20px 10px;display:flex;align-items:flex-start;gap:24px}
.lx-site-logo{display:flex;align-items:center;gap:12px;color:#fff;flex-shrink:0;text-decoration:none}
.lx-site-logo img{height:44px;width:auto;display:block}
.lx-site-logo span{font-size:22px;font-weight:800;letter-spacing:.5px}
.lx-site-search-wrap{flex:1;min-width:0}
.lx-site-search{display:flex;background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,.12)}
.lx-site-search input{flex:1;border:0;padding:13px 20px;font-size:15px;outline:none;color:#333}
.lx-site-search button{border:0;background:linear-gradient(135deg,#3cb1fe,#0099ff);color:#fff;padding:0 30px;font-size:15px;font-weight:700;cursor:pointer}
.lx-header-portal .lx-site-search button{background:linear-gradient(135deg,#40a9ff,#0099ff)}
.lx-site-keywords{max-width:1200px;margin:0 auto;padding:0 20px 12px;font-size:12px;line-height:1.8;color:rgba(255,255,255,.88)}
.lx-site-keywords em{font-style:normal;margin-right:8px;opacity:.75}
.lx-site-keywords a{color:#fff;margin-right:14px;text-decoration:none;opacity:.92}
.lx-site-keywords a:hover{opacity:1;text-decoration:underline}
.lx-site-nav{max-width:1200px;margin:0 auto;padding:0 20px 14px;display:flex;gap:8px;flex-wrap:wrap}
.lx-site-nav a{padding:7px 18px;border-radius:22px;font-size:14px;color:rgba(255,255,255,.9);background:rgba(255,255,255,.14);text-decoration:none;transition:.2s}
.lx-site-nav a.on,.lx-site-nav a:hover{background:#fff;color:#0078ff;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.08)}

/* 隐藏 default 旧版 zhann 顶栏（已换 lx-site-header） */
body.pc-index-body>header:not(.lx-site-header),body.layout-portal>header:not(.lx-site-header){display:none!important}
body.pc-inner-body,body.layout-portal.pc-inner-body{--lx-primary:#0099ff}

/* --- Store / Magazine / Grid 导航增强 --- */
.store-header,.mag-header,.grid-header{position:relative;z-index:20}
.store-nav a,.mag-nav a,.grid-nav a{transition:transform .2s,box-shadow .2s,background .2s}
.store-nav a.on,.mag-nav a.on,.grid-nav a.on{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.12)}
.mag-header-top{box-shadow:0 2px 16px rgba(0,0,0,.06)}
.mag-ticker{background:#fff;border-bottom:1px solid #eee;padding:8px 0}
.mag-ticker span{display:inline-block;padding:2px 10px;margin-right:8px;background:#c0392b;color:#fff;border-radius:4px;font-size:12px;font-weight:700}
.grid-header-inner{box-shadow:0 2px 16px rgba(46,204,113,.15)}

/* --- 首页最新资讯模块（大气双栏） --- */
.lx-home-news{background:#fff;border-radius:12px;padding:0;margin-top:0}
.lx-home-news-hd{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:2px solid var(--lx-primary,#0099ff);margin-bottom:14px}
.lx-home-news-hd h3{margin:0;font-size:18px;font-weight:800;color:#333;position:relative;padding-left:14px}
.lx-home-news-hd h3::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:18px;background:var(--lx-primary,#0099ff);border-radius:2px}
.lx-home-news-more{font-size:13px;color:var(--lx-primary,#0099ff);text-decoration:none;padding:5px 14px;border:1px solid var(--lx-primary,#0099ff);border-radius:16px;transition:.2s}
.lx-home-news-more:hover{background:var(--lx-primary,#0099ff);color:#fff}
.lx-home-news-body{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.lx-home-news-featured{display:flex;gap:14px;padding:0;margin-bottom:0;background:transparent;border:0;border-radius:12px;text-decoration:none;color:inherit;transition:.2s;overflow:hidden}
.lx-home-news-featured-hero{flex-direction:column;position:relative;border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.1)}
.lx-home-news-featured-hero .lx-home-news-featured-img{width:100%;height:200px;border-radius:12px 12px 0 0}
.lx-home-news-featured-hero .lx-home-news-featured-cap{padding:14px 16px 16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.lx-home-news-featured-hero .lx-home-news-featured-cap em{display:inline-block;font-style:normal;font-size:11px;color:#fff;background:var(--lx-primary,#0099ff);padding:2px 10px;border-radius:10px;margin-bottom:8px;font-weight:700}
.lx-home-news-featured-hero .lx-home-news-featured-cap strong{display:block;font-size:16px;line-height:1.45;color:#333;margin-bottom:6px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.lx-home-news-featured-hero .lx-home-news-featured-cap span{display:block;font-size:12px;color:#879299;line-height:1.55;margin-bottom:6px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.lx-home-news-featured-hero .lx-home-news-featured-cap i{font-style:normal;font-size:11px;color:var(--lx-primary,#0099ff)}
.lx-home-news-featured:hover{transform:translateY(-2px);box-shadow:0 10px 32px rgba(0,153,255,.15)}
.lx-home-news-featured-img{flex-shrink:0;width:120px;height:80px;border-radius:8px;overflow:hidden;background:#eee}
.lx-home-news-featured-img img{width:100%;height:100%;object-fit:cover;display:block}
.lx-home-news-list{list-style:none;margin:0;padding:0;background:#fafbfc;border-radius:12px;border:1px solid #eef2f6;padding:4px 8px}
.lx-home-news-list li{border-bottom:1px dashed #e8eef3}
.lx-home-news-list li:last-child{border-bottom:none}
.lx-home-news-list a{display:flex;align-items:center;gap:10px;padding:11px 6px;text-decoration:none;color:#444;font-size:14px;transition:.15s}
.lx-home-news-list a:hover{color:var(--lx-primary,#0099ff);padding-left:10px;background:rgba(0,153,255,.04);border-radius:8px}
.lx-home-news-dot{width:6px;height:6px;border-radius:50%;background:var(--lx-primary,#0099ff);flex-shrink:0}
.lx-home-news-thumb{width:52px;height:36px;border-radius:6px;overflow:hidden;flex-shrink:0;background:#eee}
.lx-home-news-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.lx-home-news-tit{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lx-home-news-date{flex-shrink:0;font-size:12px;color:#999;font-family:Consolas,monospace}
.lx-home-news-empty{padding:24px;text-align:center;color:#999;font-size:13px}

/* default 首页资讯区容器 */
.lx-home-news-zone{margin:20px auto 0;padding:20px;background:#fff;border-radius:14px;box-shadow:0 4px 24px rgba(0,0,0,.06)}
body.pc-index-body .topnew{display:none!important}

/* store / grid 首页资讯 */
.store-news-panel .lx-home-news,.grid-news-panel .lx-home-news{margin:0;background:transparent}
.store-news-panel .lx-home-news-hd,.grid-news-panel .lx-home-news-hd{border-color:#1677ff}
body.layout-store .store-news-panel .lx-home-news-hd{border-color:#1677ff}
body.layout-grid .grid-news-panel .lx-home-news-hd{border-color:#2ecc71}

/* GB 最新上架 */
.gb-latest-apps{margin-top:16px;padding-top:14px;border-top:1px solid #eee}
.gb-latest-apps-hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.gb-latest-apps-hd h3{margin:0;font-size:16px;font-weight:700;color:#333}
.gb-latest-apps-row{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.gb-latest-app-item{display:flex;align-items:center;gap:10px;padding:10px;background:#f8fbff;border:1px solid #eef4fa;border-radius:10px;text-decoration:none;color:inherit;transition:.2s}
.gb-latest-app-item:hover{border-color:#0099ff;background:#fff;box-shadow:0 4px 14px rgba(0,153,255,.1)}
.gb-latest-app-item .gb-app-icon-md{width:48px;height:48px;border-radius:11px;flex-shrink:0}
.gb-latest-app-meta{flex:1;min-width:0}
.gb-latest-app-meta strong{display:block;font-size:13px;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gb-latest-app-meta span{font-size:11px;color:#879299}

/* 友链 + 页脚（全模板） */
.gb-link-box,.link_box.gb-link-box{width:100%;max-width:1200px;margin:0 auto;background:#fff;border-top:1px solid #e8eef3}
.gb-link-inner,.lx-flinks .lx-wrap{max-width:1200px;margin:0 auto;padding:22px 20px 18px}
.gb-link-hd,.lx-flinks strong{display:block;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #eee;font-size:18px;font-weight:800;color:#333}
.gb-link-hd h3{margin:0;font-size:18px;font-weight:800;color:#333;padding-left:12px;border-left:4px solid var(--lx-primary,#0099ff)}
.lx-flinks{background:#fff;border-top:1px solid #e8eef3;padding:0}
.lx-flinks-list{display:flex;flex-wrap:wrap;gap:10px 12px;width:100%!important;margin:0!important}
.lx-flinks-list a,.gb-partner-links a{display:inline-block;padding:7px 16px;font-size:13px;color:#666;text-decoration:none;background:#f5f8fa;border:1px solid #eef2f6;border-radius:20px;transition:.2s}
.lx-flinks-list a:hover,.gb-partner-links a:hover{color:var(--lx-primary,#0099ff);border-color:var(--lx-primary,#0099ff);background:#e6f7ff}
.gb-partner-links{display:flex;flex-wrap:wrap;gap:10px 12px;width:100%!important;margin:0!important}
.gb-partner-links ul,.gb-partner-links li,.lx-flinks-list ul,.lx-flinks-list li{display:contents;list-style:none;margin:0;padding:0}
.gb-footer,.footer.gb-footer,.lx-foot{margin-top:0!important;padding:26px 0 34px!important;background:#1a1a22!important;border-top:0!important;color:rgba(255,255,255,.7)!important;text-align:center}
.gb-footer .foot,.footer.gb-footer .foot,.lx-foot .lx-wrap{width:100%!important;max-width:1200px;margin:0 auto!important;padding:0 20px}
.gb-footer .txt,.footer.gb-footer .txt,.lx-foot p{line-height:1.85!important;color:rgba(255,255,255,.65)!important;font-size:13px!important}
.lx-foot a{color:var(--lx-accent,#69b1ff)!important}
body.pc-index-body .friendurl{background:#fff;border-top:1px solid #e8eef3;margin-top:24px}
body.pc-index-body .friendurl .frbox{padding:22px 0}
body.pc-index-body .friendurl .box_l p{font-size:18px;font-weight:800;color:#333;padding-left:12px;border-left:4px solid #0099ff}
body.pc-index-body .friendurl .box_r a{display:inline-block;margin:4px 8px 4px 0;padding:6px 14px;background:#f5f8fa;border:1px solid #eef2f6;border-radius:18px;color:#666;font-size:13px;text-decoration:none;transition:.2s}
body.pc-index-body .friendurl .box_r a:hover{color:#0099ff;border-color:#0099ff;background:#e6f7ff}

@media(max-width:900px){
.lx-site-header-inner{flex-direction:column;align-items:stretch}
.lx-site-nav{padding-bottom:12px}
.lx-home-news-body{grid-template-columns:1fr}
.lx-home-news-featured-hero .lx-home-news-featured-img{height:160px}
.gb-latest-apps-row{grid-template-columns:1fr}
}
