/* ===== Reset & Base ===== */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { -webkit-text-size-adjust: 100%; } body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; background: #f7f8fa; color: #2D3436; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; padding-top: 60px; padding-bottom: env(safe-area-inset-bottom, 0); } /* ===== Nav ===== */ nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,0.05); height: 60px; padding: 0 env(safe-area-inset-right, 16px) 0 env(safe-area-inset-left, 16px); } .nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 16px; } .logo { font-size: 18px; font-weight: 700; color: #1DA1F2; text-decoration: none; letter-spacing: -0.3px; display: flex; align-items: center; gap: 6px; } .logo:hover { opacity: 0.8; } .nav-links { display: flex; gap: 4px; } .nav-links a { text-decoration: none; color: #2D3436; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 12px; transition: all 0.2s ease; min-height: 44px; display: flex; align-items: center; } .nav-links a:hover, .nav-links a:focus { background: rgba(29,161,242,0.1); color: #1DA1F2; } .nav-links a[href="tishici.html"] { background: #1DA1F2; color: #fff; } .menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; color: #2D3436; } /* ===== Drawer ===== */ .drawer-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.4); opacity: 0; visibility: hidden; transition: all 0.3s ease; } .drawer-overlay.active { opacity: 1; visibility: visible; } .drawer-menu { position: fixed; top: 0; right: -300px; bottom: 0; z-index: 300; width: 280px; background: #fff; padding: 60px 24px 24px; box-shadow: -4px 0 24px rgba(0,0,0,0.08); transition: right 0.3s ease; overflow-y: auto; } .drawer-menu.active { right: 0; } .drawer-close { position: absolute; top: 8px; right: 12px; background: none; border: none; font-size: 22px; cursor: pointer; min-width: 44px; min-height: 44px; color: #2D3436; } .drawer-menu a { display: block; text-decoration: none; color: #2D3436; font-size: 16px; padding: 14px 12px; border-radius: 12px; transition: background 0.2s; min-height: 44px; } .drawer-menu a:hover, .drawer-menu a:focus { background: rgba(29,161,242,0.08); color: #1DA1F2; } .drawer-menu a[href="tishici.html"] { color: #1DA1F2; font-weight: 600; } /* ===== Container ===== */ .container { max-width: 1100px; margin: 0 auto; padding: 24px 16px 60px; } /* ===== Breadcrumb ===== */ .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #888; margin-bottom: 20px; padding: 10px 0; } .breadcrumb a { color: #1DA1F2; text-decoration: none; } .breadcrumb a:hover { text-decoration: underline; } .breadcrumb .sep { color: #ccc; } /* ===== Typography ===== */ h1 { font-size: 28px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; letter-spacing: -0.5px; color: #1DA1F2; } .intro { font-size: 15px; color: #555; line-height: 1.7; background: #fff; border-radius: 12px; padding: 20px 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); margin-bottom: 32px; border-left: 4px solid #1DA1F2; } h2 { font-size: 22px; font-weight: 700; margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 2px solid #eef0f4; color: #2D3436; } h2 .badge { display: inline-block; font-size: 13px; font-weight: 600; background: #FF6B35; color: #fff; padding: 2px 12px; border-radius: 20px; margin-left: 8px; vertical-align: middle; } h3 { font-size: 17px; font-weight: 600; margin: 24px 0 10px; color: #2D3436; } h4 { font-size: 15px; font-weight: 600; margin: 18px 0 8px; color: #2D3436; } /* ===== Card ===== */ .card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.02); margin-bottom: 24px; } /* ===== Table ===== */ .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0 8px; border-radius: 12px; border: 1px solid #eef0f4; } table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px; } thead { background: #f0f4f9; } th { padding: 14px 12px; text-align: left; font-weight: 600; color: #1DA1F2; border-bottom: 2px solid #dce3ed; white-space: nowrap; font-size: 13px; } td { padding: 13px 12px; border-bottom: 1px solid #eef0f4; vertical-align: top; } tbody tr:last-child td { border-bottom: none; } tbody tr:hover { background: #f8faff; } td:first-child { font-weight: 600; color: #2D3436; } /* ===== Tags ===== */ .tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 20px; } .tag-blue { background: rgba(29,161,242,0.12); color: #1DA1F2; } .tag-orange { background: rgba(255,107,53,0.12); color: #FF6B35; } .tag-green { background: rgba(52,199,89,0.12); color: #34C759; } .tag-gray { background: rgba(45,52,54,0.08); color: #2D3436; } /* ===== Section highlight ===== */ .section-highlight { background: linear-gradient(135deg, rgba(29,161,242,0.04), rgba(255,107,53,0.04)); border-radius: 12px; padding: 20px 24px; margin: 16px 0; border: 1px solid rgba(29,161,242,0.1); } .section-highlight p { font-size: 14px; color: #444; } .section-highlight strong { color: #1DA1F2; } /* ===== Prompt block ===== */ .prompt-block { font-size: 13px; color: #636E72; line-height: 1.6; background: #F8F9FA; border-radius: 10px; padding: 14px 16px; margin: 10px 0; font-family: "SF Mono", "Menlo", "Monaco", "Consolas", monospace; white-space: pre-wrap; word-break: break-word; border-left: 3px solid #1DA1F2; } .prompt-label { display: inline-block; padding: 3px 12px; border-radius: 12px; font-size: 12px; font-weight: 500; margin-bottom: 8px; } .prompt-label.blue { background: rgba(29,161,242,0.1); color: #1DA1F2; } .prompt-label.orange { background: rgba(255,107,53,0.1); color: #FF6B35; } .prompt-label.green { background: rgba(0,184,148,0.1); color: #00B894; } /* ===== Formula ===== */ .formula-box { background: #fff; border-radius: 12px; padding: 20px 24px; margin-bottom: 20px; border: 2px solid #1DA1F2; text-align: center; } .formula-text { font-size: 16px; font-weight: 600; color: #2D3436; line-height: 1.8; } .formula-text span { color: #1DA1F2; } .formula-text .highlight { background: rgba(255,107,53,0.1); color: #FF6B35; padding: 2px 6px; border-radius: 4px; } /* ===== Internal links grid ===== */ .link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 16px 0; } .link-card { display: flex; flex-direction: column; background: #fff; border-radius: 12px; padding: 16px; text-decoration: none; color: #2D3436; box-shadow: 0 1px 4px rgba(0,0,0,0.04); transition: all 0.2s ease; border: 1px solid #eef0f4; } .link-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-color: #1DA1F2; } .link-card .l-title { font-weight: 600; font-size: 15px; color: #1DA1F2; margin-bottom: 4px; } .link-card .l-desc { font-size: 13px; color: #888; } .link-card .l-arrow { font-size: 18px; margin-top: 6px; text-align: right; color: #1DA1F2; } /* ===== Footer ===== */ footer { background: #2D3436; color: #ccc; padding: 32px 16px 40px; margin-top: 40px; } footer .container { padding-bottom: 0; } .footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; } .footer-brand { font-size: 18px; font-weight: 700; color: #fff; } .footer-contact { font-size: 14px; } .footer-contact a { color: #1DA1F2; text-decoration: none; font-weight: 600; } .footer-contact a:hover { text-decoration: underline; } .footer-copy { font-size: 12px; color: #999; margin-top: 16px; text-align: center; width: 100%; } /* ===== Tip cards ===== */ .tip-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.02); padding: 20px 24px; margin-bottom: 16px; border-left: 4px solid #1DA1F2; } .tip-card.orange { border-left-color: #FF6B35; } .tip-card.green { border-left-color: #34C759; } .tip-card h4 { margin: 0 0 8px; font-size: 15px; } .tip-card p { font-size: 14px; color: #555; line-height: 1.7; } /* ===== Responsive ===== */ @media (max-width: 768px) { body { padding-top: 56px; } nav { height: 56px; } .nav-links { display: none; } .menu-toggle { display: flex; } .container { padding: 16px 14px 40px; } h1 { font-size: 22px; } h2 { font-size: 19px; margin-top: 32px; } .card { padding: 16px; } .intro { padding: 16px; font-size: 14px; } table { font-size: 13px; min-width: 480px; } th, td { padding: 10px 8px; } .link-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; } .footer-inner { flex-direction: column; gap: 12px; } .formula-text { font-size: 14px; } .tip-card { padding: 16px; } } @media (max-width: 480px) { .container { padding: 12px 12px 32px; } h1 { font-size: 20px; } table { font-size: 12px; min-width: 380px; } th, td { padding: 8px 6px; } } @media (prefers-color-scheme: dark) { body { background: #1c1e20; color: #e8e8e8; } nav { background: rgba(28,30,32,0.96); border-bottom-color: rgba(255,255,255,0.06); } .logo, .nav-links a { color: #e8e8e8; } .nav-links a[href="tishici.html"] { background: #1DA1F2; color: #fff; } .card, .intro { background: #26282b; box-shadow: 0 1px 3px rgba(0,0,0,0.2); } .intro { border-left-color: #1DA1F2; color: #bbb; } h2 { border-bottom-color: #333; color: #e8e8e8; } h3, h4 { color: #e8e8e8; } .breadcrumb { color: #999; } .breadcrumb a { color: #4db8f5; } thead { background: #2a2d31; } th { color: #4db8f5; border-bottom-color: #444; } td { border-bottom-color: #333; } tbody tr:hover { background: #2a2d31; } td:first-child { color: #e8e8e8; } .table-wrap { border-color: #333; } .section-highlight { background: rgba(29,161,242,0.06); border-color: rgba(29,161,242,0.15); } .section-highlight p { color: #bbb; } footer { background: #111; } .footer-brand { color: #e8e8e8; } .link-card { background: #26282b; border-color: #333; } .link-card:hover { border-color: #4db8f5; } .link-card .l-title { color: #4db8f5; } .link-card .l-desc { color: #999; } .drawer-menu { background: #26282b; } .drawer-menu a { color: #e8e8e8; } .drawer-menu a:hover { background: rgba(29,161,242,0.12); } .drawer-menu a[href="tishici.html"] { color: #4db8f5; } .menu-toggle { color: #e8e8e8; } .drawer-close { color: #e8e8e8; } .tag-blue { background: rgba(77,184,245,0.15); color: #4db8f5; } .tag-orange { background: rgba(255,107,53,0.15); color: #FF6B35; } .tag-green { background: rgba(52,199,89,0.15); color: #34C759; } .tag-gray { background: rgba(200,200,200,0.1); color: #bbb; } .prompt-block { background: #1a1b1e; color: #aaa; border-left-color: #4db8f5; } .formula-box { background: #26282b; border-color: #4db8f5; } .formula-text { color: #e8e8e8; } .tip-card { background: #26282b; } .tip-card p { color: #bbb; } } /* ===== Reading Progress Bar ===== */ .progress-bar { position: fixed; top: 60px; left: 0; height: 3px; background: linear-gradient(90deg, #1DA1F2, #FF6B35); z-index: 101; width: 0%; transition: width 0.1s linear; border-radius: 0 2px 2px 0; } /* ===== TOC Sidebar (Desktop) ===== */ .toc-container { position: fixed; left: max(calc((100vw - 1100px) / 2 - 220px), 10px); top: 90px; width: 200px; max-height: calc(100vh - 120px); overflow-y: auto; z-index: 50; display: block; background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-radius: 14px; padding: 16px; border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 2px 12px rgba(0,0,0,0.04); font-size: 12px; } .toc-container::-webkit-scrollbar { width: 3px; } .toc-container::-webkit-scrollbar-thumb { background: #dce3ed; border-radius: 3px; } .toc-title { font-weight: 700; color: #1DA1F2; font-size: 13px; margin-bottom: 10px; letter-spacing: 0.5px; } .toc-container a { display: block; text-decoration: none; color: #666; padding: 6px 10px; border-radius: 8px; line-height: 1.4; margin-bottom: 2px; transition: all 0.15s ease; font-weight: 400; } .toc-container a:hover, .toc-container a:focus { background: rgba(29,161,242,0.08); color: #1DA1F2; } .toc-container a.active { background: rgba(29,161,242,0.12); color: #1DA1F2; font-weight: 600; } /* ===== Mobile TOC Toggle ===== */ .toc-toggle { display: none; position: fixed; right: 12px; bottom: 100px; z-index: 150; width: 44px; height: 44px; background: #1DA1F2; color: #fff; border: none; border-radius: 50%; font-size: 18px; box-shadow: 0 4px 16px rgba(29,161,242,0.3); cursor: pointer; align-items: center; justify-content: center; touch-action: manipulation; } /* ===== Back to Top ===== */ .back-to-top { position: fixed; right: 20px; bottom: 40px; z-index: 150; width: 44px; height: 44px; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(0,0,0,0.08); border-radius: 50%; box-shadow: 0 4px 16px rgba(0,0,0,0.1); cursor: pointer; display: none; align-items: center; justify-content: center; font-size: 18px; color: #1DA1F2; transition: all 0.3s ease; } .back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); } .back-to-top.visible { display: flex; } /* ===== Section anchors ===== */ .section-anchor { position: relative; top: -70px; display: block; visibility: hidden; } /* ===== Summary Box ===== */ .summary-box { background: linear-gradient(135deg, rgba(29,161,242,0.06), rgba(52,199,89,0.06)); border-radius: 14px; padding: 24px 28px; margin: 32px 0 16px; border: 1px solid rgba(29,161,242,0.12); } .summary-box h3 { font-size: 18px; color: #1DA1F2; margin: 0 0 12px; } .summary-box ul { padding-left: 20px; color: #555; line-height: 1.9; font-size: 14px; } .summary-box ul li { margin-bottom: 6px; } /* ===== CTA Contact Card ===== */ .cta-card { background: linear-gradient(135deg, #1DA1F2, #0D8BD9); color: #fff; border-radius: 14px; padding: 28px 24px; margin: 24px 0; text-align: center; } .cta-card h3 { color: #fff !important; font-size: 19px; margin: 0 0 8px; } .cta-card p { font-size: 14px; opacity: 0.92; margin: 0 0 16px; line-height: 1.6; } .cta-pulse { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.2); color: #fff; text-decoration: none; padding: 12px 28px; border-radius: 24px; font-weight: 600; font-size: 15px; border: 1px solid rgba(255,255,255,0.3); box-shadow: 0 4px 16px rgba(0,0,0,0.15); transition: all 0.2s ease; } .cta-pulse:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.25); background: rgba(255,255,255,0.3); } /* ===== Touch targets ===== */ button, a, .link-card, .tip-card { touch-action: manipulation; } /* ===== Responsive updates ===== */ @media (max-width: 1400px) { .toc-container { display: none; } .toc-toggle { display: flex; } } @media (max-width: 768px) { body { padding-top: 56px; } nav { height: 56px; } .nav-links { display: none; } .menu-toggle { display: flex; } .container { padding: 16px 14px 40px; } h1 { font-size: 22px; } h2 { font-size: 19px; margin-top: 32px; } .card { padding: 16px; } .intro { padding: 16px; font-size: 14px; } table { font-size: 13px; min-width: 480px; } th, td { padding: 10px 8px; } .link-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; } .footer-inner { flex-direction: column; gap: 12px; } .formula-text { font-size: 14px; } .tip-card { padding: 16px; } .summary-box { padding: 16px 20px; } .back-to-top { right: 12px; bottom: 30px; } .progress-bar { top: 56px; } .toc-mobile { position: fixed; top: 56px; right: 0; bottom: 0; width: 280px; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); z-index: 250; padding: 20px; padding-top: calc(20px + env(safe-area-inset-top, 0)); padding-bottom: calc(20px + env(safe-area-inset-bottom, 0)); overflow-y: auto; box-shadow: -4px 0 24px rgba(0,0,0,0.08); transform: translateX(100%); transition: transform 0.3s ease; } .toc-mobile.active { transform: translateX(0); } .toc-mobile-overlay { position: fixed; inset: 0; z-index: 240; background: rgba(0,0,0,0.4); opacity: 0; visibility: hidden; transition: all 0.3s ease; } .toc-mobile-overlay.active { opacity: 1; visibility: visible; } } @media (max-width: 480px) { .container { padding: 12px 12px 32px; } h1 { font-size: 20px; } table { font-size: 12px; min-width: 380px; } th, td { padding: 8px 6px; } .back-to-top { right: 10px; bottom: 24px; width: 40px; height: 40px; font-size: 16px; } } @media (min-width: 769px) { .menu-toggle { display: none !important; } .drawer-overlay, .drawer-menu, .toc-mobile, .toc-mobile-overlay { display: none !important; } } h2 { scroll-margin-top: 80px; } /* ===== Dark mode updates ===== */ @media (prefers-color-scheme: dark) { body { background: #1c1e20; color: #e8e8e8; } nav { background: rgba(28,30,32,0.96); border-bottom-color: rgba(255,255,255,0.06); } .logo, .nav-links a { color: #e8e8e8; } .nav-links a[href="tishici.html"] { background: #1DA1F2; color: #fff; } .card, .intro { background: #26282b; box-shadow: 0 1px 3px rgba(0,0,0,0.2); } .intro { border-left-color: #1DA1F2; color: #bbb; } h2 { border-bottom-color: #333; color: #e8e8e8; } h3, h4 { color: #e8e8e8; } .breadcrumb { color: #999; } .breadcrumb a { color: #4db8f5; } thead { background: #2a2d31; } th { color: #4db8f5; border-bottom-color: #444; } td { border-bottom-color: #333; } tbody tr:hover { background: #2a2d31; } td:first-child { color: #e8e8e8; } .table-wrap { border-color: #333; } .section-highlight { background: rgba(29,161,242,0.06); border-color: rgba(29,161,242,0.15); } .section-highlight p { color: #bbb; } footer { background: #111; } .footer-brand { color: #e8e8e8; } .link-card { background: #26282b; border-color: #333; } .link-card:hover { border-color: #4db8f5; } .link-card .l-title { color: #4db8f5; } .link-card .l-desc { color: #999; } .drawer-menu { background: #26282b; } .drawer-menu a { color: #e8e8e8; } .drawer-menu a:hover { background: rgba(29,161,242,0.12); } .drawer-menu a[href="tishici.html"] { color: #4db8f5; } .menu-toggle { color: #e8e8e8; } .drawer-close { color: #e8e8e8; } .tag-blue { background: rgba(77,184,245,0.15); color: #4db8f5; } .tag-orange { background: rgba(255,107,53,0.15); color: #FF6B35; } .tag-green { background: rgba(52,199,89,0.15); color: #34C759; } .tag-gray { background: rgba(200,200,200,0.1); color: #bbb; } .prompt-block { background: #1a1b1e; color: #aaa; border-left-color: #4db8f5; } .formula-box { background: #26282b; border-color: #4db8f5; } .formula-text { color: #e8e8e8; } .tip-card { background: #26282b; } .tip-card p { color: #bbb; } .toc-container, .back-to-top { background: rgba(38,40,43,0.94); border-color: rgba(255,255,255,0.08); } .toc-container a { color: #aaa; } .toc-container a:hover, .toc-container a:focus { background: rgba(29,161,242,0.15); } .summary-box { background: linear-gradient(135deg, rgba(29,161,242,0.08), rgba(52,199,89,0.08)); border-color: rgba(29,161,242,0.15); } .summary-box ul { color: #bbb; } .toc-mobile { background: rgba(38,40,43,0.98); } .toc-mobile a { color: #ccc; } }
© 2026 火烈鸟站长知识库 — Grok AI跨境电商X推文营销专题站
站点部署于 www.huolieniao.cc
数据来源:xAI官方文档、X平台公开数据、火烈鸟站长知识库实测
联系方式:添加微信
微信号:373641059,回复「站长」免费获取火烈鸟站长知识库最新独立站SEO完整数据包福利
获取定制化Grok推文Prompt方案Grok提示词模板 | AI推文Prompt | 跨境电商推文模板 | 火烈鸟知识库出品
免责声明:本站内容仅供学习参考,具体运营策略请以X平台和Grok AI最新政策为准。