/* ============================================
 * 站度网 - 主样式（异步加载）
 * 包含所有非首屏关键样式
 * ============================================ */

/* ============== 基础重置 ============== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue","Microsoft YaHei",Arial,sans-serif;color:#1d1d1f;background:#fbfbfd;line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font-family:inherit;outline:none;border:none;background:none}
img{max-width:100%;display:block}
ul,ol{list-style:none}

/* ============== SVG 图标 ============== */
.svg-icon{display:inline-flex;align-items:center;justify-content:center;width:1em;height:1em;line-height:1;vertical-align:-0.15em}
.svg-icon svg{width:100%;height:100%;display:block}

/* ============== 导航栏 ============== */
.navbar{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.85);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid rgba(0,0,0,.05)}
.nav-inner{max-width:1280px;margin:0 auto;padding:0 24px;height:60px;display:flex;align-items:center;justify-content:space-between}
.logo{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:700;color:#1d1d1f}
.logo-icon{width:32px;height:32px;background:linear-gradient(135deg,#2563eb,#7c3aed);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:15px}
.nav-links{display:flex;gap:28px;align-items:center}
.nav-links a{font-size:14px;color:#515154;font-weight:500;transition:color .2s}
.nav-links a:hover{color:#2563eb}
.nav-toggle{display:none;font-size:24px;color:#1d1d1f;cursor:pointer;background:none;border:none}

/* ============== Hero 区 ============== */
.hero{text-align:center;padding:80px 24px 50px;max-width:1280px;margin:0 auto}
.hero h1{font-size:48px;font-weight:800;letter-spacing:-1.2px;color:#1d1d1f;margin-bottom:16px;line-height:1.2}
.hero h1 .grad{background:linear-gradient(135deg,#2563eb 0%,#7c3aed 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.hero p{font-size:18px;color:#6e6e73;max-width:680px;margin:0 auto 32px;line-height:1.7}
.search-box{max-width:640px;margin:0 auto;position:relative}
.search-input{width:100%;padding:18px 24px 18px 56px;border-radius:14px;font-size:16px;background:#fff;border:1px solid #e5e5e7;box-shadow:0 4px 24px rgba(0,0,0,.04);transition:all .2s}
.search-input:focus{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.08)}
.search-icon{position:absolute;left:20px;top:50%;transform:translateY(-50%);color:#86868b;font-size:20px}
.hero-stats{display:flex;justify-content:center;gap:48px;margin-top:40px;flex-wrap:wrap}
.hero-stat{text-align:center}
.hero-stat-num{font-size:28px;font-weight:800;color:#1d1d1f;background:linear-gradient(135deg,#2563eb,#7c3aed);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.hero-stat-label{font-size:13px;color:#6e6e73;margin-top:4px}

/* ============== 区块通用 ============== */
.section{max-width:1280px;margin:0 auto;padding:0 24px}
.section-title{font-size:28px;font-weight:800;color:#1d1d1f;margin-bottom:8px;letter-spacing:-.5px}
.section-subtitle{font-size:15px;color:#6e6e73;margin-bottom:32px}

/* ============== 场景化分类（大卡片） ============== */
.scenarios{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin-bottom:60px}
.scenario-card{background:#fff;border:1px solid #f0f0f2;border-radius:18px;padding:28px 24px;transition:all .25s;cursor:pointer;position:relative;overflow:hidden}
.scenario-card::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,var(--bg-from,transparent),var(--bg-to,transparent));opacity:0;transition:opacity .25s;pointer-events:none}
.scenario-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,.06);border-color:transparent}
.scenario-card:hover::before{opacity:1}
.scenario-icon{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:24px;margin-bottom:16px;position:relative;z-index:1}
.scenario-icon.dev{background:linear-gradient(135deg,#2563eb,#7c3aed)}
.scenario-icon.text{background:linear-gradient(135deg,#f59e0b,#ef4444)}
.scenario-icon.image{background:linear-gradient(135deg,#10b981,#06b6d4)}
.scenario-icon.generate{background:linear-gradient(135deg,#8b5cf6,#ec4899)}
.scenario-icon.office{background:linear-gradient(135deg,#06b6d4,#3b82f6)}
.scenario-icon.security{background:linear-gradient(135deg,#dc2626,#f59e0b)}
.scenario-icon.life{background:linear-gradient(135deg,#84cc16,#10b981)}
.scenario-icon.ai{background:linear-gradient(135deg,#7c3aed,#db2777)}
.scenario-title{font-size:18px;font-weight:700;color:#1d1d1f;margin-bottom:6px;position:relative;z-index:1}
.scenario-desc{font-size:13px;color:#6e6e73;position:relative;z-index:1}

/* ============== 工具卡片 ============== */
.tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.tool-card{background:#fff;border:1px solid #f0f0f2;border-radius:14px;padding:20px;display:flex;align-items:center;gap:14px;transition:all .2s;position:relative}
.tool-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.06);border-color:#2563eb}
.tool-card-icon{width:44px;height:44px;border-radius:10px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}
.tool-card-info{flex:1;min-width:0}
.tool-card-name{font-size:15px;font-weight:600;color:#1d1d1f;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tool-card-desc{font-size:12px;color:#86868b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tool-card-meta{display:flex;gap:8px;margin-top:6px;font-size:11px;color:#86868b;align-items:center}
.tool-card-badge{background:#fef3c7;color:#d97706;padding:1px 6px;border-radius:4px;font-size:10px;font-weight:600}
.tool-card-badge.new{background:#d1fae5;color:#065f46}
.tool-card-arrow{color:#d2d2d7;font-size:18px;transition:all .2s;flex-shrink:0}
.tool-card:hover .tool-card-arrow{color:#2563eb;transform:translateX(2px)}

/* ============== 热门工具（大卡片） ============== */
.hot-tools{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin-bottom:60px}
.hot-card{background:#fff;border:1px solid #f0f0f2;border-radius:16px;padding:24px;transition:all .25s;position:relative;overflow:hidden}
.hot-card::after{content:"";position:absolute;top:-40px;right:-40px;width:120px;height:120px;background:linear-gradient(135deg,#2563eb20,#7c3aed20);border-radius:50%}
.hot-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,.06);border-color:#2563eb}
.hot-rank{position:absolute;top:12px;right:16px;font-size:32px;font-weight:900;color:rgba(0,0,0,.06);z-index:1;line-height:1}
.hot-card-icon{width:52px;height:52px;border-radius:12px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:14px;position:relative;z-index:2}
.hot-card-title{font-size:17px;font-weight:700;color:#1d1d1f;margin-bottom:6px;position:relative;z-index:2}
.hot-card-desc{font-size:13px;color:#6e6e73;line-height:1.5;position:relative;z-index:2}

/* ============== 最近上新模块 ============== */
.new-tools{background:linear-gradient(135deg,#f0f9ff,#ede9fe);border-radius:18px;padding:28px;margin-bottom:60px;border:1px solid #e0e7ff}
.new-tools-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.new-tools-title{font-size:20px;font-weight:700;color:#1d1d1f}
.new-tools-title::before{content:"🆕";margin-right:8px}
.new-tools-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.new-tool-item{background:#fff;border-radius:12px;padding:14px;display:flex;align-items:center;gap:10px;transition:all .2s}
.new-tool-item:hover{transform:translateX(4px);box-shadow:0 6px 16px rgba(0,0,0,.06)}
.new-tool-badge{background:linear-gradient(135deg,#10b981,#06b6d4);color:#fff;font-size:10px;font-weight:700;padding:3px 8px;border-radius:6px;flex-shrink:0}
.new-tool-name{font-size:14px;font-weight:500;color:#1d1d1f;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.new-tool-time{font-size:11px;color:#86868b;flex-shrink:0}

/* ============== 工具详情页样式 ============== */
.tool-page{max-width:1280px;margin:0 auto;padding:40px 24px 80px}
.tool-header{text-align:center;margin-bottom:32px}
.tool-header-icon{width:72px;height:72px;margin:0 auto 20px;border-radius:18px;background:linear-gradient(135deg,#2563eb,#7c3aed);display:flex;align-items:center;justify-content:center;color:#fff;font-size:32px;box-shadow:0 12px 28px rgba(37,99,235,.3)}
.tool-header h1{font-size:36px;font-weight:800;color:#1d1d1f;letter-spacing:-.8px;margin-bottom:12px}
.tool-header p{font-size:16px;color:#6e6e73;max-width:600px;margin:0 auto 16px}
.tool-keywords{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:12px}
.tool-keyword-tag{background:#f0f4ff;color:#2563eb;font-size:12px;padding:4px 10px;border-radius:100px;font-weight:500}

/* ============== 工具容器 ============== */
.tool-container{background:#fff;border-radius:20px;border:1px solid #f0f0f2;overflow:hidden;box-shadow:0 4px 24px rgba(0,0,0,.04)}
.tool-tabs{display:flex;border-bottom:1px solid #f0f0f2;background:#fafafa;overflow-x:auto}
.tool-tab{padding:16px 24px;font-size:14px;color:#515154;cursor:pointer;border-bottom:2px solid transparent;transition:all .2s;font-weight:500;white-space:nowrap}
.tool-tab.active{color:#2563eb;border-bottom-color:#2563eb;background:#fff}
.tool-tab:hover{color:#2563eb}
.tool-body{padding:24px}

/* ============== 编辑器 UI ============== */
.editor-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:stretch}
.editor-panel{display:flex;flex-direction:column}
.editor-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:13px;font-weight:600;color:#515154}
.editor-label .badge{background:#f0f4ff;color:#2563eb;padding:2px 10px;border-radius:100px;font-size:12px;font-weight:500}
.editor-textarea{width:100%;min-height:380px;padding:16px;border:1px solid #e5e5e7;border-radius:12px;font-family:"SF Mono",Monaco,Consolas,"Courier New",monospace;font-size:13px;line-height:1.7;resize:vertical;background:#fafafa;color:#1d1d1f;transition:all .2s}
.editor-textarea:focus{border-color:#2563eb;background:#fff;box-shadow:0 0 0 4px rgba(37,99,235,.08)}
.editor-actions{display:flex;flex-direction:column;gap:8px;align-self:center}

/* ============== 按钮 ============== */
.btn{padding:10px 18px;border:none;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:all .2s;white-space:nowrap}
.btn-primary{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;box-shadow:0 4px 12px rgba(37,99,235,.25)}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(37,99,235,.35)}
.btn-secondary{background:#f5f5f7;color:#1d1d1f}
.btn-secondary:hover{background:#ebebed}
.btn-ghost{background:transparent;color:#515154;padding:6px 10px}
.btn-ghost:hover{color:#2563eb}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none !important}

/* ============== 工具栏 ============== */
.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px;padding:12px;background:#fafafa;border-radius:10px}

/* ============== 状态消息 ============== */
.alert{padding:12px 16px;border-radius:10px;margin-bottom:16px;font-size:14px;display:none;align-items:center;gap:8px}
.alert.success{background:#d1fae5;color:#065f46;display:flex}
.alert.error{background:#fee2e2;color:#991b1b;display:flex}
.alert.info{background:#dbeafe;color:#1e40af;display:flex}

/* ============== JSON 高亮 ============== */
.json-output{width:100%;min-height:380px;padding:16px;border:1px solid #e5e5e7;border-radius:12px;font-family:"SF Mono",Monaco,Consolas,"Courier New",monospace;font-size:13px;line-height:1.7;background:#fafafa;color:#1d1d1f;overflow:auto;white-space:pre-wrap;word-break:break-all}
.json-key{color:#7c3aed;font-weight:600}
.json-string{color:#059669}
.json-number{color:#dc2626}
.json-boolean{color:#2563eb;font-weight:600}
.json-null{color:#6b7280;font-style:italic}

/* ============== 点赞/踩组件 ============== */
.vote-bar{display:flex;align-items:center;justify-content:center;gap:20px;padding:24px;background:#fff;border:1px solid #f0f0f2;border-radius:16px;margin:24px 0}
.vote-bar-title{font-size:14px;color:#515154;margin-right:8px}
.vote-btn{display:flex;align-items:center;gap:8px;padding:10px 22px;border-radius:100px;border:1.5px solid #e5e5e7;background:#fff;cursor:pointer;transition:all .25s;font-size:14px;font-weight:600;color:#515154;user-select:none}
.vote-btn:hover{border-color:#2563eb;transform:translateY(-1px)}
.vote-btn.active.like{background:#dcfce7;border-color:#16a34a;color:#16a34a}
.vote-btn.active.dislike{background:#fee2e2;border-color:#dc2626;color:#dc2626}
.vote-btn:disabled{opacity:.6;cursor:wait;transform:none}
.vote-icon{font-size:18px;line-height:1}
.vote-count{font-weight:700;font-variant-numeric:tabular-nums}
.vote-divider{width:1px;height:24px;background:#e5e5e7}

/* ============== 反馈按钮 ============== */
.feedback-trigger{position:relative}
.feedback-trigger .tooltip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:#1d1d1f;color:#fff;padding:6px 12px;border-radius:8px;font-size:12px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s}
.feedback-trigger:hover .tooltip{opacity:1}

/* ============== 弹窗（Modal） ============== */
.modal-mask{position:fixed;inset:0;background:rgba(0,0,0,.5);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:9999;display:none;align-items:center;justify-content:center;padding:20px;animation:fadeIn .2s ease}
.modal-mask.show{display:flex}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.modal-box{background:#fff;border-radius:20px;width:100%;max-width:520px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;animation:slideUp .25s ease}
@keyframes slideUp{from{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}
.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #f0f0f2}
.modal-title{font-size:18px;font-weight:700;color:#1d1d1f;display:flex;align-items:center;gap:8px}
.modal-close{width:32px;height:32px;border-radius:50%;background:#f5f5f7;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:20px;color:#6e6e73;transition:all .2s}
.modal-close:hover{background:#ebebed;color:#1d1d1f}
.modal-body{padding:24px;overflow-y:auto;flex:1}
.modal-footer{padding:16px 24px;border-top:1px solid #f0f0f2;display:flex;justify-content:flex-end;gap:8px}
.form-group{margin-bottom:16px}
.form-label{display:block;font-size:13px;font-weight:600;color:#515154;margin-bottom:6px}
.form-label .req{color:#dc2626}
.form-input,.form-textarea{width:100%;padding:10px 14px;border:1px solid #e5e5e7;border-radius:10px;font-size:14px;color:#1d1d1f;background:#fff;transition:all .2s}
.form-input:focus,.form-textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.08)}
.form-textarea{min-height:100px;resize:vertical;font-family:inherit;line-height:1.6}
.form-hint{font-size:12px;color:#86868b;margin-top:4px}
.char-counter{font-size:11px;color:#86868b;text-align:right;margin-top:2px}
.char-counter.over{color:#dc2626}

/* ============== SEO 内容区 ============== */
.seo-content{max-width:1280px;margin:60px auto;padding:0 24px}
.seo-content h2{font-size:24px;color:#1d1d1f;margin:32px 0 16px;font-weight:700}
.seo-content h3{font-size:18px;color:#1d1d1f;margin:24px 0 12px;font-weight:600}
.seo-content p{color:#515154;margin-bottom:16px;font-size:15px;line-height:1.8}
.seo-content ul,.seo-content ol{margin:16px 0 16px 24px;color:#515154}
.seo-content ul li,.seo-content ol li{margin-bottom:8px;line-height:1.7}
.seo-content .faq-item{background:#fff;border:1px solid #f0f0f2;border-radius:12px;padding:20px 24px;margin-bottom:12px;transition:all .2s}
.seo-content .faq-item:hover{border-color:#2563eb;box-shadow:0 4px 12px rgba(0,0,0,.04)}
.seo-content .faq-item h4{font-size:16px;color:#1d1d1f;margin-bottom:8px;font-weight:600;display:flex;align-items:flex-start;gap:8px}
.seo-content .faq-item h4::before{content:"Q";background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;width:24px;height:24px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0;margin-top:2px}
.seo-content .faq-item .faq-a{margin-left:32px;color:#515154}
.seo-content .faq-item .faq-a::before{content:"A";background:linear-gradient(135deg,#10b981,#06b6d4);color:#fff;width:24px;height:24px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;margin-right:8px;vertical-align:middle}

/* ============== 相关工具 ============== */
.related{max-width:1280px;margin:60px auto 0;padding:0 24px}
.related h2{font-size:22px;font-weight:700;margin-bottom:20px;color:#1d1d1f}
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.related-item{background:#fff;border:1px solid #f0f0f2;border-radius:12px;padding:16px;display:flex;align-items:center;gap:10px;transition:all .2s}
.related-item:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.06);border-color:#2563eb}
.related-icon{width:36px;height:36px;border-radius:8px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}
.related-name{font-size:14px;font-weight:500;color:#1d1d1f}
.related-empty{text-align:center;padding:30px;color:#86868b;font-size:14px;background:#f8f9fa;border-radius:12px}

/* ============== 页脚 ============== */
.footer{background:#1d1d1f;color:#a1a1a6;padding:40px 24px 80px;text-align:center;margin-top:60px}
.footer-links{display:flex;justify-content:center;gap:24px;margin-bottom:20px;flex-wrap:wrap}
.footer-links a{font-size:14px;color:#a1a1a6;transition:color .2s}
.footer-links a:hover{color:#fff}
.footer-copy{font-size:13px;color:#6e6e73;line-height:1.8}
.beian{display:inline-flex;align-items:center;gap:4px;color:#a1a1a6;font-size:13px;transition:color .2s}
.beian:hover{color:#fff}

/* ============== 移动端底部 Tab 栏 ============== */
.mobile-tabbar{position:fixed;bottom:0;left:0;right:0;background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-top:1px solid rgba(0,0,0,.05);z-index:999;padding:6px 0 calc(6px + env(safe-area-inset-bottom));display:none;justify-content:space-around}
.mobile-tabbar-item{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 12px;color:#86868b;font-size:11px;text-decoration:none;transition:color .2s;cursor:pointer;flex:1;background:none;border:none}
.mobile-tabbar-item.active,.mobile-tabbar-item:hover{color:#2563eb}
.mobile-tabbar-icon{font-size:22px;line-height:1}

/* ============== FAB 浮动按钮 ============== */
.fab{position:fixed;right:18px;bottom:calc(80px + env(safe-area-inset-bottom));width:54px;height:54px;border-radius:50%;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;display:none;align-items:center;justify-content:center;font-size:22px;box-shadow:0 8px 24px rgba(37,99,235,.4);cursor:pointer;z-index:998;transition:all .25s;border:none}
.fab:hover{transform:scale(1.08);box-shadow:0 12px 28px rgba(37,99,235,.5)}
.fab:active{transform:scale(.96)}
.fab .fab-tip{position:absolute;right:calc(100% + 12px);top:50%;transform:translateY(-50%);background:#1d1d1f;color:#fff;padding:6px 12px;border-radius:8px;font-size:12px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s}
.fab:hover .fab-tip{opacity:1}

/* ============== Toast 提示 ============== */
.toast-container{position:fixed;top:80px;left:50%;transform:translateX(-50%);z-index:99999;display:flex;flex-direction:column;gap:8px;pointer-events:none}
.toast{padding:12px 20px;border-radius:12px;font-size:14px;font-weight:500;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.15);opacity:0;transform:translateY(-20px);transition:all .3s;pointer-events:auto;max-width:90vw;display:flex;align-items:center;gap:8px}
.toast.show{opacity:1;transform:translateY(0)}
.toast.success{background:#10b981}
.toast.error{background:#dc2626}
.toast.info{background:#2563eb}

/* ============== 响应式 ============== */
@media (max-width:768px){
.tool-page{padding:24px 16px 100px}
.tool-header h1{font-size:26px}
.tool-header-icon{width:56px;height:56px;font-size:24px}
.editor-grid{grid-template-columns:1fr}
.editor-actions{flex-direction:row;justify-content:center;flex-wrap:wrap}
.tool-body{padding:16px}
.hero{padding:48px 16px 32px}
.hero h1{font-size:30px}
.hero p{font-size:15px}
.hero-stats{gap:24px}
.hero-stat-num{font-size:22px}
.nav-links{display:none}
.nav-toggle{display:block}
.section{padding:0 16px}
.section-title{font-size:22px}
.scenarios,.tools-grid,.hot-tools,.related-grid,.new-tools-list{grid-template-columns:repeat(2,1fr)}
.scenario-card{padding:20px 16px}
.tool-container{border-radius:14px}
.tool-card{padding:14px}
.vote-bar{flex-direction:column;gap:12px;padding:16px}
.footer{padding-bottom:120px}
.mobile-tabbar{display:flex}
.fab{display:flex}
}

/* ============== 防复制（可选） ============== */
body.protected{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
body.protected input,body.protected textarea,body.protected [contenteditable]{-webkit-user-select:text;user-select:text}