#reset-scroll{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--ui-panel-border);border-radius:0;background:var(--ui-panel);color:#d9d9d9}
#reset-scroll::backdrop{background:#0009}
.reset-scroll-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:var(--ui-panel);border-bottom:1px solid var(--ui-panel-border);z-index:1}
.reset-scroll-head h2{display:flex;align-items:center;gap:10px;margin:0;font-size:20px}
.reset-scroll-head h2 img{flex:none;width:32px;height:32px;object-fit:contain;image-rendering:pixelated}
.reset-scroll-body{padding:0 18px 18px;font-size:14px}
.reset-scroll-body fieldset{margin:16px 0;padding:12px;border:1px solid var(--ui-panel-border);min-width:0}
.reset-scroll-body legend{padding:0 6px;font-weight:600}
.reset-scroll-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.reset-scroll-partial{grid-column:1}
.reset-scroll-inventory{grid-template-columns:repeat(4,minmax(0,1fr))}
.reset-scroll-fields label{display:flex;flex-direction:column;gap:6px;min-width:0}
.reset-scroll-fields input{width:100%;min-width:0;box-sizing:border-box}
.reset-scroll-table{overflow-x:auto;margin:16px 0}
.reset-scroll-table table{width:100%;border-collapse:collapse;font-size:14px}
.reset-scroll-table th,.reset-scroll-table td{padding:9px 8px;border-bottom:1px solid var(--ui-panel-border);text-align:right;font-weight:400}
.reset-scroll-table th:first-child{text-align:left;white-space:normal;min-width:130px}
.reset-scroll-table thead th{font-weight:600}
#reset-scroll-open{display:inline-flex;align-items:center;justify-content:center;min-width:40px;padding:3px 6px}
#reset-scroll-open img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}
.reset-scroll-update-note{display:flex;align-items:flex-start;gap:8px;color:var(--ui-bright);line-height:1.5}
.reset-scroll-note-icon{flex:none;width:18px;height:18px;margin-top:1px;fill:none;stroke:#d9b96c;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#reset-scroll [data-reset-status]:empty{display:none}
@media(max-width:600px){.reset-scroll-inventory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.reset-scroll-body{padding-inline:12px}.reset-scroll-head{padding:12px}}
.reset-scroll-label{display:flex;align-items:center;gap:7px;min-height:32px}
.reset-scroll-label img{width:28px;height:32px;object-fit:contain;image-rendering:pixelated}
.reset-scroll-skills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;margin:18px 0}
.reset-scroll-skill-group{min-width:0}
.reset-scroll-skill-group h3{font-size:12px;color:#b3b7b5;margin:0 0 5px;font-weight:600}
.reset-scroll-skill{display:flex;align-items:center;gap:7px;min-width:0;min-height:34px;border:1px solid var(--ui-panel-border);border-left:2px solid var(--skill-accent);margin-top:4px;padding:4px 6px;background:#ffffff03}
.reset-scroll-skill .node-icon{flex:0 0 26px;width:26px;height:26px}
.reset-scroll-skill .node-icon img{width:26px;height:26px;object-fit:contain;image-rendering:pixelated}
.reset-scroll-skill-name{flex:1;min-width:0;font-size:12px;overflow-wrap:anywhere}
.reset-scroll-level{flex:0 0 44px;text-align:right;color:#fff;font-variant-numeric:tabular-nums;font-weight:600}
.reset-scroll-level.is-up{color:#82dfa1}
.reset-scroll-level.is-down{color:#ff8a8a}
@media(max-width:600px){.reset-scroll-skills{grid-template-columns:1fr}}
.reset-scroll-level{border:1px solid var(--ui-panel-border);padding:2px 4px;box-sizing:border-box;background:#0002}

.reset-scroll-skill-column{display:grid;align-content:start;gap:20px;min-width:0}
