.tool__body [hidden] { display: none !important; }
.ic-settings { margin-top: 16px; }
.ic-saved { font-weight: 700; white-space: nowrap; }
.ic-saved--good { color: #2b8a3e; }
.ic-saved--bad { color: #d6336c; }
.file-list .ic-sizes { font-size: .85rem; color: var(--muted); }
.file-list li { flex-wrap: wrap; }
.file-list li.is-active { border-color: var(--accent); }
.ic-title { font-size: 1.05rem; margin: 20px 0 8px; word-break: break-all; }
.ic-compare { position: relative; width: fit-content; max-width: 100%; margin-inline: auto; overflow: hidden; border-radius: 8px; line-height: 0; background: repeating-conic-gradient(var(--border) 0 25%, transparent 0 50%) 0 0 / 16px 16px; }
.ic-compare img { max-width: 100%; max-height: 480px; width: auto; height: auto; display: block; }
.ic-compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.ic-compare__after img { width: 100%; height: 100%; max-height: none; }
.ic-label { position: absolute; top: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .8rem; line-height: 1.5; }
.ic-label--left { left: 8px; }
.ic-label--right { right: 8px; }
.ic-btns { display: flex; gap: 6px; }
.ic-btns .btn { padding: 7px 12px; }
@media (max-width: 600px) {
    .ic-btns { width: 100%; }
    .ic-btns .btn { flex: 1; justify-content: center; }
    .ic-btns .btn:last-child { flex: 0 0 auto; }
}
.file-list .ic-sizes { white-space: normal; }
