/* ============================================================
   Jishi 风格网址导航首页
   原创实现：配色、排版参考常见导航站布局
   ============================================================ */
:root{
    --primary:#f60d54;
    --dark:#161622;
    --text:#333;
    --muted:#788daa;
    --bg:#f9f9f9;
    --line:#eeeeee;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
/* ---------- 侧边滚动条（与原站一致：浅灰轨道 + 深色滑块，宽 12px） ---------- */
::-webkit-scrollbar{width:12px;height:0;background-color:#eee;overflow:hidden}
::-webkit-scrollbar-track{background-color:#eee;overflow:hidden}
::-webkit-scrollbar-thumb{width:10px;background-color:#222;overflow:hidden}
body{
    margin:0;
    font-family:"Microsoft YaHei",Simsun,Tahoma,sans-serif;
    font-size:14px;
    line-height:24px;
    color:var(--text);
    background:var(--bg);
    letter-spacing:.5px;
}
a{color:var(--text);text-decoration:none;transition:all .3s}
a:hover{color:var(--primary)}
ul{margin:0;padding:0;list-style:none}
img{max-width:100%;border:0}
/* 与原站 .main.border 一致：内容区顶部留出灰色间隙，白色导航条才不会紧贴头部 */
.main{width:1400px;max-width:calc(100% - 40px);margin:0 auto;padding-top:15px}

/* ---------- 顶部氛围区 ---------- */
.hero{
    position:relative;
    padding:0 20px 80px;
    overflow:hidden;
    color:#fff;
    background:#161622 url("/static/home/jishi/images/avjishi.webp") center top no-repeat;
}
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:radial-gradient(ellipse at 50% 42%, rgba(8,8,14,0) 0%, rgba(8,8,14,.45) 100%);
}
.hero-brand{
    position:relative;
    z-index:2;
    padding-top:88px;
    text-align:center;
}
.hero-brand h1{
    margin:0 0 14px;
    font-size:56px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:4px;
    color:#fff;
    text-shadow:0 10px 30px rgba(246,13,84,.35);
}
.hero-brand p{
    margin:0;
    color:rgba(255,255,255,.68);
    font-size:16px;
}

/* 品牌区（网站名+描述）已从源码移除；占位高度与原站(igs.avjishi145.cc)一致：
   导航区上内边距60 + 搜索框上间距330 = 390px（其余断点见媒体查询） */
.hero-brand-spacer{height:390px}

/* 搜索框 */
.search{
    position:relative;
    z-index:2;
    width:60%;
    max-width:840px;
    min-width:320px;
    margin:0 auto 0;
}
.search-main{
    position:relative;
    padding:4px;
    background:rgba(0,0,0,.15);
    transition:background .3s;
}
.search-input{
    display:block;
    width:100%;
    height:50px;
    padding:0 114px 0 14px;
    border:0;
    outline:0;
    background:rgba(0,0,0,.2);
    color:#fff;
    font-size:16px;
    font-family:inherit;
    transition:all .3s;
}
.search-input::placeholder{color:rgba(255,255,255,.82)}
.search-btn{
    position:absolute;
    top:4px;
    right:4px;
    width:100px;
    height:50px;
    border:0;
    outline:0;
    cursor:pointer;
    background:rgba(0,0,0,.3);
    color:#fff;
    font-size:26px;
    transition:all .3s;
}
.search-main:hover{background:rgba(0,0,0,.25)}
.search-main:hover .search-input{background:#fff;color:#999}
.search-main:hover .search-input::placeholder{color:#bbb}
.search-main:hover .search-btn{background:var(--primary);color:#fff}
.search-bottom{
    margin-top:10px;
    text-align:center;
    font-size:16px;
    line-height:1;
    color:#fff;
}
.search-bottom a{color:var(--primary)}
.search-bottom a:hover{color:#fff}
.search-bottom b{color:#fff;font-weight:700}

/* 波浪 */
.waves{
    position:absolute;
    left:0;
    bottom:-2px;
    z-index:1;
    display:block;
    width:100%;
    height:76px;
}
.waves path:nth-child(1){animation:waveMove 7s linear infinite;opacity:.35}
.waves path:nth-child(2){animation:waveMove 10s linear infinite reverse;opacity:.55}
.waves path:nth-child(3){animation:waveMove 13s linear infinite;opacity:.8}
@keyframes waveMove{
    0%{transform:translateX(-80px)}
    100%{transform:translateX(80px)}
}
@media (prefers-reduced-motion:reduce){
    .waves path{animation:none}
}

/* ---------- 直达导航 ---------- */
.nav-go{
    display:flex;
    clear:both;
    align-items:center;
    padding:5px 0;
    background:#fff;
    transition:background .3s;
}
/* 标题宽度按原站 content-box 尺寸换算（原站 100px + 左右 padding 15px） */
.nav-go .title{
    display:inline-block;
    flex:none;
    width:130px;
    padding:0 15px;
    text-align:center;
    font-size:22px;
    font-weight:600;
    line-height:25px;
    white-space:nowrap;
}
.nav-go .title b{font-weight:600}
.nav-go ul{
    display:flex;
    flex:1;
    flex-wrap:nowrap;
    min-width:0;
    margin:0;
    padding:0 10px;
    position:relative;
}
/* 标题右侧竖线：与原站 .nav-go ul{border-left:1px solid #eee} 一致，高度仅覆盖 ul 内容，不延伸 */
.nav-go ul::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:1px;
    background:#eee;
    pointer-events:none;
}
.nav-go li{
    flex:1 1 0;
    min-width:0;
    padding:19.1px 6px;
    font-size:22px;
    line-height:25px;
    text-align:center;
    white-space:nowrap;
    cursor:pointer;
}
.nav-go li a{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:var(--nav-color);
}
.nav-go li:hover{color:#fff;background-color:#000}
.nav-go li:hover a{color:#fff}
.nav-go li:first-child a,
.nav-go li:last-child a{color:var(--nav-color, var(--primary))}

/* 滚动后：固定到底部 */
.nav-go-bottom{
    position:fixed;
    left:50%;
    bottom:10px;
    z-index:1002;
    width:calc(100% - 40px);
    max-width:1400px;
    transform:translateX(-50%);
    background-color:rgba(0,0,0,.9)!important;
    box-shadow:0 6px 24px rgba(0,0,0,.35);
}
.nav-go-bottom .title b,
.nav-go-bottom ul li a,
.nav-go-bottom ul li:first-child a,
.nav-go-bottom ul li:last-child a{color:#fff}
.nav-go-bottom ul::before{background:#eee}
.nav-go-bottom ul li:hover{background-color:#fff}
.nav-go-bottom ul li:hover a{color:#000}
/* 兼容旧页面缓存：即使旧版脚本仍插入占位块，也不允许它撑出空白 */
.nav-go-placeholder{display:none!important;height:0!important}

/* ---------- 精品推荐 ---------- */
/* 原站 .website-top 只有左右 padding，上下留白由 .good/.tips 自身控制 */
.featured{margin-top:15px;padding:0 15px;background:#fff;overflow:hidden}
.featured-list{
    display:flex;
    flex-wrap:wrap;
    padding:5px 0;
    border-bottom:1px solid var(--line);
}
.featured-list a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:12.5%;
    height:42px;
    padding:0 3px;
    font-size:16px;
    white-space:nowrap;
    overflow:hidden;
}
.featured-list a:hover{background:#000;color:#fff}
/* 仿原站 .website-top .tips：左侧联系方式、右侧最新地址 */
.website-tips{
    width:100%;
    margin:5px 0;
    line-height:40px;
    font-size:14px;
    color:#000;
    overflow:hidden;
}
.website-tips .ml{float:left}
.website-tips .mr{float:right;text-align:right}
.website-tips .tips-top{display:block;width:100%;overflow:hidden}
/* 黑底标签：用 inline-flex 固定行高并垂直居中，保证四周留白一致 */
.website-tips b{
    display:inline-flex;
    align-items:center;
    padding:4px;
    line-height:1;
    vertical-align:middle;
    background:#000;
    color:#fff;
    font-weight:700;
}
/* 最新地址：序号与域名作为整体，按垂直中心线对齐 */
.website-tips .latest-item{
    display:inline-flex;
    align-items:center;
    gap:4px;
    margin-left:8px;
    line-height:1;
    vertical-align:middle;
    white-space:nowrap;
}
.website-tips a{color:var(--primary)}
.website-tips a:hover{color:#000}

/* ---------- Banner ---------- */
.banner{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    height:100px;
    /* 「发现更多优质网址」横幅：上下留白统一为 5px */
    margin:5px 0;
    padding:0 42px;
    overflow:hidden;
    color:#fff;
    background:
        radial-gradient(420px 180px at 88% 20%, rgba(255,255,255,.22), transparent 60%),
        linear-gradient(120deg,#1b1b2b 0%,#3a1830 55%,#f60d54 100%);
}
.banner::after{
    content:"";
    position:absolute;
    right:-40px;
    bottom:-90px;
    width:260px;
    height:260px;
    border:36px solid rgba(255,255,255,.08);
    border-radius:50%;
}
.banner .banner-copy{position:relative;z-index:2;flex:1;min-width:0}
.banner h2{margin:0 0 6px;font-size:28px;line-height:34px;color:#fff}
.banner p{margin:0;color:rgba(255,255,255,.78);font-size:14px}
.banner .banner-btn{
    position:relative;
    z-index:2;
    padding:10px 22px;
    border:1px solid rgba(255,255,255,.55);
    color:#fff;
    white-space:nowrap;
}
.banner .banner-btn:hover{background:#fff;color:#111}

/* ---------- 横幅分类：图片模式，网址名称仅作注释（title / alt） ---------- */
/* 单列显示：同一分类下的多张横幅逐行排列，每张横幅独占一行、铺满整行
   每张横幅的统一区域比例由后台「站点配置 → 性能优化」中的横幅尺寸决定（--banner-ratio），
   默认 1400:100；图片自动拉伸铺满该区域，不留空白 */
.banner-sites{
    display:grid;
    grid-template-columns:1fr;
    gap:5px;
    /* 横幅块之间的上下间距统一为 5px */
    margin:5px 0;
}
.banner-link{
    display:block;
    margin:0;
    aspect-ratio:var(--banner-ratio,1400 / 100);
    border-radius:4px;
    overflow:hidden;
    background:#f1f1f1;
    line-height:0;
}
.banner-link img{
    display:block;
    width:100%;
    height:100%;
    object-fit:fill;
}
.banner-link:hover{opacity:.94}
.banner-link-text{
    display:flex;
    align-items:center;
    justify-content:center;
    height:100%;
    font-size:18px;
    color:#333;
}

/* ---------- 网址分组 ---------- */
.link-section{margin-bottom:20px;overflow:hidden}
/* 子目录：归在上级分类下方，标题略小并带左侧竖线，便于区分层级 */
.link-section.is-sub{
    margin-left:12px;
    padding-left:12px;
    border-left:2px solid #e5e7eb;
}
.link-section.is-sub .section-title{
    padding-top:6px;
    padding-bottom:6px;
    font-size:18px;
    line-height:20px;
}
.link-section.is-sub .section-title i{
    width:24px;
    height:24px;
    font-size:19px;
    text-indent:4px;
}
/* 与原站 .links_name p 一致：图标在标题文字前，圆形浅灰底、24px 图标 */
.section-title{
    margin:0;
    padding:10px 0 10px 10px;
    font-size:22px;
    font-weight:700;
    line-height:24px;
}
.section-title i{
    display:inline-block;
    width:30px;
    height:30px;
    margin-right:5px;
    border-radius:200px;
    background:#f1f1f1;
    color:#333;
    font-size:24px;
    text-indent:5px;
}
.link-grid{display:flex;flex-wrap:wrap;margin:0 -3px}
.link-grid a{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:calc(10% - 6px);
    height:42px;
    margin:3px;
    padding:0 3px;
    background:#f1f1f1;
    font-size:15px;
    white-space:nowrap;
    overflow:hidden;
}
.link-grid a:hover{background:#000;color:#fff}
/* 彩色站点名：悬停时统一变白（覆盖站点名称的内联颜色） */
.featured-list a span,
.link-grid a span{transition:color .3s}
.featured-list a:hover span,
.link-grid a:hover span{color:#fff!important}
/* 站名单行显示：超长时直接裁切，不换行、不使用省略号 */
.featured-list a > span,
.link-grid a > span{
    min-width:0;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:clip;
}
.tag-badge{
    display:inline-block;
    flex:none;
    height:16px;
    margin-left:4px;
    padding:0 3px;
    border-radius:2px;
    font-size:12px;
    line-height:16px;
    font-weight:400;
    vertical-align:middle;
}

/* ---------- APP 分类（图标宫格，无栏目白底） ---------- */
/* 与原站 .app-navi / .app-ico / .app-naicon 一致 */
.app-navi{
    padding-bottom:10px;
    border-bottom:1px solid var(--line);
    font-size:0;
    text-align:center;
}
.app-ico{
    display:inline-block;
    position:relative;
    width:calc(10% - 11px);
    height:auto;
    margin:5px;
    vertical-align:top;
}
.app-ico a{display:block}
.app-naicon{
    display:flex;
    align-items:center;
    justify-content:center;
    aspect-ratio:1/1;
    margin:12px;
    overflow:hidden;
    border-radius:15px;
    line-height:0;
    font-size:0;
    transition:box-shadow .3s;
}
.app-naicon img{display:block;width:100%;height:100%;border-radius:15px;object-fit:cover}
.app-letter{font-size:30px;font-weight:700;line-height:1}
.app-naicon:hover{
    box-shadow:0 0 12px 4px rgba(0,0,0,.24),0 0 2px -2px rgba(0,0,0,.4),0 1px 12px 0 rgba(0,0,0,.22);
}
.app-ico p{
    width:100%;
    height:25px;
    margin:0;
    font-size:14px;
    line-height:25px;
    color:#000;
    text-align:center;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:clip;
}

/* ---------- 页脚 ---------- */
/* 与原站一致：页脚层级与固定导航相同，且位于 DOM 后面，
   滚到页脚时黑色区域会盖住固定导航，而不是被导航遮挡 */
.site-footer{position:relative;z-index:1002;background:#000;padding:30px 0}
.site-footer .about{color:#999}
.footer-links{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px 10px;
    padding:18px 16px;
    border:1px dashed #555;
}
.footer-links .label{color:#fafafa}
.footer-links a{color:#999}
.footer-links a:hover{color:var(--primary)}
/* 与原站一致：页脚「网站收录」为带加号的小按钮 */
.footer-links .btn{
    font-size:12px;
    color:#fff;
    border:1px solid #f9f9f9;
    padding:2px 10px;
}
.footer-links .btn:hover{
    color:#fff;
    background:var(--primary);
    border-color:var(--primary);
}
.footer-copy{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:10px 20px;
    margin-top:20px;
    font-size:13px;
    line-height:24px;
}
.footer-copy .right a{color:#999;margin:0 4px}
.footer-copy .right a:hover{color:var(--primary)}

/* ---------- 悬浮按钮（仿原站右侧 36×36 白色图标） ---------- */
/* 原站 .faq：left:50% + margin-left（1400 容器右侧），bottom 5px + margin-bottom 70px */
.float-tools{
    position:fixed;
    left:50%;
    bottom:75px;
    z-index:100;
    display:flex;
    flex-direction:column;
    gap:10px;
    width:36px;
    margin-left:715px;
}
/* 底部固定导航出现时，把悬浮按钮抬高避免遮挡 */
body.nav-bottom-fixed .float-tools{bottom:92px}
/* 原站 .faq .icons：36×36 白底方块、细阴影、图标 18px、悬停黑底白字 */
.float-btn{
    display:block;
    width:36px;
    height:36px;
    padding:0;
    border:0;
    border-radius:0;
    background:#fff;
    color:#333;
    font-size:18px;
    line-height:36px;
    text-align:center;
    cursor:pointer;
    box-shadow:2px 2px 6px rgba(36,37,38,.13);
    transition:all .3s;
}
.float-btn:hover{background:#000;color:#fff}
/* 原站返回顶部图标滚动后才出现（layui-hide） */
#backTop{display:none}
#backTop.show{display:block}

/* ---------- 最新地址弹窗（仿原站右侧浮动图标） ---------- */
body.modal-open{overflow:hidden}
.login-layer{
    position:fixed;
    inset:0;
    z-index:1003;
    display:none;
}
.login-layer.show{display:block}
.login-shade{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.4);
}
/* 与原站 .login-modbox 一致：800px 宽、左侧插图 + 右侧内容 */
.login-modbox{
    position:absolute;
    left:50%;
    top:50%;
    width:800px;
    max-width:calc(100% - 40px);
    max-height:calc(100vh - 40px);
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    transform:translate(-50%,-50%);
    background:#fff;
    box-shadow:0 20px 60px rgba(0,0,0,.3);
}
.login-main{display:flex;min-height:500px}
/* 与原站 .login-modbox .login-main .left 一致：300px 深色插图区 */
.login-main .left{
    flex:none;
    width:300px;
    background:#353442 url("/static/home/jishi/images/login-bg.svg") center no-repeat;
    background-size:80%;
}
.login-main .right{
    display:flex;
    flex:1;
    flex-direction:column;
    padding:50px;
    position:relative;
}
.login-main .right h2{
    width:100%;
    margin:20px 0 25px;
    padding-bottom:20px;
    border-bottom:1px solid var(--line);
    font-size:22px;
    font-weight:700;
    color:#222;
}
.login-main .right h3{
    margin:0 0 12px;
    font-size:16px;
    font-weight:400;
    line-height:24px;
    color:#333;
    word-break:break-all;
}
.login-main .right h3 i{margin-right:4px;color:var(--primary)}
.login-main .right h4{margin:0 0 10px;font-size:14px;font-weight:400;color:#666}
.login-main .right .border{
    width:100%;
    margin:20px 0 25px;
    padding-bottom:20px;
    border-bottom:1px solid var(--line);
}
.login-main .right .bottom{
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin-top:auto;
    padding-top:20px;
    font-size:12px;
    color:#999;
}

/* ---------- 关于我们 / 广告合作 / 联系我们 ---------- */
.about-tips{
    margin-top:15px;
    padding:12px 15px;
    background:#fff;
    font-size:14px;
    line-height:28px;
    color:#555;
}
.about-tips b{
    margin-right:10px;
    padding:3px 6px;
    background:#000;
    color:#fff;
    font-weight:400;
}
.article-content{
    margin-top:15px;
    padding:20px 30px 30px;
    background:#fff;
    font-size:16px;
    line-height:2;
    color:#333;
}
.article-content .title-header{
    position:relative;
    margin-bottom:12px;
    font-size:22px;
    font-weight:700;
    line-height:30px;
    color:#222;
}
.article-content .title-header i{
    display:inline-block;
    width:30px;
    height:30px;
    margin-right:8px;
    border-radius:50%;
    background:#f1f1f1;
    color:#333;
    font-size:17px;
    line-height:30px;
    text-align:center;
    vertical-align:middle;
}
.article-content p{margin:0;line-height:2}
.article-content .accent{color:var(--primary)}
.article-content .accent i{margin-right:4px}
.article-content .tag-badge{vertical-align:middle}

/* ---------- 响应式 ---------- */
/* 断点与参考站保持一致：1440 / 1280 / 1024 / 960 / 900 / 820 / 768 / 640 */
@media (max-width:1440px){
    .main{width:1200px}
    .search{width:70%}
    .nav-go .title{width:140px}
    .nav-go li{padding:12.1px 5px;line-height:35px}
    .hero-brand h1{font-size:48px}
    .link-grid a{width:calc(12.5% - 6px)}
    .float-tools{margin-left:615px}
}
@media (max-width:1280px){
    .main{width:1100px}
    .search{width:825px;max-width:825px}
    .nav-go .title{width:130px}
    .nav-go li{padding:9.1px 4px;line-height:35px}
    .hero-brand h1{font-size:44px}
    .float-tools{margin-left:565px}
    .website-tips .mr{float:left;text-align:left}
}
@media (max-width:1200px){
    /* 容器已接近满屏，悬浮图标改为贴右显示，避免超出屏幕 */
    .float-tools{left:auto;right:20px;margin-left:0}
}
@media (max-width:1024px){
    .main{width:98%;max-width:98%}
    .search{width:73.5vw}
    .hero-brand h1{font-size:40px}
    /* 与原站 ≤1024 一致：标题保留显示，宽 110px（含左右各 10px 内边距），字号 20px */
    .nav-go .title{width:110px;font-size:20px;padding:0 10px}
    .nav-go li{padding:8.2px 4px;font-size:20px}
    .section-title{font-size:18px;padding-top:5px;padding-bottom:5px}
    .section-title i{font-size:22px;margin-right:3px}
    /* 原站 ≤1024 时 .border 间距由 15px 收紧为 10px */
    .featured{margin-top:10px}
    .link-grid a{font-size:14px}
    .app-naicon,.app-naicon img{border-radius:10px}
}
@media (max-width:960px){
    .hero{background-size:155% auto;padding-bottom:100px}
    .search{width:78.4vw}
    .hero-brand-spacer{height:410px}
    /* 与原站 ≤960 一致：标题收窄到 105px（含左右各 10px 内边距），字号 18px */
    .nav-go .title{width:105px;font-size:18px}
    .nav-go li{padding:7.1px 4px;font-size:18px}
    .featured{padding:0 10px}
    .featured-list a{height:40px;line-height:40px;font-size:15px}
    .website-tips .tips-top{font-size:13px}
    .link-grid a{width:calc(16.666% - 6px)}
    .app-ico{width:calc(10% - 5px);margin:2px}
}
@media (max-width:900px){
    .nav-go ul{flex-wrap:wrap}
    .nav-go li{flex:0 0 auto;padding:6px 12px;font-size:16px;line-height:24px}
}
@media (max-width:820px){
    .hero{background-size:160% auto;padding-bottom:60px}
    .search{width:83.3vw}
    .hero-brand-spacer{height:370px}
    .nav-go li{padding:0 27px;font-size:16px}
    .featured-list a{width:25%}
    .link-grid a{width:calc(20% - 6px)}
    .app-ico{width:calc(20% - 11px);margin:5px}
    .app-naicon,.app-naicon img{border-radius:20px}
}
@media (max-width:768px){
    .search-input{height:42px;padding-right:70px}
    .search-btn{height:42px;width:60px;font-size:22px}
    .nav-go li{padding:0 25px}
    .article-content .title-header{font-size:18px}
    .article-content .title-header i{font-size:22px}
    .login-modbox{width:calc(100% - 40px)}
    .login-main .right{padding:30px}
    .hero-brand-spacer{height:350px}
}
@media (max-width:640px){
    .main{width:calc(100% - 20px);max-width:none;padding-top:10px}
    .hero{padding:0 10px 60px;background-size:200% auto}
    .hero-brand{padding-top:40px}
    .hero-brand h1{font-size:28px;letter-spacing:1px}
    .hero-brand p{font-size:13px}
    .hero-brand-spacer{height:10px}
    .search{width:88.2vw;min-width:0;margin-top:55%}
    .search-bottom{font-size:13px}
    .about-tips{padding:10px 12px;font-size:13px;line-height:24px}
    .nav-go{padding:0}
    /* 与原站 ≤640 一致：标题仍然显示，宽 5%（border-box 需补回左右各 10px 内边距），字号 18px，文字竖排换行 */
    .nav-go .title{display:inline-block;width:calc(5% + 20px);padding:0 10px;font-size:18px;white-space:normal}
    /* 与原站 ≤640 一致：标题右侧保留 1px 竖线，左右各 10px 间距；此处 .nav-go 上下无 padding，竖线不再外扩 */
    .nav-go ul{flex:1;flex-wrap:wrap}
    .nav-go ul::before{top:0;bottom:0}
    .nav-go li{flex:0 0 20%;width:20%;padding:0;font-size:15px;line-height:40px;height:40px}
    .nav-go li a{line-height:40px}
    .featured{margin-top:10px;padding:0 10px}
    .featured-list a{width:25%;height:36px;line-height:36px;font-size:13px}
    .website-tips{line-height:25px}
    .banner{height:78px;padding:0 14px;flex-direction:row;align-items:center;gap:10px}
    .banner h2{font-size:18px;line-height:20px}
    .banner p{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .banner .banner-btn{padding:3px 6px;font-size:12px}
    /* 移动端横幅图片块：不再按横幅宽高比缩放，统一固定高度 50px，宽度铺满 */
    .banner-link{aspect-ratio:auto;height:50px}
    .link-section{margin-bottom:12px}
    .link-section.is-sub{margin-left:6px;padding-left:8px}
    .link-section.is-sub .section-title{padding-top:4px;padding-bottom:4px;font-size:15px;line-height:17px}
    .link-section.is-sub .section-title i{width:20px;height:20px;font-size:16px}
    .section-title{padding-left:10px;font-size:17px}
    .section-title i{width:25px;height:25px;font-size:20px}
    .link-grid{margin:0}
    .link-grid a{width:calc(25% - 2px);height:40px;line-height:40px;margin:1px;font-size:13px}
    .tag-badge{height:14px;line-height:14px;font-size:11px;margin-left:2px}
    .app-naicon{margin:5px;border-radius:10px}
    .app-naicon img{border-radius:5px}
    .article-content{padding:10px 20px 20px;font-size:13px}
    .article-content .title-header{height:auto;margin-bottom:8px;font-size:17px;line-height:25px}
    .article-content .title-header i{width:25px;height:25px;font-size:20px;line-height:25px}
    .site-footer{padding:15px 0 10px}
    .footer-links{padding:12px 10px;gap:6px 8px}
    .footer-copy{flex-direction:column;text-align:center;gap:4px}
    .footer-copy .right{text-align:center}
    .login-modbox{max-height:calc(100vh - 30px)}
    .login-main{display:block;min-height:0}
    .login-main .left{width:100%;height:150px;background-size:100%}
    .login-main .right{padding:0 25px 30px}
    .login-main .right h2{margin-top:20px;font-size:18px}
    .login-main .right h3{font-size:14px;line-height:22px}
    .login-main .right .bottom{flex-direction:column;gap:2px;padding-top:16px}
    .float-tools{right:10px;bottom:15px}
}

/* ---------- 收录申请（关于页） ---------- */
.apply-entry{margin-top:15px;text-align:center}
.apply-open{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 30px;
    border:0;
    border-radius:2px;
    background:var(--primary);
    color:#fff;
    font-size:16px;
    line-height:24px;
    font-family:inherit;
    letter-spacing:1px;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(246,13,84,.22);
    transition:all .3s;
}
.apply-open:hover{background:#d90b4a;color:#fff;transform:translateY(-1px)}
.apply-open-inline{
    display:inline-flex;
    align-items:center;
    gap:5px;
    height:24px;
    box-sizing:border-box;
    padding:0 10px;
    margin:0 4px;
    font-size:13px;
    line-height:24px;
    letter-spacing:0;
    vertical-align:baseline;
    white-space:nowrap;
}
.apply-open-inline:hover{transform:none}
.apply-open.apply-open-update{background:#1f9d74;box-shadow:0 8px 20px rgba(31,157,116,.22)}
.apply-open.apply-open-update:hover{background:#178a66;color:#fff}
.apply-open-inline .apply-ico{
    display:block;
    flex:none;
    width:13px;
    height:13px;
    color:inherit;
}
.apply-layer{position:fixed;inset:0;z-index:1005;display:none}
.apply-layer.show{display:block}
.apply-shade{position:absolute;inset:0;background:rgba(0,0,0,.45)}
.apply-dialog{
    position:absolute;
    left:50%;
    top:50%;
    width:640px;
    max-width:calc(100% - 40px);
    max-height:calc(100vh - 40px);
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    transform:translate(-50%,-50%);
    background:#fff;
    box-shadow:0 20px 60px rgba(0,0,0,.3);
}
.apply-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 24px;
    border-bottom:1px solid var(--line);
}
.apply-head h2{margin:0;font-size:18px;line-height:26px;color:#222;font-weight:700}
.apply-head h2 i{color:var(--primary);margin-right:6px}
.apply-x{
    width:32px;
    height:32px;
    padding:0;
    border:0;
    background:transparent;
    color:#999;
    font-size:20px;
    line-height:32px;
    cursor:pointer;
    transition:all .3s;
}
.apply-x:hover{color:var(--primary)}
.apply-body{padding:20px 24px 0}
.apply-grid{display:flex;flex-direction:column;gap:14px}
.apply-row{display:flex;flex-wrap:wrap;gap:14px 18px}
.apply-field{display:flex;flex-direction:column;gap:6px;min-width:0}
/* 站名约 8 个汉字的宽度；网址自适应剩余空间；栏目按选项内容自适应 */
.apply-field-name{flex:0 0 136px}
.apply-field-url{flex:1 1 220px;min-width:180px}
.apply-field-cat{flex:0 0 auto;max-width:100%}
.apply-row-sub .apply-field{flex:1 1 0}
.apply-field>span{font-size:14px;line-height:22px;color:#333}
.apply-field input,.apply-field select{
    width:100%;
    height:40px;
    padding:0 12px;
    border:1px solid #ddd;
    border-radius:2px;
    background:#fff;
    color:#333;
    font-size:14px;
    font-family:inherit;
    outline:none;
    transition:border-color .2s,box-shadow .2s;
}
.apply-field input::placeholder{color:#bbb}
/* 栏目下拉按选项内容自适应宽度，不跟随整行拉伸 */
.apply-field-cat select{width:auto;min-width:96px;max-width:220px}
.apply-field input:focus,.apply-field select:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 2px rgba(246,13,84,.12);
}
.apply-divider{
    position:relative;
    margin:24px 0 16px;
    text-align:center;
    color:#999;
    font-size:12px;
    line-height:20px;
}
.apply-divider::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:50%;
    border-top:1px solid var(--line);
}
.apply-divider span{position:relative;z-index:1;padding:0 12px;background:#fff}
.apply-site{
    padding:12px 16px;
    background:#fafafa;
    border:1px dashed #e5e5e5;
}
.apply-site p{margin:0;font-size:14px;line-height:28px;color:#333;word-break:break-all}
.apply-site b{color:#222;font-weight:700}
.apply-site a{color:var(--primary)}
.apply-tip{
    margin:12px 0 0;
    font-size:13px;
    line-height:20px;
    color:#e02020;
    word-break:break-all;
}
.apply-copy{position:relative;cursor:pointer;transition:color .2s}
.apply-copy::after{
    content:"\f0c5";
    font-family:'FontAwesome';
    margin-left:6px;
    font-size:12px;
    color:#c5c5c5;
    transition:color .2s;
}
.apply-copy:hover{color:var(--primary)}
.apply-copy:hover::after{color:var(--primary)}
.apply-copy.is-copied{color:#1f8a4c}
.apply-copy.is-copied::after{content:"\f00c";color:#1f8a4c}
.apply-copy-toast{
    position:fixed;
    left:50%;
    bottom:40px;
    z-index:1006;
    padding:8px 18px;
    border-radius:2px;
    background:rgba(0,0,0,.78);
    color:#fff;
    font-size:13px;
    line-height:20px;
    opacity:0;
    visibility:hidden;
    transform:translateX(-50%) translateY(10px);
    transition:opacity .2s,transform .2s,visibility .2s;
    pointer-events:none;
}
.apply-copy-toast.show{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.apply-msg{
    display:none;
    margin-top:12px;
    padding:8px 12px;
    border-radius:2px;
    background:#f0f9f2;
    color:#1f8a4c;
    font-size:13px;
    line-height:20px;
}
.apply-msg.show{display:block}
.apply-msg.is-error{background:#fff3f3;color:#d4380d}

/* 提交结果弹窗（成功 / 失败统一使用弹出样式） */
.apply-result{
    position:fixed;inset:0;z-index:10;display:flex;align-items:center;justify-content:center;
    padding:24px;opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s;
}
.apply-result.show{opacity:1;visibility:visible}
.apply-result-mask{position:absolute;inset:0;background:rgba(17,22,29,.42)}
.apply-result-card{
    position:relative;width:min(320px,100%);padding:26px 22px 20px;border-radius:14px;
    background:#fff;text-align:center;box-shadow:0 16px 44px rgba(17,22,29,.2);
    transform:translateY(10px) scale(.97);transition:transform .2s;
}
.apply-result.show .apply-result-card{transform:none}
.apply-result-icon{
    display:flex;align-items:center;justify-content:center;width:52px;height:52px;
    margin:0 auto 14px;border-radius:50%;background:#eaf7ef;color:#1f9d55;font-size:22px;
}
.apply-result.is-error .apply-result-icon{background:#fdeeee;color:#e04b4b}
.apply-result-title{margin:0 0 8px;font-size:17px;line-height:1.5;font-weight:600;color:#1f2329}
.apply-result-text{margin:0 0 18px;font-size:14px;line-height:1.7;color:#666;word-break:break-all}
.apply-result-card .apply-btn{width:100%}
.apply-foot{display:flex;justify-content:flex-end;gap:12px;padding:18px 24px 24px}
.apply-btn{
    min-width:96px;
    height:40px;
    padding:0 20px;
    border:1px solid transparent;
    border-radius:2px;
    font-size:14px;
    font-family:inherit;
    line-height:38px;
    cursor:pointer;
    transition:all .3s;
}
.apply-btn-ghost{background:#fff;border-color:#ddd;color:#666}
.apply-btn-ghost:hover{border-color:#bbb;color:#333}
.apply-btn-primary{background:var(--primary);color:#fff}
.apply-btn-primary:hover{background:#d90b4a;color:#fff}
.apply-btn-update{background:#1f9d74;color:#fff}
.apply-btn-update:hover{background:#178a66;color:#fff}
@media (max-width:640px){
    .apply-open{padding:8px 24px;font-size:14px}
    .apply-open.apply-open-inline{padding:0 8px;font-size:13px;line-height:24px;margin:0 4px}
    .apply-dialog{max-height:calc(100vh - 20px)}
    .apply-head{padding:14px 16px}
    .apply-body{padding:16px 16px 0}
    .apply-grid{gap:12px}
    .apply-row{flex-direction:column;gap:12px}
    .apply-field-name,.apply-field-url,.apply-field-cat{flex:0 0 auto;width:100%;max-width:none}
    .apply-field-cat select{width:100%;max-width:none}
    .apply-row-sub .apply-field{flex:0 0 auto}
    .apply-foot{padding:16px;gap:10px}
    .apply-btn{flex:1}
}

/* 更新链接行内按钮：图标与文字按垂直中线对齐（不使用基线对齐） */
.apply-open.apply-open-update{
    line-height:1;
    vertical-align:middle;
}
.apply-open-inline .apply-label{
    display:inline-flex;
    align-items:center;
    flex:none;
    height:13px;
    line-height:1;
}
