.sim-choice-tools{margin:1rem 0;display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr) auto;gap:.7rem;align-items:end}.sim-choice-tools label{min-width:0}.sim-choice-tools input{display:block;width:100%;min-height:46px;margin-top:.35rem}.sim-choice-tools button{min-height:46px}.sim-choice-title{margin-top:1rem}#sim-build-count{font-size:.9rem;color:var(--muted)}#sim-build-empty{padding:1rem;border:1px solid #c5b89c;background:#fff9e9}.sim-resume-shortcut{font-size:.9rem;margin:.6rem 0 1rem}.sim-first-guide{margin-top:1.5rem}.sim-first-guide>summary{padding:.25rem;min-height:44px;cursor:pointer;font-weight:700}.sim-first-guide-content{padding-top:.6rem}.sim-first-guide-content h2{margin:.3rem 0}.sim-equipment-find{margin:-.4rem 0 1rem;font-size:.85rem;min-height:44px;background:#f6f1e4}.sim-quick-modifiers{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.7rem}.sim-quick-modifiers button{min-height:44px;font-size:.85rem}.sim-editor-draft-status{font-size:.85rem;color:var(--muted);padding:.5rem 0;margin:.5rem 0}.sim-editor-draft-status[data-dirty=true]{color:#85340e;font-weight:700}.sim-item-actions{padding:.6rem;background:#fffdf7;border:1px solid var(--line);gap:.4rem}.sim-item-actions .sim-primary{font-weight:750;min-height:48px}.sim-item-actions button{min-height:44px}
.sim-equipment-picker{width:min(900px,calc(100% - 24px));max-height:88dvh;padding:1rem;overflow:hidden;border-radius:10px;display:flex;flex-direction:column;gap:.4rem}.sim-equipment-picker:not([open]){display:none}.sim-equipment-picker-head{display:flex;align-items:center;gap:.6rem;justify-content:space-between}.sim-equipment-picker-head h2{margin:0;font-size:1.2rem}.sim-equipment-picker-head button{min-height:44px;flex-shrink:0}.sim-equipment-picker>p{margin:.2rem 0;font-size:.85rem}.sim-equipment-picker>label{margin:.3rem 0 0;font-size:.85rem}.sim-equipment-picker>input{width:100%;min-height:44px}.sim-equipment-scroll{overflow:auto;overscroll-behavior:contain;min-height:120px;padding:.25rem}.sim-equipment-scroll>[data-equipment-more]{display:block;margin:1rem auto;min-height:44px}#sim-equipment-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}#sim-equipment-options button{display:flex;text-align:left;align-items:center;gap:.5rem;min-height:82px;min-width:0;padding:.6rem;font-size:.85rem}#sim-equipment-options button[aria-pressed=true]{border:2px solid var(--orange);background:#fff3df}#sim-equipment-options img.equipment-icon{width:52px;height:62px;max-width:52px;max-height:62px;flex:0 0 52px;margin:0}#sim-equipment-options span{min-width:0;overflow-wrap:anywhere}#sim-equipment-options strong,#sim-equipment-options small{display:block}#sim-equipment-options small{color:var(--muted);font-size:.75rem;margin-top:.25rem}
@media(max-width:720px){.sim-choice-tools{grid-template-columns:1fr 1fr}.sim-choice-tools>label:first-child{grid-column:1/-1}.sim-choice-tools input,.sim-equipment-picker input{font-size:16px}.sim-chooser{padding-top:1.5rem}.simulator-page .sim-tabs{position:sticky;top:0;z-index:25}.sim-item-actions{position:sticky;bottom:var(--sim-summary-space,142px);z-index:20;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 -3px 12px #142c3820}.sim-item-actions>#sim-item-apply{grid-column:1/-1;grid-row:1}.simulator-page:has(#sim-item-editor input:focus,#sim-item-editor textarea:focus) .sim-item-actions{position:static}.sim-equipment-picker{padding:.7rem;max-height:90dvh}.sim-equipment-picker-head h2{font-size:1rem}#sim-equipment-options{grid-template-columns:repeat(2,minmax(0,1fr))}#sim-equipment-options button{flex-direction:column;align-items:flex-start;min-height:132px;font-size:.8rem}#sim-equipment-options img.equipment-icon{flex:0 0 62px}.sim-equipment-find{width:100%}.sim-first-guide{margin-top:1rem}}
@media(prefers-reduced-motion:reduce){.sim-build-card{transition:none;transform:none!important}}
