*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:"Microsoft YaHei","PingFang SC","Noto Sans SC",sans-serif;background:#1a1a2e;color:#e0e0e0;line-height:1.6;}
.header{background:linear-gradient(135deg,#16213e,#0f3460);padding:30px 20px;text-align:center;border-bottom:3px solid #e94560;}
.header h1{font-size:2em;color:#e94560;}
.header p{color:#aaa;margin-top:8px;}
.stats{display:flex;justify-content:center;gap:30px;margin-top:15px;flex-wrap:wrap;}
.stat{background:rgba(255,255,255,0.05);padding:8px 20px;border-radius:20px;font-size:0.9em;}
.stat strong{color:#e94560;}
.stat-inline{color:#888;font-size:0.85em;}
.search-bar{text-align:center;padding:12px 10px;background:#16213e;display:flex;justify-content:center;align-items:center;gap:8px;}
.search-input-group{display:flex;align-items:center;}
.search-bar input{width:500px;max-width:70%;padding:10px 16px;border:1px solid #444;border-radius:20px 0 0 20px;background:#0f3460;color:#e0e0e0;font-size:1em;outline:none;}
.search-bar input:focus{border-color:#e94560;}
.search-bar .search-clear{padding:10px 18px;border:1px solid #e94560;border-left:none;background:#e94560;color:#fff;cursor:pointer;font-size:1em;border-radius:0 20px 20px 0;transition:all 0.2s;}
.search-bar .search-clear:hover{background:#ff5a7a;}
.search-bar .search-info{color:#888;font-size:0.85em;margin-left:8px;white-space:nowrap;}
.tabs{display:flex;flex-wrap:wrap;gap:4px;padding:12px 10px;background:#16213e;position:sticky;top:0;z-index:100;justify-content:center;}
.tab-btn{padding:10px 18px;border:none;background:#0f3460;color:#ccc;cursor:pointer;border-radius:6px 6px 0 0;font-size:0.95em;transition:all 0.2s;}
.tab-btn:hover{background:#e94560;color:#fff;}
.tab-btn.active{background:#e94560;color:#fff;font-weight:bold;}
.content{max-width:1500px;margin:0 auto;padding:20px;}
.tab-content{display:none;}
.tab-content.active{display:block;}
.tab-content h2{color:#e94560;margin-bottom:5px;}
.tab-content h2 small{font-size:0.5em;color:#888;font-weight:normal;}
.seg-desc{color:#aaa;margin-bottom:12px;padding:12px 16px;background:rgba(255,255,255,0.03);border-left:3px solid #e94560;border-radius:0 8px 8px 0;}
.action-bar{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap;align-items:center;}
.action-bar button{padding:6px 14px;border:1px solid #555;background:#0f3460;color:#ccc;cursor:pointer;border-radius:4px;font-size:0.85em;transition:all 0.2s;}
.action-bar button:hover{border-color:#e94560;color:#fff;}
.action-bar button.mute-visible{background:#4ecca3;border-color:#4ecca3;color:#1a1a2e;}
.action-bar .sep{color:#555;margin:0 2px;}
.quick-table-wrap{overflow-x:auto;margin-bottom:30px;border-radius:8px;}
.quick-table{width:100%;border-collapse:collapse;font-size:0.9em;table-layout:fixed;}
.quick-table th{background:#0f3460;padding:10px 12px;text-align:left;font-weight:bold;}
.quick-table td{padding:8px 12px;border-bottom:1px solid #333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.quick-table td:hover{overflow:visible;white-space:normal;background:#1a1a2e;position:relative;z-index:10;box-shadow:0 2px 8px rgba(0,0,0,0.5);}
.quick-table tr:hover{background:rgba(233,69,96,0.08);}
.quick-table .vn{color:#e94560;font-weight:bold;}
.quick-table .special{color:#aaa;font-size:0.85em;}
.quick-table .g-diff{font-size:0.85em;}
.diff-add{color:#4ecca3;}
.diff-del{color:#e94560;text-decoration:line-through;}
.step-link{text-decoration:none;cursor:pointer;}
.step-link:hover{text-decoration:underline;}
.step-link.diff-add{color:#4ecca3;}
.step-link.diff-del{color:#e94560;text-decoration:line-through;}
.step-link.diff-del:hover{text-decoration:line-through underline;}
.quick-table th:nth-child(1),.quick-table td:nth-child(1){width:12%;}
.quick-table th:nth-child(2),.quick-table td:nth-child(2){width:8%;}
.quick-table th:nth-child(3),.quick-table td:nth-child(3){width:5%;}
.quick-table th:nth-child(4),.quick-table td:nth-child(4){width:22%;}
.quick-table th:nth-child(5),.quick-table td:nth-child(5){width:6%;}
.quick-table th:nth-child(6),.quick-table td:nth-child(6){width:47%;}
.en-name{color:#999;font-size:0.85em;font-weight:normal;}
.variant-detail{margin-bottom:8px;border:1px solid #333;border-radius:8px;overflow:hidden;}
.variant-detail summary{padding:12px 16px;background:#16213e;cursor:pointer;font-size:1.05em;user-select:none;}
.variant-detail summary:hover{background:#1a3a5e;}
.variant-detail[open] summary{border-bottom:1px solid #444;}
.grouper-section{margin:10px 20px;}
.grouper-section h4{color:#4ecca3;margin:10px 0 5px;font-size:1em;}
.step-detail{margin:4px 0 4px 20px;border-left:2px solid #333;}
.step-detail summary{padding:6px 12px;background:rgba(255,255,255,0.02);cursor:pointer;font-size:0.95em;display:flex;align-items:center;gap:8px;}
.step-detail summary:hover{background:rgba(233,69,96,0.06);}
.step-label{flex:1;}
.step-type{color:#888;font-size:0.85em;margin-left:8px;}
.preview{color:#f0a500;font-size:0.85em;margin-left:10px;}
/* 对比按钮 */
.cmp-btn{padding:2px 6px;border:1px solid #555;background:#0f3460;color:#ccc;cursor:pointer;border-radius:3px;font-size:0.85em;flex-shrink:0;white-space:nowrap;}
.cmp-btn:hover{border-color:#e94560;color:#fff;}
.cmp-btn.added{background:#e94560;border-color:#e94560;color:#fff;}
/* 对比面板 */
.compare-panel{position:fixed;bottom:0;left:0;right:0;background:#16213e;border-top:3px solid #e94560;z-index:200;max-height:45vh;overflow-y:auto;display:none;}
.compare-panel.show{display:block;}
.compare-header{padding:10px 16px;background:#0f3460;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:5;}
.compare-header h3{color:#e94560;font-size:1em;}
.compare-header button{padding:4px 12px;border:1px solid #555;background:transparent;color:#ccc;cursor:pointer;border-radius:3px;}
.compare-header button:hover{border-color:#e94560;}
.compare-body{display:flex;gap:0;overflow-x:auto;}
.compare-col{flex:1;min-width:300px;padding:8px;}
.compare-col h4{color:#4ecca3;font-size:0.9em;margin-bottom:6px;text-align:center;}
.compare-col table{width:100%;font-size:0.8em;border-collapse:collapse;}
.compare-col td{padding:3px 6px;border-bottom:1px solid #222;}
.compare-col .diff{background:rgba(233,69,96,0.2);}
.compare-col .pn{color:#bbb;}
.compare-col .pv{color:#4ecca3;font-family:Consolas,monospace;}
/* 参数设置弹窗 */
.settings-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.7);z-index:500;display:none;justify-content:center;align-items:center;}
.settings-overlay.show{display:flex;}
.settings-modal{background:#1a1a2e;border:1px solid #e94560;border-radius:12px;padding:20px;max-width:600px;width:90%;max-height:80vh;overflow-y:auto;}
.settings-modal h3{color:#e94560;margin-bottom:12px;}
.settings-modal .presets{display:flex;gap:6px;margin-bottom:12px;flex-wrap:wrap;}
.settings-modal .presets button{padding:4px 12px;border:1px solid #555;background:#0f3460;color:#ccc;cursor:pointer;border-radius:3px;font-size:0.85em;}
.settings-modal .presets button:hover{border-color:#e94560;}
.settings-modal .presets button.active{background:#e94560;border-color:#e94560;}
.param-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-bottom:12px;}
.param-cb{font-size:0.8em;color:#bbb;padding:2px 4px;display:flex;align-items:center;gap:4px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.param-cb:hover{color:#fff;}
.settings-modal .btn-row{display:flex;gap:8px;justify-content:flex-end;}
.settings-modal .btn-row button{padding:6px 16px;border:1px solid #555;background:#0f3460;color:#ccc;cursor:pointer;border-radius:4px;}
.settings-modal .btn-row button.primary{background:#e94560;border-color:#e94560;color:#fff;}
.settings-modal .btn-row button:hover{opacity:0.85;}
/* 精简模式下行隐藏 — 仅隐藏有 data-param 的 tr，不动 thead */
.is-streamlined tr[data-param]:not(.mute-row){display:none;}
.is-streamlined tr.param-visible{display:table-row;}
/* 原有样式 */
.prop-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:0.85em;margin:8px 0 12px 0;}
.prop-table thead{position:sticky;top:0;z-index:5;}
.prop-table th{background:#0a0a1a;padding:6px 10px;text-align:left;font-size:0.85em;color:#888;position:sticky;top:0;}
.prop-table th:nth-child(1){width:44%;}
.prop-table th:nth-child(2){width:28%;}
.prop-table th:nth-child(3){width:28%;}
.prop-table td{padding:4px 10px;border-bottom:1px solid #222;}
.prop-table tbody tr:nth-child(even) td{background:rgba(255,255,255,0.015);}
.prop-table tbody tr:hover td{background:rgba(233,69,96,0.06);}
.prop-name{color:#bbb;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.prop-name:hover{overflow:visible;white-space:normal;background:#1a1a2e;position:relative;z-index:5;}
.prop-val{color:#4ecca3;font-family:"Consolas","Courier New",monospace;white-space:nowrap;width:28%;}
.prop-cat{color:#666;font-size:0.8em;text-align:right;white-space:nowrap;width:28%;}
.prop-cat.mod{color:#f0a500;}
.prop-cat.con{color:#536dfe;}
.mute-row{display:none;}
.show-mute .mute-row{display:table-row;}
.highlight{background:#e9456040 !important;}
.no-results{text-align:center;padding:40px;color:#e94560;font-size:1.2em;display:none;}
.back-to-top{position:fixed;bottom:30px;right:30px;width:44px;height:44px;border-radius:50%;background:#e94560;color:#fff;border:none;cursor:pointer;font-size:1.2em;display:none;z-index:999;box-shadow:0 2px 12px rgba(233,69,96,0.4);transition:all 0.3s;opacity:0.85;}
.back-to-top:hover{opacity:1;transform:scale(1.1);}
.back-to-top.show{display:block;}
.footer{text-align:center;padding:30px;color:#666;font-size:0.85em;}
.cmp-indicator{position:fixed;top:12px;right:80px;background:#e94560;color:#fff;padding:6px 12px;border-radius:20px;font-size:0.85em;z-index:999;display:none;cursor:pointer;}
.cmp-indicator.show{display:block;}
@media (max-width:768px){
.tabs{gap:2px;}
.tab-btn{padding:8px 10px;font-size:0.8em;}
.content{padding:10px;}
.quick-table{font-size:0.7em;}
.search-bar input{width:200px;}
.search-bar{flex-wrap:wrap;}
.action-bar{gap:4px;}
.action-bar button{padding:4px 8px;font-size:0.75em;}
.back-to-top{bottom:20px;right:20px;width:36px;height:36px;}
.param-grid{grid-template-columns:repeat(2,1fr);}
.compare-col{min-width:200px;}
}

/* 使用指南 */
.guide-box{max-width:1500px;margin:14px auto 0;background:#16213e;border:1px solid #2a3a5e;border-radius:10px;overflow:hidden;}
.guide-box>summary{padding:14px 20px;cursor:pointer;font-size:1em;color:#e94560;font-weight:bold;user-select:none;list-style:none;background:linear-gradient(90deg,rgba(233,69,96,0.08),transparent);}
.guide-box>summary::-webkit-details-marker{display:none;}
.guide-box>summary::before{content:"▶ ";font-size:0.8em;margin-right:6px;transition:transform 0.2s;display:inline-block;}
.guide-box[open]>summary::before{transform:rotate(90deg);}
.guide-box>summary:hover{background:linear-gradient(90deg,rgba(233,69,96,0.18),transparent);}
.guide-body{padding:6px 20px 18px;border-top:1px solid #2a3a5e;}
.guide-body h4{color:#4ecca3;margin:14px 0 6px;font-size:1em;}
.guide-body p{color:#bbb;margin:6px 0;font-size:0.92em;}
.guide-body ul,.guide-body ol{margin:6px 0 6px 22px;color:#bbb;font-size:0.92em;}
.guide-body li{margin:3px 0;}
.guide-body code{background:#0f3460;padding:1px 6px;border-radius:3px;color:#f0a500;font-size:0.88em;}
.guide-body kbd{background:#0f3460;border:1px solid #444;border-bottom-width:2px;padding:1px 6px;border-radius:3px;font-size:0.85em;color:#e0e0e0;font-family:inherit;}
.guide-intro{padding:8px 12px;background:rgba(78,204,163,0.06);border-left:3px solid #4ecca3;border-radius:0 6px 6px 0;margin-bottom:8px !important;}
.guide-table{width:100%;border-collapse:collapse;margin:6px 0 4px;font-size:0.9em;}
.guide-table th,.guide-table td{padding:8px 12px;border-bottom:1px solid #2a3a5e;text-align:left;}
.guide-table th{background:#0f3460;color:#e94560;font-weight:bold;}
.guide-table tr:hover td{background:rgba(233,69,96,0.05);}