#modelCategories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
#modelCategories .model-category-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:0;width:100%;box-sizing:border-box;aspect-ratio:1;border:1px solid #8f67b4;border-radius:15px;padding:7px 3px;margin:0;background:linear-gradient(145deg,#403147,#2e293a);color:#fff;text-align:center;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
#modelCategories .model-category-card:not(:disabled):hover{transform:translateY(-2px);border-color:#db9eff;box-shadow:0 0 16px #b33fff40}
#modelCategories .model-category-card.selected{border-color:#e344c4;box-shadow:0 0 0 1px #e344c4,0 0 15px #d43bca25}
#modelCategories .category-icon{font:24px/1 Georgia,serif;color:#d5a6ff;display:block}
#modelCategories strong{font:700 10px/1.25 Arial,sans-serif;overflow-wrap:normal}
#modelCategories small{font:600 8px/1 Arial,sans-serif;color:#bceff2;letter-spacing:.2px}
#modelCategories .coming-soon{opacity:1;cursor:default;background:#303139;border-color:#55505e;color:#c8c5cf}
#modelCategories .coming-soon .category-icon{color:#96909f}#modelCategories .coming-soon small{color:#eeb8e0}
#modelCategories button:focus-visible,#modelPicker button:focus-visible{outline:3px solid #7fe4ee;outline-offset:4px}
#modelPicker{box-sizing:border-box;width:min(850px,calc(100vw - 28px));max-width:850px;max-height:calc(100dvh - 40px);padding:28px;border:1px solid #a65ce3;border-radius:22px;background:#272b35;color:#f6f4fa;box-shadow:0 18px 90px #000a;overflow:auto}
#modelPicker::backdrop{background:#101019bd;backdrop-filter:blur(5px)}
.model-picker-header{display:flex;align-items:center;justify-content:space-between;gap:15px}.model-picker-header h2{margin:0;font-size:25px;line-height:1.2}.model-picker-close{flex-shrink:0;border:1px solid #777083;border-radius:10px;background:#35303f;color:#fff;padding:10px 14px;min-height:44px;cursor:pointer;font-size:13px}
.model-picker-hint{font-size:13px;color:#c9c2d5;line-height:1.5;margin:14px 0 23px}
#modelPicker #models{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 20px;padding:5px 10px 15px}
#modelPicker #models .model-category,#modelPicker #models [hidden]{display:none!important}
#modelPicker #models .model-tile{gap:12px;padding:12px 6px 14px;border-radius:14px;background:#ffffff05;min-width:0}
#modelPicker #models .model-tile:hover{background:#a869d815}#modelPicker #models .model-tile.selected{background:#a869d81f;box-shadow:inset 0 0 0 1px #d983f7}
#modelPicker #models .model-tile b{font-size:13px;line-height:1.4}
#modelPicker #models .model-miniature{width:142px;height:186px;max-width:100%;perspective:800px}
#modelPicker #models .mini-book{left:19px;top:8px;width:110px;height:156px}
@media(max-width:600px){#modelPicker{padding:21px 15px}#modelPicker #models{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 10px;padding:0}.model-picker-header h2{font-size:22px}.model-picker-hint{font-size:12px}#modelPicker #models .model-miniature{width:120px;height:164px}#modelPicker #models .mini-book{width:94px;height:133px;left:13px}#modelCategories .model-category-card{min-height:0;max-height:150px}#modelCategories strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){#modelCategories .model-category-card{transition:none}}
