/* V1.8.0 用户反馈精修：紧凑工具列表、明确选盘、十二数字一屏、测头胎法 */
.home-tool-list{display:grid;gap:9px}.tool-card-compact{padding:0!important;overflow:hidden;border-radius:18px}.tool-card-compact .method-row{min-height:72px;padding:10px 12px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center}.tool-card-compact .method-icon{width:44px;height:44px;border-radius:13px;font-size:20px}.tool-card-compact h3{font-size:17px;margin:0 0 3px}.tool-card-compact p{font-size:11px!important;line-height:1.35!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tool-enter{color:#007aff;font-size:13px;font-weight:700;white-space:nowrap}.tool-mini-links{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;border-top:.5px solid rgba(60,60,67,.15);min-height:34px}.tool-mini-links button{border:0;border-right:.5px solid rgba(60,60,67,.12);background:transparent;color:#007aff;font-size:11px;font-weight:650}.tool-mini-links button:last-child{border-right:0}
.tool-setting-row{align-items:center}.tool-setting-main{min-width:0;flex:1}.tool-order-controls{display:grid;grid-template-columns:34px 34px;gap:6px;margin-right:8px}.tool-order-controls button{width:34px;height:34px;border:0;border-radius:10px;background:rgba(0,122,255,.1);color:#007aff;font-size:18px;font-weight:700}.tool-order-controls button:disabled{opacity:.28}.tool-order-index{display:inline-flex;margin-top:5px;color:#6e6e73;font-size:11px}
.earth-choice-summary{min-height:34px}.earth-choice-summary strong{color:#007aff}.sticky.earth-confirm{grid-template-columns:.75fr 1.4fr}
.twelve-start-fit{display:grid;gap:9px;padding-top:4px}.twelve-start-fit .twelve-mode{margin:0}.twelve-start-fit .twelve-cast-card{padding:12px}.twelve-start-fit .twelve-clock{padding:7px 4px}.twelve-start-fit .twelve-clock strong{font-size:38px}.twelve-start-fit .twelve-report-pair{gap:7px}.twelve-start-fit .twelve-pick{padding:10px 6px;border-radius:15px}.twelve-start-fit .twelve-pick b{font-size:28px}.twelve-main-note{font-size:12px;line-height:1.5;color:#6e6e73;text-align:center;margin:0}.twelve-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 16px}.twelve-category-grid button{min-height:44px;border:0;border-radius:13px;background:rgba(118,118,128,.12);font-size:14px}.twelve-category-grid button.active{background:#007aff;color:#fff}.twelve-zero-result-note{font-size:11px;line-height:1.45;padding:7px 10px;border-radius:11px;background:#fff7dc;color:#865900;margin-top:5px}
.twelve-result-fit{display:grid;gap:7px;padding-top:2px}.twelve-result-fit .twelve-result-head{padding:0}.twelve-result-fit .twelve-result-head h2{font-size:25px;margin:4px 0}.twelve-result-fit .twelve-stage{padding:9px 10px;border-radius:16px}.twelve-result-fit .twelve-stage-head{margin-bottom:5px}.twelve-result-fit .twelve-stage-head h3{font-size:17px}.twelve-result-fit .twelve-relation{grid-template-columns:76px minmax(90px,1fr) 76px;gap:4px}.twelve-result-fit .twelve-number-block{padding:7px 3px;border-radius:13px}.twelve-result-fit .twelve-number-circle{width:38px;height:38px;font-size:19px;margin-bottom:3px}.twelve-result-fit .twelve-number-block span{font-size:10px;margin-top:1px}.twelve-result-fit .twelve-number-block>span:last-of-type{display:none}.twelve-result-fit .twelve-transform{font-size:9px;padding:3px;margin-top:3px}.twelve-result-fit .twelve-arrow{height:36px}.twelve-result-fit .twelve-rel-main{font-size:13px}.twelve-result-fit .twelve-rel-sub{font-size:10px}.twelve-result-fit .twelve-tags{margin-top:3px}.twelve-result-fit .twelve-tags .chip{font-size:8px;padding:2px 5px}.twelve-compact-judgment{padding:10px 12px!important;border-radius:16px}.twelve-compact-judgment h2{font-size:17px;margin:6px 0}.twelve-compact-judgment .oracle{font-size:12px;line-height:1.55}.twelve-compact-special{font-size:10px;line-height:1.45;margin-top:7px;padding-top:7px;border-top:.5px solid rgba(60,60,67,.15);color:#5a5a5f}.twelve-result-actions{display:grid;grid-template-columns:.8fr 1fr 1fr;gap:6px}.twelve-result-actions .btn{min-height:39px;font-size:11px;padding:0 6px}
.first-form{display:grid;gap:9px}.first-segment{display:grid;grid-template-columns:1fr 1fr;background:rgba(118,118,128,.12);padding:3px;border-radius:12px;gap:3px}.first-segment button{min-height:40px;border:0;background:transparent;border-radius:9px;font-weight:650}.first-segment button.active{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12)}.first-input-card{padding:12px!important}.first-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.first-field-grid .field{margin:0}.first-field-grid label{font-size:10px}.first-field-grid input,.first-field-grid select{min-width:0;height:42px;padding:0 7px;font-size:13px}.first-field-grid .wide2{grid-column:span 2}.first-field-grid .wide3{grid-column:1/-1}.first-inline-note{font-size:11px;line-height:1.45;color:#6e6e73;margin:8px 1px 0}.first-result-fit{display:grid;gap:8px;padding-top:2px}.first-result-hero{display:grid;grid-template-columns:126px 1fr;gap:12px;align-items:center;padding:12px!important}.first-ring{width:126px;height:126px}.first-verdict small{color:#6e6e73}.first-verdict strong{display:block;font-size:28px;margin:4px 0;color:#007aff}.first-verdict b{font-size:16px}.first-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.first-summary-grid>div{background:rgba(118,118,128,.07);border-radius:12px;padding:8px 9px}.first-summary-grid small{display:block;color:#6e6e73;font-size:10px}.first-summary-grid span{display:block;margin-top:3px;font-size:12px;font-weight:650}.first-bazi{padding:10px 12px!important}.first-bazi h3{font-size:15px;margin:0 0 6px}.first-bazi-row{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.first-bazi-row div{text-align:center;background:rgba(0,122,255,.07);border-radius:10px;padding:7px 2px}.first-bazi-row small{display:block;color:#6e6e73;font-size:9px}.first-bazi-row b{font-size:15px}.first-route{font-size:11px;line-height:1.5;color:#56565b}.first-result-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}.first-result-actions .btn{min-height:40px;font-size:11px;padding:0 6px}
@media(max-height:760px){.home-tool-list{gap:6px}.tool-card-compact .method-row{min-height:64px;padding:8px 10px}.tool-card-compact .method-icon{width:40px;height:40px}.tool-mini-links{min-height:30px}.twelve-start-fit{gap:6px}.twelve-start-fit .twelve-cast-card{padding:9px}.twelve-result-fit{gap:5px}.twelve-result-fit .twelve-stage{padding:7px 8px}.first-form{gap:6px}.first-input-card{padding:9px!important}.first-result-hero{padding:9px!important}.first-ring{width:112px;height:112px}.first-result-hero{grid-template-columns:112px 1fr}}
@media(max-width:370px){.tool-card-compact .method-row{grid-template-columns:40px minmax(0,1fr) auto}.twelve-category-grid{grid-template-columns:repeat(2,1fr)}.twelve-result-fit .twelve-relation{grid-template-columns:70px 1fr 70px}.first-field-grid{gap:6px}.first-result-hero{grid-template-columns:104px 1fr}.first-ring{width:104px;height:104px}}
.home-compact-intro{padding-top:8px!important;padding-bottom:10px!important}.home-compact-intro h2{font-size:28px!important;margin:10px 0 4px!important}.home-compact-intro p{font-size:12px!important;line-height:1.45!important}
.twelve-stage-pair{display:grid;gap:6px}.tiny-risk{font-size:9.5px;line-height:1.35;color:#6e6e73;text-align:center;padding:0 6px}.first-rule-mini{font-size:11px;line-height:1.45;color:#5e5e63;background:rgba(0,122,255,.07);border-radius:13px;padding:9px 11px}.first-form .first-segment+.first-segment{margin-top:-2px}.first-form .field input,.first-form .field select{background:#fff;border:1px solid rgba(60,60,67,.16);border-radius:10px;width:100%}.category-sheet{max-height:88%;overflow:auto}
@media(max-width:520px){.content.compact:has(.twelve-start-fit),.content.compact:has(.first-form),.content.compact:has(.twelve-result-fit),.content.compact:has(.first-result-fit){padding-top:8px!important}.first-form .first-inline-note{margin-top:6px}.home-tool-list .notice{font-size:11px}}
@media(max-height:690px){.home-compact-intro p{display:none}.tool-card-compact p{display:none!important}.tool-card-compact .method-row{min-height:56px}.tool-mini-links{min-height:28px}.first-input-card .first-inline-note{display:none}.first-rule-mini{padding:7px 9px;font-size:10px}.twelve-main-note{font-size:10px}}
