/* ============================================================
   NAILUOYU 前台模板样式（头尾 / 首页 / 登录弹窗 / 响应式）
   依赖 base.css（shadcn 令牌与 .sc-* 基础组件）
   ============================================================ */

/* ---------- 通用 ---------- */
.nal-toast-m{position:fixed;left:50%;bottom:44px;transform:translateX(-50%) translateY(20px);background:#111;color:#fff;font-size:13.5px;padding:10px 20px;border-radius:10px;opacity:0;pointer-events:none;transition:.25s;z-index:9999}
.nal-toast-m.show{opacity:1;transform:translateX(-50%) translateY(0)}
.nal-shell{min-height:calc(100vh - 340px)}
.nal-empty{padding:60px 20px;text-align:center;color:hsl(var(--muted-foreground));font-size:14px;border:1px dashed hsl(var(--border));border-radius:var(--radius)}
.section-title{display:flex;align-items:baseline;gap:12px;margin:0 0 18px}
.section-title h2{font-size:22px;font-weight:800;letter-spacing:-.01em}
.section-title .tip{font-size:13px;color:hsl(var(--muted-foreground))}
.section-title .more{margin-left:auto;font-size:13px;color:hsl(var(--muted-foreground))}
.section-title .more:hover{color:hsl(var(--site-primary-deep))}
.sec-block{margin-top:34px}
.logo{display:inline-flex;align-items:center;gap:9px;font-size:19px;font-weight:800;letter-spacing:-.02em;color:hsl(var(--foreground))}
.logo .mark{width:32px;height:32px;border-radius:9px;flex:none;display:grid;place-items:center;font-size:15px;color:#fff;background:linear-gradient(135deg,hsl(var(--site-primary)) 0%,hsl(var(--site-primary-deep)) 100%);box-shadow:0 4px 12px hsla(var(--site-primary)/.35)}
.logo-img{max-height:36px;width:auto}

/* ---------- 公告条 ---------- */
.announce{background:hsl(var(--site-primary-deep));color:#fff;font-size:13px;padding:7px 0;position:relative;z-index:60}
.announce .pp-wrap{display:flex;align-items:center;gap:10px;min-width:0}
.announce .txt{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.announce .close{flex:none;color:rgba(255,255,255,.75);font-size:16px;line-height:1;border-radius:4px;padding:2px 6px}
.announce .close:hover{color:#fff;background:rgba(255,255,255,.15)}

/* ---------- 双行导航 ---------- */
.nal-nav{position:sticky;top:0;z-index:50;background:hsl(var(--card));border-bottom:1px solid hsl(var(--border))}
.nav-top{border-bottom:1px solid hsl(var(--border))}
.nav-top-in{height:62px;display:flex;align-items:center;gap:20px}
.nav-search{flex:1;max-width:520px;margin:0 auto}
.nav-search .wrap{position:relative}
.nav-search .ico{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:hsl(var(--muted-foreground));pointer-events:none}
.nav-search .sc-input{height:38px;border-radius:9999px;padding-left:38px;background:hsl(var(--muted))}
.nav-right{display:flex;align-items:center;gap:10px;flex:none}
.nav-burger{display:none;width:40px;height:40px;font-size:16px}
.nav-sub{background:hsl(var(--card))}
.nav-sub-in{height:46px;display:flex;align-items:center;overflow-x:auto;scrollbar-width:none}
.nav-sub-in::-webkit-scrollbar{display:none}
.nav-cats{display:flex;align-items:center;gap:2px}
.nav-cat{display:inline-flex;align-items:center;gap:5px;height:38px;padding:0 14px;font-size:14px;border-radius:8px;color:hsl(var(--muted-foreground));white-space:nowrap;position:relative}
.nav-cat:hover{background:hsl(var(--accent));color:hsl(var(--foreground))}
.nav-cat.on{color:hsl(var(--site-primary-deep));font-weight:600}
.nav-cat.on::after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:2px;border-radius:2px;background:hsl(var(--site-primary))}

/* 移动抽屉 */
.nal-drawer-bg{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:95;opacity:0;visibility:hidden;transition:.2s}
.nal-drawer-bg.open{opacity:1;visibility:visible}
.nal-drawer{position:fixed;top:0;right:0;bottom:0;width:280px;background:hsl(var(--card));z-index:96;padding:16px;transform:translateX(100%);transition:transform .22s ease;overflow-y:auto}
.nal-drawer.open{transform:none}
.nd-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid hsl(var(--border));margin-bottom:10px}
.nd-x{font-size:18px;color:hsl(var(--muted-foreground));padding:4px}
.nd-nav{display:flex;flex-direction:column}
.nd-nav a{padding:12px 6px;font-size:14.5px;border-bottom:1px solid hsl(var(--border)/.6);color:hsl(var(--foreground))}
.nd-nav a:hover{color:hsl(var(--site-primary-deep))}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;border-bottom:1px solid hsl(var(--border))}
.hero::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(hsla(var(--site-primary)/.30) 1px,transparent 1px),radial-gradient(hsla(var(--site-primary)/.30) 1px,transparent 1px),radial-gradient(600px 260px at 84% -40px,hsla(var(--site-primary)/.13),transparent 70%),radial-gradient(520px 240px at 6% -70px,hsla(var(--site-primary)/.09),transparent 70%);background-size:26px 26px,26px 26px,100% 100%,100% 100%;background-position:0 0,13px 13px,0 0,0 0}
.hero-inner{padding:62px 0 50px;position:relative;text-align:center}
.hero .kicker{display:inline-flex;align-items:center;gap:8px;height:28px;padding:0 14px;border-radius:9999px;background:hsl(var(--site-primary-soft));color:hsl(var(--site-primary-deep));font-size:13px;font-weight:500;margin-bottom:22px}
.hero h1{font-size:44px;font-weight:800;letter-spacing:-.03em;line-height:1.2;color:hsl(var(--foreground))}
.hero h1 .grad{background:linear-gradient(120deg,hsl(var(--site-primary)) 0%,hsl(var(--site-primary-deep)) 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero .sub{font-size:16px;color:hsl(var(--muted-foreground));margin:14px auto 30px;max-width:520px}
.hero-search{max-width:600px;margin:0 auto;position:relative}
.hero-search .sc-input{height:54px;width:100%;border-radius:9999px;padding:0 148px 0 22px;font-size:15px;background:hsl(var(--card));box-shadow:0 8px 24px rgba(0,0,0,.05)}
.hero-search .sc-btn{position:absolute;right:6px;top:6px;height:42px;width:126px;border-radius:9999px;font-size:15px}
.hot{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:18px;font-size:13px;color:hsl(var(--muted-foreground))}
.hot b{font-weight:500}
.hot a{color:hsl(var(--muted-foreground));padding:3px 10px;border-radius:9999px;background:hsl(var(--muted));font-size:12.5px}
.hot a:hover{background:hsl(var(--site-primary-soft));color:hsl(var(--site-primary-deep))}
.hero-data{max-width:960px;margin:40px auto 0;display:flex;border-top:1px solid hsl(var(--border));padding-top:24px}
.hero-data .d{flex:1;text-align:center;border-left:1px solid hsl(var(--border))}
.hero-data .d:first-child{border-left:none}
.hero-data .num{font-size:24px;font-weight:800;color:hsl(var(--site-primary-deep));line-height:1.1}
.hero-data .lab{font-size:13px;color:hsl(var(--muted-foreground));margin-top:2px}

/* ---------- 分类胶囊 ---------- */
.catbar{display:flex;gap:10px;flex-wrap:wrap;margin:26px 0 8px}
.catbar a{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 16px;border:1px solid hsl(var(--border));border-radius:9999px;font-size:13.5px;color:hsl(var(--muted-foreground));transition:.15s}
.catbar a:hover{border-color:hsl(var(--site-primary));color:hsl(var(--site-primary-deep));background:hsl(var(--site-primary-soft))}

/* ---------- 资源卡 ---------- */
.rg{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.r-card{overflow:hidden;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s}
.r-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(0,0,0,.08);border-color:hsl(var(--border))}
.r-thumb{position:relative;aspect-ratio:16/9;background:hsl(var(--muted));overflow:hidden}
.r-thumb-a{display:block;width:100%;height:100%;background-size:cover;background-position:center;transition:transform .35s}
.r-card:hover .r-thumb-a{transform:scale(1.04)}
.r-thumb-a.noimg{background:linear-gradient(140deg,hsl(var(--site-primary-soft)) 0%,hsl(var(--muted)) 70%);position:relative}
.r-thumb-a.noimg::after{content:"N";position:absolute;inset:0;display:grid;place-items:center;font-size:34px;font-weight:800;color:hsla(var(--site-primary)/.40)}
.r-thumb .badges{position:absolute;top:10px;left:10px;display:flex;gap:6px}
.nal-plat-chip{position:absolute;bottom:10px;right:10px;display:inline-flex;height:22px;padding:0 8px;border-radius:6px;background:rgba(0,0,0,.55);color:#fff;font-size:11.5px;align-items:center;backdrop-filter:blur(4px)}
.r-fav{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:9999px;background:rgba(255,255,255,.9);display:grid;place-items:center;color:hsl(var(--muted-foreground));box-shadow:0 2px 8px rgba(0,0,0,.12);opacity:0;transition:.15s}
.r-card:hover .r-fav{opacity:1}
.r-fav:hover{color:#DC2626}
.r-body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:8px;flex:1}
.r-title{font-size:14.5px;font-weight:600;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px;color:hsl(var(--foreground))}
.r-title:hover{color:hsl(var(--site-primary-deep))}
.r-meta{display:flex;align-items:center;gap:10px;font-size:12.5px;color:hsl(var(--muted-foreground));margin-top:auto}
.r-dls{margin-left:auto;display:inline-flex;align-items:center;gap:4px}
.nal-stars{display:inline-flex;gap:1px;line-height:1}
.nal-star{color:#D1D5DB}
.nal-star.on{color:#F59E0B}

/* ---------- 精选横滑 ---------- */
.slider{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 10px;scrollbar-width:thin}
.slider::-webkit-scrollbar{height:6px}
.slider::-webkit-scrollbar-thumb{background:hsl(var(--border));border-radius:9999px}
.sl{scroll-snap-align:start;flex:0 0 292px}
.sl .r-title{font-size:15px;font-weight:700;min-height:auto}

/* ---------- 榜单 + 侧栏 ---------- */
.home-grid{display:grid;grid-template-columns:1fr 340px;gap:32px;margin-top:46px;padding-bottom:20px}
.rank-item{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:10px;transition:background .15s;margin-bottom:2px}
.rank-item:hover{background:hsl(var(--accent))}
.rank-no{width:22px;text-align:center;font-size:16px;font-weight:800;font-style:italic;color:hsl(var(--muted-foreground))}
.rank-no.hot{color:hsl(var(--site-primary))}
.rank-info{flex:1;min-width:0}
.rank-name{font-size:14px;font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:hsl(var(--foreground))}
.rank-name:hover{color:hsl(var(--site-primary-deep))}
.rank-meta{font-size:12px;color:hsl(var(--muted-foreground))}
.rank-side{display:flex;flex-direction:column;gap:14px}
.side-card{padding:16px}
.side-card h3{font-size:15px;font-weight:700;margin-bottom:12px;display:flex;align-items:center;gap:8px}
.side-card .h3dot{width:4px;height:16px;border-radius:3px;background:hsl(var(--site-primary))}
.side-tag{display:flex;flex-wrap:wrap;gap:8px}
.side-tag a{font-size:12.5px;color:hsl(var(--muted-foreground));padding:5px 12px;border-radius:9999px;background:hsl(var(--muted))}
.side-tag a:hover{background:hsl(var(--site-primary-soft));color:hsl(var(--site-primary-deep))}
.coin-box{background:linear-gradient(135deg,hsl(var(--site-primary)) 0%,hsl(var(--site-primary-deep)) 100%);color:#fff;padding:18px;border-radius:var(--radius);position:relative;overflow:hidden}
.coin-box::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(hsl(0 0% 100%/.18) 1px,transparent 1px);background-size:22px 22px}
.coin-box h3{font-size:15px;font-weight:700;margin-bottom:6px;position:relative}
.coin-box p{font-size:12.5px;opacity:.85;margin-bottom:12px;position:relative}
.coin-box .sc-btn{background:#fff;color:hsl(var(--site-primary-deep));position:relative;box-shadow:0 6px 16px rgba(0,0,0,.2)}
.coin-box .sign-balance{font-size:12px;opacity:.85;margin-top:10px;position:relative}
.ad-box{height:170px;border:1px dashed hsl(var(--border));border-radius:var(--radius);display:flex;flex-direction:column;gap:4px;place-items:center;color:hsl(var(--muted-foreground));font-size:13px;background:hsla(var(--muted)/.4)}
.ad-mini{font-size:11px;opacity:.7}

/* ---------- 页脚 ---------- */
.nal-footer{border-top:1px solid hsl(var(--border));margin-top:56px;background:hsla(var(--muted)/.35)}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:36px;padding:40px 0 30px}
.footer-grid h4{font-size:14px;font-weight:700;margin-bottom:14px}
.footer-grid li{margin-bottom:9px}
.footer-grid a{font-size:13px;color:hsl(var(--muted-foreground))}
.footer-grid a:hover{color:hsl(var(--site-primary-deep))}
.fdesc{font-size:13px;color:hsl(var(--muted-foreground));margin-top:12px;max-width:280px;line-height:1.7}
.footer-bot{border-top:1px solid hsl(var(--border));padding:16px 0;display:flex;gap:14px;flex-wrap:wrap;font-size:12.5px;color:hsl(var(--muted-foreground))}
.footer-bot .fr{margin-left:auto}

/* ---------- 登录弹窗 ---------- */
.nal-ovl{position:fixed;inset:0;background:rgba(17,17,17,.52);z-index:200;display:none;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(4px)}
.nal-ovl.open{display:flex;animation:nal-fade .18s ease}
.nal-auth{position:relative;width:100%;max-width:720px;background:hsl(var(--card));border-radius:20px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.3);display:grid;grid-template-columns:300px 1fr;animation:nal-pop .22s ease}
.a-close{position:absolute;right:14px;top:14px;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;font-size:15px;color:hsl(var(--muted-foreground));background:hsla(var(--muted)/.7);z-index:5}
.a-close:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}
.auth-brand{background:linear-gradient(160deg,hsl(var(--site-primary)) 0%,hsl(var(--site-primary-deep)) 100%);color:#fff;padding:34px 30px;display:flex;align-items:center;position:relative;overflow:hidden}
.auth-brand::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(hsl(0 0% 100%/.20) 1px,transparent 1px),radial-gradient(hsl(0 0% 100%/.20) 1px,transparent 1px);background-size:24px 24px,24px 24px;background-position:0 0,12px 12px}
.auth-brand .ab{position:relative;width:100%}
.auth-brand .logo2{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:800}
.auth-brand .logo2 .mk{width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,.25);display:grid;place-items:center;font-size:13px}
.auth-brand h2{font-size:18px;font-weight:800;margin:18px 0 8px;line-height:1.45}
.auth-brand p{font-size:12.5px;opacity:.85}
.auth-brand .qr-box{width:140px;height:140px;background:#fff;border-radius:14px;margin:20px auto 0;padding:8px;box-shadow:0 10px 26px rgba(0,0,0,.25)}
.auth-brand .qr-box svg,.qr-box svg{width:100%;height:100%;display:block}
.auth-brand .qr-tip{font-size:12px;opacity:.8;margin-top:10px;text-align:center}
.auth-main{padding:30px 34px 24px;display:flex;flex-direction:column;min-height:480px}
.a-head{display:flex;align-items:baseline;gap:6px}
.a-head h3{font-size:20px;font-weight:800}
.a-head .to-reg{margin-left:auto;font-size:12.5px;color:hsl(var(--muted-foreground))}
.a-head .to-reg a{color:hsl(var(--site-primary-deep));font-weight:600}
.a-tabs{display:flex;background:hsl(var(--muted));border-radius:11px;padding:4px;margin:16px 0 20px;position:relative}
.a-tabs .pill-bar{position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);background:hsl(var(--card));border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:transform .2s ease}
.a-tabs.rg-mode .pill-bar{transform:translateX(100%)}
.a-tab{flex:1;height:36px;border-radius:8px;font-size:14px;font-weight:600;color:hsl(var(--muted-foreground));position:relative;z-index:1;transition:color .2s}
.a-tab.on{color:hsl(var(--site-primary-deep))}
.a-form{display:none}
.a-form.show{display:block}
.field{position:relative;margin-bottom:16px}
.field .f-ico{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:hsl(var(--muted-foreground));font-size:14px}
.field input{width:100%;height:46px;padding:0 42px 0 40px;border:1px solid hsl(var(--border));border-radius:12px;font-size:14px;color:hsl(var(--foreground));background:hsla(var(--muted)/.35);transition:.15s;font-family:inherit}
.field input::placeholder{color:hsl(var(--muted-foreground))}
.field input:focus{outline:none;border-color:hsl(var(--site-primary));background:hsl(var(--card));box-shadow:0 0 0 3px hsla(var(--site-primary)/.14)}
.field .eye{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:hsl(var(--muted-foreground));font-size:15px;padding:2px}
.field .get-code{position:absolute;right:6px;top:50%;transform:translateY(-50%);height:34px;padding:0 14px;border-radius:9px;font-size:12.5px;color:hsl(var(--site-primary-deep));background:hsl(var(--site-primary-soft));font-weight:600}
.field .get-code:disabled{color:hsl(var(--muted-foreground));background:hsl(var(--muted))}
.a-row{display:flex;align-items:center;justify-content:space-between;font-size:12.5px;margin:-2px 0 16px;color:hsl(var(--muted-foreground))}
.a-row label{display:flex;align-items:center;gap:6px;cursor:pointer}
.a-row input{width:15px;height:15px;accent-color:hsl(var(--site-primary))}
.a-row a{color:hsl(var(--site-primary-deep))}
.nal-auth-submit{width:100%;height:46px;border-radius:12px;font-size:15px;font-weight:600;color:#fff;background:hsl(var(--site-primary));box-shadow:0 8px 20px hsla(var(--site-primary)/.28);transition:.18s}
.nal-auth-submit:hover{background:hsl(calc(var(--site-primary) + 5) 84% 52%)}
.form-tip{font-size:12px;color:hsl(var(--muted-foreground));text-align:center;margin-top:14px}
.a-agree{font-size:11.5px;color:hsl(var(--muted-foreground));margin-top:auto;padding-top:14px;text-align:center;line-height:1.7}

/* ---------- 列表页 ---------- */
.cat-head{display:flex;align-items:flex-end;gap:14px;margin:14px 0 16px;flex-wrap:wrap}
.cat-head h1{font-size:26px;font-weight:800;letter-spacing:-.02em;display:flex;align-items:center;gap:12px}
.cat-head h1 .cnt{font-size:13px;font-weight:500;color:hsl(var(--muted-foreground));background:hsl(var(--muted));border-radius:9999px;padding:4px 12px}
.cat-head .desc{font-size:13.5px;color:hsl(var(--muted-foreground));width:100%;max-width:640px}
.cat-body{display:grid;grid-template-columns:230px 1fr;gap:22px;align-items:start;padding-bottom:40px}
.filters{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:6px 14px 14px;position:sticky;top:130px}
.f-title{font-size:14px;font-weight:700;padding:14px 0 10px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid hsl(var(--border))}
.f-title .reset{font-size:12px;color:hsl(var(--muted-foreground))}
.f-title .reset:hover{color:hsl(var(--site-primary-deep))}
.f-group{padding:12px 0;border-bottom:1px solid hsl(var(--border)/.6)}
.f-group:last-child{border-bottom:none}
.f-group h4{font-size:13px;font-weight:600;margin-bottom:9px;display:flex;align-items:center;gap:6px}
.f-opt{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:13.5px;color:hsl(var(--muted-foreground));cursor:pointer}
.f-opt:hover{color:hsl(var(--foreground))}
.f-opt input{width:15px;height:15px;accent-color:hsl(var(--site-primary));cursor:pointer}
.f-opt input:checked + span{color:hsl(var(--site-primary-deep));font-weight:600}
.f-opt span{pointer-events:none}
.s-bar{display:flex;align-items:center;gap:8px;margin-bottom:16px;flex-wrap:wrap}
.s-bar .lab{font-size:13px;color:hsl(var(--muted-foreground));margin-right:4px}
.s-opt{height:32px;padding:0 14px;border-radius:9999px;font-size:13px;color:hsl(var(--muted-foreground));border:1px solid hsl(var(--border));display:inline-flex;align-items:center}
.s-opt.on{background:hsl(var(--site-primary));border-color:hsl(var(--site-primary));color:#fff;font-weight:600}
.s-bar .count{margin-left:auto;font-size:13px;color:hsl(var(--muted-foreground))}
.f-btn{display:none}
.list{display:flex;flex-direction:column;gap:14px}
.lr{display:flex;gap:18px;padding:16px;transition:box-shadow .18s,border-color .18s}
.lr:hover{box-shadow:0 10px 26px rgba(0,0,0,.07)}
.lr .thumb-a{width:210px;aspect-ratio:16/9;border-radius:10px;background-size:cover;background-position:center;flex:none;background-color:hsl(var(--muted));position:relative}
.lr .thumb-a.noimg::after{content:"N";position:absolute;inset:0;display:grid;place-items:center;font-size:30px;font-weight:800;color:hsla(var(--site-primary)/.40)}
.lr .mid{flex:1;min-width:0;display:flex;flex-direction:column}
.lr .t{font-size:15.5px;font-weight:700;line-height:1.4;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;color:hsl(var(--foreground))}
.lr .t:hover{color:hsl(var(--site-primary-deep))}
.lr .badges{display:flex;gap:6px;margin:8px 0;flex-wrap:wrap}
.lr .desc{font-size:13px;color:hsl(var(--muted-foreground));display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6}
.lr .meta{display:flex;align-items:center;gap:14px;font-size:12.5px;color:hsl(var(--muted-foreground));margin-top:auto;padding-top:10px;flex-wrap:wrap}
.lr .meta .rate{color:#F59E0B;font-weight:600;display:inline-flex;align-items:center;gap:6px}
.lr .side{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;flex:none;min-width:92px}
.lr .side .dlr{width:92px;height:38px;font-size:13px;border-radius:10px}
.dlr.coin{background:rgba(255,193,7,.16);border:1px solid #F59E0B;color:#92400E}
.dlr.coin:hover{background:rgba(255,193,7,.3)}
.dlr.vip{background:linear-gradient(135deg,#F7C948,#F59E0B);border:none;color:#7C2D12;font-weight:700}
.dlr.vip:hover{filter:brightness(1.06)}
.lr .side .cnt{font-size:12px;color:hsl(var(--muted-foreground))}

/* ---------- 详情页 ---------- */
.head-card{padding:24px;display:grid;grid-template-columns:300px 1fr;gap:24px;margin:14px 0 18px}
.head-cover{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:hsl(var(--muted))}
.head-cover img{width:100%;height:100%;object-fit:cover}
.head-cover .badges{position:absolute;top:10px;left:10px;display:flex;gap:6px}
.head-cover-ph{position:absolute;inset:0;display:grid;place-items:center;font-size:60px;font-weight:800;color:hsla(var(--site-primary)/.40);background:linear-gradient(140deg,hsl(var(--site-primary-soft)),hsl(var(--muted)))}
.head-info{min-width:0;display:flex;flex-direction:column}
.head-info h1{font-size:24px;font-weight:800;letter-spacing:-.02em;line-height:1.35}
.head-rate{display:flex;align-items:center;gap:10px;margin:12px 0}
.head-rate .score{font-size:16px;font-weight:700}
.head-rate .cnt{font-size:12.5px;color:hsl(var(--muted-foreground))}
.head-meta{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:13px;color:hsl(var(--muted-foreground))}
.head-meta b{color:hsl(var(--foreground));font-weight:600}
.head-acts{display:flex;gap:10px;margin-top:auto;padding-top:18px}
.dl-btn{height:52px;padding:0 30px;font-size:16px;border-radius:12px;box-shadow:0 8px 20px hsla(var(--site-primary)/.30)}
.act-btn{height:52px;padding:0 18px;border-radius:12px;font-size:14px}
.nal-fav.on{color:#DC2626;border-color:#DC2626}
.specs{display:grid;grid-template-columns:repeat(6,1fr);background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);overflow:hidden;margin-bottom:18px}
.spec{border-left:1px solid hsl(var(--border)/.7);padding:14px 10px;text-align:center;min-width:0}
.spec:first-child{border-left:none}
.spec .k{font-size:12px;color:hsl(var(--muted-foreground));margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spec .v{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page{display:grid;grid-template-columns:1fr 330px;gap:22px;align-items:start;padding-bottom:90px}
.main{min-width:0;display:flex;flex-direction:column;gap:18px}
.side{display:flex;flex-direction:column;gap:14px;position:sticky;top:130px}
.sec{padding:22px;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius)}
.sec h3{font-size:16px;font-weight:700;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.sec h3 .h3dot{width:4px;height:16px;border-radius:3px;background:hsl(var(--site-primary))}
.r-content{font-size:14.5px;color:hsl(var(--muted-foreground));line-height:1.85}
.r-content p{margin-bottom:12px}
.r-content img{border-radius:10px;margin:8px 0}
.r-content ul,.r-content ol{padding-left:20px;margin-bottom:12px}
.r-content ul{list-style:disc}.r-content ol{list-style:decimal}
.r-content h2,.r-content h3,.r-content h4{margin:16px 0 8px;color:hsl(var(--foreground))}
.log{border-left:2px solid hsl(var(--border));padding-left:18px;margin-left:6px}
.log .lg{position:relative;margin-bottom:16px}
.log .lg:last-child{margin-bottom:4px}
.log .lg::before{content:"";position:absolute;left:-25px;top:6px;width:10px;height:10px;border-radius:50%;background:hsl(var(--site-primary));border:2px solid hsl(var(--card));box-shadow:0 0 0 2px hsla(var(--site-primary)/.35)}
.log .lg h4{font-size:14px;font-weight:700;display:flex;align-items:center;gap:8px}
.log .lg .date{font-size:12px;color:hsl(var(--muted-foreground));font-weight:400}
.log .lg p{font-size:13.5px;color:hsl(var(--muted-foreground));margin-top:4px}
.panel-card{padding:18px;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius)}
.panel-title{font-size:15px;font-weight:700;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.panel-title .h3dot{width:4px;height:16px;border-radius:3px;background:hsl(var(--site-primary))}
.autor{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.autor .nal-avatar{width:56px;height:56px;border-radius:16px}
.cmt-av .nal-avatar{width:40px;height:40px;border-radius:11px}
.autor .n{font-size:15px;font-weight:700}
.autor .s{font-size:12px;color:hsl(var(--muted-foreground))}
.aut-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rank-sm .r-i{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid hsl(var(--border)/.7);font-size:13.5px}
.rank-sm .r-i:last-child{border-bottom:none}
.rank-sm .no{width:18px;font-weight:800;font-size:14px;text-align:center;color:hsl(var(--muted-foreground))}
.rank-sm .no.h{color:hsl(var(--site-primary))}
.rank-sm .t{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:hsl(var(--foreground))}
.rank-sm .t:hover{color:hsl(var(--site-primary-deep))}
.rank-sm .ln{font-size:12px;color:hsl(var(--muted-foreground))}
.rel .r-i{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid hsl(var(--border)/.7)}
.rel .r-i:last-child{border-bottom:none}
.rel .thumb-a{width:76px;height:48px;border-radius:8px;background-size:cover;background-position:center;flex:none;background-color:hsl(var(--muted));position:relative}
.rel .thumb-a.noimg::after{content:"N";position:absolute;inset:0;display:grid;place-items:center;font-size:18px;font-weight:800;color:hsla(var(--site-primary)/.40)}
.rel .t{font-size:13px;font-weight:600;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:hsl(var(--foreground))}
.rel .m{font-size:12px;color:hsl(var(--muted-foreground));margin-top:3px}
.ad-box{min-height:120px;border:1px dashed hsl(var(--border));border-radius:var(--radius);display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;color:hsl(var(--muted-foreground));font-size:13px;background:hsla(var(--muted)/.4);padding:10px}

/* 评论区 */
.cmt-form{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}
.cmt-guest{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rate-row{display:flex;align-items:center;gap:8px;font-size:13.5px}
.rate-pick{display:flex;gap:2px;color:#D1D5DB;font-size:20px;cursor:pointer}
.rate-pick i{font-style:normal}
.rate-pick i.on{color:#F59E0B}
.cmt-form textarea{width:100%;height:92px;padding:10px 12px;resize:none;font-family:inherit;font-size:14px;border:1px solid hsl(var(--border));border-radius:12px;background:hsla(var(--muted)/.3)}
.cmt-form textarea:focus{outline:none;border-color:hsl(var(--site-primary));box-shadow:0 0 0 3px hsla(var(--site-primary)/.14)}
.cmt-submit{display:flex;justify-content:flex-end}
.cmt{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid hsl(var(--border)/.7)}
.cmt:last-child{border-bottom:none}
.cmt-av img{border-radius:10px}
.cmt-body{flex:1;min-width:0}
.cmt-nick{font-size:14px;font-weight:600;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cmt-rate{color:#F59E0B;font-size:12px;letter-spacing:1px}
.owner-badge{display:inline-flex;height:18px;padding:0 8px;border-radius:6px;background:hsl(var(--site-primary-soft));color:hsl(var(--site-primary-deep));font-size:11px;align-items:center;font-weight:600}
.cmt-meta{font-size:12px;color:hsl(var(--muted-foreground));margin:3px 0 6px}
.cmt-text{font-size:14px}

/* 下载弹窗 + 悬浮条 */
.dlbar{position:fixed;left:0;right:0;bottom:0;z-index:80;background:hsla(var(--card)/.93);backdrop-filter:blur(12px);border-top:1px solid hsl(var(--border));padding:10px 0 calc(10px + env(safe-area-inset-bottom));display:none}
.dlbar-in{display:flex;align-items:center;gap:12px}
.dlbar-t{flex:1;min-width:0;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dlbar .sc-btn{height:44px}
.nal-dl{position:relative;width:100%;max-width:430px;background:hsl(var(--card));border-radius:18px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.25);animation:nal-pop .2s ease}
.dl-hd{padding:18px 22px;border-bottom:1px solid hsl(var(--border))}
.dl-hd h3{font-size:16px;font-weight:700}
.dl-hd p{font-size:12.5px;color:hsl(var(--muted-foreground));margin-top:3px}
.dl-bd{padding:16px 22px;max-height:60vh;overflow-y:auto}
.disk{display:flex;align-items:center;gap:12px;border:1px solid hsl(var(--border));border-radius:12px;padding:11px 13px;margin-bottom:10px;color:inherit;width:100%;text-align:left;transition:.15s}
.disk:hover{border-color:hsl(var(--site-primary));box-shadow:0 3px 12px hsla(var(--site-primary)/.12)}
.disk .icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;color:#fff;font-size:13px;font-weight:700;flex:none}
.disk .name{flex:1;min-width:0}
.disk .name b{font-size:13.5px;display:block}
.disk .name span{font-size:12px;color:hsl(var(--muted-foreground))}
.disk .go{flex:none;color:hsl(var(--muted-foreground));font-size:16px}
.disk:hover .go{color:hsl(var(--site-primary-deep))}
.dl-pwd{display:flex;align-items:center;gap:10px;background:hsla(var(--muted)/.6);border-radius:12px;padding:10px 14px;font-size:13px;margin-top:6px}
.dl-pwd code{font-weight:700;letter-spacing:2px;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;padding:2px 10px}
.dl-pwd .cp{margin-left:auto;color:hsl(var(--site-primary-deep));font-weight:600}
.dl-ft{padding:14px 22px;border-top:1px solid hsl(var(--border));display:flex;justify-content:space-between;align-items:center}
.dl-ft .tip{font-size:12.5px;color:hsl(var(--muted-foreground))}
.dl-ft .tip a{color:hsl(var(--site-primary-deep))}

/* 图集灯箱 */
#nalLb{position:fixed;inset:0;background:rgba(0,0,0,.88);z-index:240;display:none;align-items:center;justify-content:center;padding:24px;cursor:zoom-out}
#nalLb.open{display:flex}
#nalLb img{max-width:94%;max-height:94%;border-radius:10px}

/* 头像：首字母块 + 远程头像兜底 */
.nal-avatar{position:relative;display:inline-grid;place-items:center;border-radius:14px;background:hsl(var(--site-primary-soft));color:hsl(var(--site-primary-deep));font-weight:700;overflow:hidden;flex:none;line-height:1}
.nal-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ============ 业务页（VIP / 投稿 / 个人中心） ============ */
.page-title-box{margin:22px 0 14px}
.page-title-box h1{font-size:24px;font-weight:800;letter-spacing:-.02em}
.page-title-box .sub{font-size:13.5px;color:hsl(var(--muted-foreground));margin-top:6px}
.vp-hero{position:relative;overflow:hidden;padding:46px 0 40px;text-align:center}
.vp-hero::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(600px 300px at 80% -60px,hsla(var(--site-primary)/.12),transparent 70%),radial-gradient(520px 260px at 10% -80px,hsla(var(--site-primary)/.08),transparent 70%)}
.vp-hero .inner{position:relative}
.vp-crown{display:inline-flex;align-items:center;height:30px;padding:0 16px;border-radius:9999px;background:linear-gradient(135deg,#F7C948,#F59E0B);color:#7C2D12;font-size:13px;font-weight:700;margin-bottom:16px}
.vp-hero h1{font-size:32px;font-weight:800;letter-spacing:-.02em}
.vp-hero h1 .g{background:linear-gradient(120deg,hsl(var(--site-primary)),hsl(var(--site-primary-deep)));-webkit-background-clip:text;background-clip:text;color:transparent}
.vp-hero p{font-size:15px;color:hsl(var(--muted-foreground));margin:10px auto 0;max-width:540px}
.bens{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:8px 0 14px}
.ben{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));padding:20px}
.ben .ico{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:19px;background:hsl(var(--site-primary-soft));color:hsl(var(--site-primary-deep));margin-bottom:12px}
.ben h3{font-size:15px;font-weight:700;margin-bottom:6px}
.ben p{font-size:13px;color:hsl(var(--muted-foreground));line-height:1.65}
.vp-cmp{margin:12px 0 14px;border-radius:var(--radius);overflow:hidden;border:1px solid hsl(var(--border));background:hsl(var(--card))}
.vp-cmp table{width:100%;border-collapse:collapse;font-size:13.5px}
.vp-cmp th,.vp-cmp td{padding:13px 16px;text-align:center;border-bottom:1px solid hsl(var(--border)/.7)}
.vp-cmp thead th{background:hsla(var(--muted)/.55);font-weight:600}
.vp-cmp thead .c-vip{background:hsl(var(--site-primary-soft))}
.vp-cmp tbody th{text-align:left;font-weight:500}
.vp-cmp .yes{color:hsl(var(--site-primary));font-weight:700}
.vp-cmp .no{color:#D1D5DB}
.vp-cmp .c-vip{background:hsl(var(--site-primary-soft))}
.vp-cmp .c-vip .yes{color:hsl(var(--site-primary-deep))}
.vp-cmp tr:last-child td,.vp-cmp tr:last-child th{border-bottom:none}
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:10px 0}
.plan{position:relative;border:1.5px solid hsl(var(--border));border-radius:16px;background:hsl(var(--card));padding:24px 20px;display:flex;flex-direction:column}
.plan.hot{border-color:hsl(var(--site-primary));box-shadow:0 16px 40px hsla(var(--site-primary)/.16)}
.plan .tag{position:absolute;top:-13px;left:50%;transform:translateX(-50%);height:26px;padding:0 16px;border-radius:9999px;background:linear-gradient(135deg,hsl(var(--site-primary)),hsl(var(--site-primary-deep)));color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center;white-space:nowrap}
.plan .p-name{font-size:15px;font-weight:700;text-align:center}
.plan .p-price{text-align:center;margin:14px 0 4px}
.plan .p-price .cur{font-size:15px;font-weight:700;vertical-align:8px;color:hsl(var(--muted-foreground))}
.plan .p-price .val{font-size:40px;font-weight:800;letter-spacing:-.02em;line-height:1}
.plan.hot .p-price .val{color:hsl(var(--site-primary-deep))}
.plan .p-price .unit{font-size:13px;color:hsl(var(--muted-foreground))}
.plan .p-origin{text-align:center;font-size:12.5px;color:hsl(var(--muted-foreground))}
.plan .p-origin del{opacity:.7}
.plan .p-origin .save{color:#16A34A;font-weight:600;margin-left:6px}
.plan .p-list{flex:1;margin:16px 0;display:flex;flex-direction:column;gap:9px}
.plan .p-list .it{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:hsl(var(--muted-foreground))}
.plan .p-list .it::before{content:"✓";color:hsl(var(--site-primary));font-weight:800;flex:none}
.plan.hot .p-list .it{color:hsl(var(--foreground))}
.plan .p-list .it.off{opacity:.45;text-decoration:line-through}
.plan .p-list .it.off::before{content:"—";color:#D1D5DB}
.plan .go{width:100%;height:46px;font-size:15px;border-radius:12px}
.plan.hot .go{box-shadow:0 8px 20px hsla(var(--site-primary)/.30)}
.vp-note{text-align:center;font-size:12.5px;color:hsl(var(--muted-foreground));margin:2px 0 18px}
.faq{border:1px solid hsl(var(--border));border-radius:var(--radius);overflow:hidden;background:hsl(var(--card));margin-bottom:20px}
.faq-item{border-bottom:1px solid hsl(var(--border)/.7)}
.faq-item:last-child{border-bottom:none}
.faq-item .q{display:flex;align-items:center;gap:12px;padding:14px 18px;font-size:14.5px;font-weight:600;cursor:pointer;user-select:none}
.faq-item .q .arr{margin-left:auto;color:hsl(var(--muted-foreground));transition:transform .2s}
.faq-item.open .q .arr{transform:rotate(180deg)}
.faq-item .a{display:none;padding:0 18px 16px;font-size:13.5px;color:hsl(var(--muted-foreground))}
.faq-item.open .a{display:block}

/* 投稿页 */
.sb-form{max-width:860px;margin:0 auto}
.sb-notice{padding:13px 16px;border-radius:12px;font-size:14px;margin-bottom:16px}
.sb-notice.ok{background:#E8F5E9;color:#1B5E20}
.sb-notice.err{background:#FEE2E2;color:#991B1B}
.sb-check{display:inline-flex;align-items:center;gap:6px;margin:0 16px 8px 0;font-size:13.5px;cursor:pointer;color:hsl(var(--muted-foreground))}
.sb-check input{width:15px;height:15px;accent-color:hsl(var(--site-primary))}
.sb-sec{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:20px;margin-bottom:16px}
.sb-sec h3{font-size:15px;font-weight:700;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.sb-sec h3 .h3dot{width:4px;height:16px;border-radius:3px;background:hsl(var(--site-primary))}
.sb-f2{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}
.sb-f2 .full{grid-column:1/-1}
.sb-row{display:flex;gap:10px;margin-bottom:10px;align-items:center}
.sb-row select{width:130px}
.sb-row input{flex:1}
.sb-row .rm{color:hsl(var(--muted-foreground));flex:none}
.sb-row .rm:hover{color:#DC2626}
.sb-tip{font-size:12px;color:hsl(var(--muted-foreground));margin-top:8px}
.sb-actions{display:flex;gap:12px;margin-top:6px}

/* 个人中心 */
.ac-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:20px;margin-bottom:16px}
.ac-card h3{font-size:15px;font-weight:700;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.ac-card h3 .h3dot{width:4px;height:16px;border-radius:3px;background:hsl(var(--site-primary))}
.ac-banner{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-radius:var(--radius);padding:22px 24px;margin:18px 0 24px;color:#fff;background:linear-gradient(120deg,hsl(var(--site-primary)),hsl(var(--site-primary-deep)));position:relative;overflow:hidden}
.ac-banner::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(hsl(0 0% 100%/.18) 1px,transparent 1px);background-size:24px 24px}
.ac-banner .av{border-radius:18px;border:3px solid rgba(255,255,255,.35)}
.ac-banner .who{position:relative}
.ac-banner .who b{font-size:19px;font-weight:800}
.ac-banner .who .viptag{font-size:11px;background:linear-gradient(135deg,#F7C948,#F59E0B);color:#7C2D12;padding:2px 8px;border-radius:9999px;margin-left:8px;font-weight:700;vertical-align:2px}
.ac-banner .who p{font-size:12.5px;opacity:.85;margin-top:4px}
.ac-banner .stats{margin-left:auto;display:flex;gap:26px;position:relative;flex-wrap:wrap}
.ac-banner .stats .s{text-align:center}
.ac-banner .stats .s b{font-size:20px;font-weight:800;display:block}
.ac-banner .stats .s span{font-size:12px;opacity:.8}
.ac-banner .acts{position:relative;display:flex;gap:10px;margin-left:22px}
.ac-banner .acts .w{background:#fff;color:hsl(var(--site-primary-deep))}
.ac-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid hsl(var(--border)/.7)}
.ac-row:last-child{border-bottom:none}
.ac-row .rm{cursor:pointer;color:hsl(var(--muted-foreground));font-size:12.5px;flex:none}
.ac-row .rm:hover{color:#DC2626}
.ac-row .st{margin-left:auto;font-size:12px}
.ac-points{display:flex;flex-direction:column}
.ac-point{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid hsl(var(--border)/.6);font-size:13.5px}
.ac-point:last-child{border-bottom:none}
.ac-point .a{font-weight:700;margin-left:auto}
.ac-point .a.in{color:#059669}
.ac-point .a.out{color:#DC2626}
.ac-point .t{font-size:12px;color:hsl(var(--muted-foreground))}

@media (max-width:768px){
  .bens{grid-template-columns:1fr 1fr;gap:10px}
  .plans{grid-template-columns:1fr}
  .sb-f2{grid-template-columns:1fr}
  .ac-banner .stats{width:100%;margin:6px 0 0;justify-content:space-around;gap:10px}
  .ac-banner .acts{width:100%;margin:14px 0 0}
  .ac-banner .acts .sc-btn{flex:1}
  .vp-hero h1{font-size:24px}
}

/* ============ 响应式（追加） ============ */
@media (max-width:1024px){
  .cat-body{grid-template-columns:200px 1fr}
  .lr .thumb-a{width:170px}
  .head-card{grid-template-columns:250px 1fr}
  .specs{grid-template-columns:repeat(3,1fr)}
  .spec:nth-child(4){border-left:none}
  .page{grid-template-columns:1fr 300px}
}
@media (max-width:768px){
  .cat-body{grid-template-columns:1fr}
  .filters{display:none}
  .filters.dup{display:block;position:static}
  .f-btn{display:inline-flex}
  .lr{flex-wrap:wrap;gap:12px;padding:14px}
  .lr .thumb-a{width:100%;aspect-ratio:16/8}
  .lr .desc{display:none}
  .lr .t{-webkit-line-clamp:2}
  .lr .side{flex-direction:row;justify-content:flex-start;min-width:0;gap:10px}
  .lr .side .dlr{width:110px}
  .lr .side .cnt{margin-left:auto}
  .s-bar .count{display:none}
  .head-card{grid-template-columns:1fr;gap:16px;padding:18px}
  .head-info h1{font-size:19px}
  .specs{grid-template-columns:repeat(2,1fr)}
  .spec{border-left:none;border-top:1px solid hsl(var(--border)/.7);padding:12px 8px}
  .spec:nth-child(odd){border-right:1px solid hsl(var(--border)/.7)}
  .spec:nth-child(1),.spec:nth-child(2){border-top:none}
  .page{grid-template-columns:1fr;padding-bottom:90px}
  .side{position:static;order:2}
  .dlbar{display:block}
  .head-acts{display:none}
  .cmt-guest{grid-template-columns:1fr}
}
@media (max-width:768px){
  .rg{grid-template-columns:repeat(2,1fr)}
  .nav-sub,.nav-search{display:none}
  .nav-right .sc-btn--ghost,.nav-right .sc-btn--outline,.nav-right .sc-btn--default{display:none}
  .nav-burger{display:inline-flex}
  .nav-top-in{height:56px;gap:12px}
  .logo{font-size:17px}
  .hero-inner{padding:44px 0 36px}
  .hero h1{font-size:30px}
  .hero-search{max-width:420px}
  .hero-search .sc-input{font-size:14px;padding:0 118px 0 16px}
  .hero-search .sc-btn{width:104px;font-size:14px}
  .hero-data{flex-wrap:wrap;gap:16px}
  .hero-data .d{flex:0 0 50%;border-left:none;margin-top:6px}
  .hero-data .num{font-size:20px}
  .catbar{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch}
  .catbar a{flex:none}
  .home-grid{grid-template-columns:1fr;margin-top:34px}
  .slider .sl{flex:0 0 86%}
  .section-title h2{font-size:19px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:22px}
  .footer-bot .fr{margin-left:0;width:100%}
  .nal-ovl{padding:0;align-items:flex-end}
  .nal-auth{grid-template-columns:1fr;border-radius:20px 20px 0 0;max-width:none;max-height:92vh;overflow-y:auto}
  .auth-brand{display:none}
  .auth-main{min-height:0;padding:26px 20px 20px}
}
@media (max-width:480px){
  .rg{grid-template-columns:1fr 1fr;gap:10px}
  .slider .sl{flex:0 0 92%}
}