.compare-controls{position:sticky;top:.4rem;z-index:2;display:flex;align-items:center;flex-wrap:wrap;gap:.45rem .7rem;padding:.65rem;border:1px solid #859678;border-radius:.6rem;background:#263426;color:#fff;margin-block:.75rem}
.compare-controls p{flex-basis:100%;margin:0;font-size:.92rem}
.compare-controls .button,.compare-controls .outline{cursor:pointer;padding:.44rem .65rem;border-radius:.5rem;font:inherit}
.compare-controls .button:disabled{opacity:.54;cursor:not-allowed}
.compare-controls [hidden]{display:none}
.compare-select,.compare-mode{display:inline-flex;align-items:center;min-height:2.75rem;gap:.45rem;font-size:.95rem;cursor:pointer}
.compare-select input,.compare-mode input{width:1.12rem;height:1.12rem;accent-color:#b9dd58;cursor:pointer}
.size-result > .compare-select{flex:none;width:auto;white-space:nowrap}
.compare-select input{flex:none;margin:0}
.compare-select:has(input:disabled){opacity:.55;cursor:not-allowed}
.compare-dialog{background:#151f17;color:#f6f8f3;border:1px solid #889483;border-radius:.85rem;padding:clamp(.7rem,2vw,1.45rem);width:min(70rem,calc(100% - 1rem));max-width:none;max-height:calc(100% - 1rem);margin:auto;box-sizing:border-box}
.compare-dialog::backdrop{background:#000a}
.compare-dialog .compare-title{display:flex;justify-content:space-between;align-items:center;gap:.5rem;position:sticky;top:0;background:#151f17;z-index:3;padding-block:.2rem}
.compare-title h2{font-size:clamp(1.25rem,3vw,1.8rem);margin:0;color:#f6f8f3}
.compare-dialog button{cursor:pointer;color:#f6f8f3;background:#2b382c;border:1px solid #849680;border-radius:.5rem;font:inherit;padding:.5rem .7rem}
.compare-dialog p{font-size:.94rem;margin:.55rem 0}
.compare-dialog a{color:#dbf594;text-decoration:underline}
.compare-scroll{max-width:100%;overflow:auto;border:1px solid #667761;border-radius:.5rem}
.compare-scroll:focus-visible{outline:2px solid #d8f56b}
.compare-table{width:100%;border-collapse:separate;border-spacing:0;margin:0;text-align:left;font-size:.9rem;line-height:1.38}
.compare-table :is(th,td){padding:.55rem .65rem;border-bottom:1px solid #50604f;min-width:10.7rem;vertical-align:top;overflow-wrap:anywhere}
.compare-table thead th{background:#243628;font-weight:650}
.compare-table tbody td{background:#182219}
.compare-table tr>:first-child{position:sticky;left:0;z-index:1;min-width:6.5rem;max-width:9rem;background:#2a392c;border-right:1px solid #748273}
.compare-table thead img{display:block;width:5.5rem;height:5.5rem;max-width:100%;object-fit:contain;border-radius:.35rem;background:#fff}
.compare-table thead span,.compare-table thead a,.compare-table thead strong,.compare-table small{display:block;margin-top:.25rem}
.compare-table small{font-size:.8rem;color:#d8e1d4}
.compare-table tr[hidden]{display:none}
.compare-tip{color:#d8e1d4}
@media(min-width:780px){.compare-dialog .compare-tip{display:none}}
@media(max-width:380px){.compare-table :is(th,td){padding:.45rem;min-width:9.55rem}.compare-table tr>:first-child{min-width:5.75rem}}

.compare-variant{font-size:.86rem;color:#d6dfd1}
