:root{--text:#3f3a47;--text-h:#16141c;--bg:#f7f6f3;--surface:#fff;--border:#d9d6de;--accent:#3d5a80;--error:#b42318;--sans:system-ui, "Segoe UI", Roboto, sans-serif;font:16px/1.45 var(--sans);color:var(--text);background:var(--bg);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--text:#c5c8d0;--text-h:#f3f4f6;--bg:#16171d;--surface:#1f2028;--border:#3a3d48;--accent:#8ab4d4;--error:#f97066}}*{box-sizing:border-box}body{margin:0}#root{min-height:100svh}h1{color:var(--text-h);margin:0 0 1.5rem;font-size:1.75rem;font-weight:600}.page{max-width:42rem;margin:0 auto;padding:2rem 1.25rem 3rem}.page-header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.page-header h1{margin:0}.game-actions{margin:-.35rem 0 1rem}.sorting-game-name{color:var(--text-h);margin:0 0 1rem;font-size:.95rem;font-weight:600}.sorting-actions{margin-bottom:1rem}.sorting-actions-bottom{margin-top:1rem;margin-bottom:0}.sorting-import-export{flex-wrap:wrap;gap:.75rem;margin-top:1.5rem;display:flex}.slot-list{flex-direction:column;gap:1rem;display:flex}.slot-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:1rem}.slot-card-header{grid-template-columns:1fr minmax(6rem,8rem) auto;align-items:end;gap:.75rem;margin-bottom:1rem;display:grid}.slot-card-header .field,.slot-name-field,.slot-priority-field{margin-bottom:0}.slot-price-fields{grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1rem;display:grid}.slot-price-fields .field{margin-bottom:0}.slot-attributes{flex-direction:column;gap:.85rem;display:flex}.slot-attribute{border-top:1px solid var(--border);padding-top:.75rem}.slot-attribute-header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem;display:flex}.slot-attribute-header span{color:var(--text-h);font-size:.875rem;font-weight:600}.value-checkboxes{grid-template-columns:repeat(auto-fill,minmax(9rem,1fr));gap:.35rem .75rem;display:grid}.value-checkboxes label{align-items:center;gap:.4rem;font-size:.875rem;display:flex}.value-checkboxes input{width:auto;margin:0}.field{flex-direction:column;gap:.35rem;margin-bottom:1rem;display:flex}.field span{color:var(--text-h);font-size:.875rem;font-weight:600}select,input,button{font:inherit;color:var(--text-h);background:var(--surface);border:1px solid var(--border);border-radius:6px}select,input{width:100%;padding:.55rem .7rem}select:disabled,input:disabled,button:disabled{opacity:.55;cursor:not-allowed}.number-form,.add-form{grid-template-columns:1fr auto;align-items:end;gap:.75rem;margin-bottom:.5rem;display:grid}.add-form{grid-template-columns:1fr 1fr auto}.add-form .collector-field{grid-column:1/-1}.number-form .field,.add-form .field{margin-bottom:0}.last-added{flex-direction:column;gap:.5rem;margin:.35rem 0 1rem;display:flex}.last-added-label{color:var(--text-h);margin:0;font-size:.875rem;font-weight:600}.last-added-empty{margin:0;font-size:.9rem}.last-added-card{align-items:flex-start;gap:1rem;display:flex}.last-added-image{background:var(--surface);border-radius:6px;flex-shrink:0;width:200px;height:auto}.last-added-details{flex-direction:column;align-items:flex-start;gap:.35rem;min-width:0;display:flex}.last-added-name,.last-added-number{margin:0;font-size:.95rem}.last-added-slot{color:var(--text-h);margin:.25rem 0 .35rem;font-size:1.75rem;font-weight:600}button{background:var(--accent);color:#fff;border-color:var(--accent);cursor:pointer;padding:.55rem 1rem}.status{min-height:1.5rem;margin:0 0 1rem;font-size:.9rem}.error{color:var(--error)}.inventory{flex-direction:column;gap:.35rem;display:flex}.inventory-header{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.inventory-header span{color:var(--text-h);font-size:.875rem;font-weight:600}button.secondary{background:var(--surface);color:var(--text-h);border-color:var(--border)}button.danger{background:var(--error);color:#fff;border-color:var(--error)}.inventory table{border-collapse:collapse;background:var(--surface);width:100%}.inventory>button{align-self:flex-start;margin-top:.5rem}.inventory th,.inventory td{text-align:left;border:1px solid var(--border);padding:.45rem .6rem}.inventory th{color:var(--text-h);font-size:.875rem;font-weight:600}.row-actions{text-align:center;width:2.5rem}.icon-button{color:var(--text);background:0 0;border:none;justify-content:center;align-items:center;padding:.25rem;display:inline-flex}.icon-button:hover{color:var(--error)}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}
