:root { --acc: #7c3aed; --accd: #6425d0; --accbg: #f3eefd }
.chips { display: flex; border: 1px solid var(--line); background: var(--panel); flex-wrap: wrap }
.chips button { border: 0; border-right: 1px solid var(--line); background: none; padding: 12px 20px; font-weight: 600; color: var(--tx2); cursor: pointer; text-align: center }
.chips button:last-child { border-right: 0 } .chips button.on { background: var(--ink); color: #fff }
.chips small { display: block; font-weight: 500; font-size: 11.5px; color: var(--tx3) } .chips button.on small { color: #c9ced6 }
.stage { flex: 1; display: flex; flex-direction: column; padding: 22px; gap: 12px; min-width: 0; min-height: 0 }
.cmpwrap { flex: 1; min-height: 320px; background: #0e1013 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Crect width='8' height='8' fill='%23181b20'/%3E%3Crect x='8' y='8' width='8' height='8' fill='%23181b20'/%3E%3C/svg%3E"); position: relative; overflow: hidden }
.cmpwrap.zoom { overflow: auto }
.cmp { position: absolute; inset: 0; cursor: ew-resize; user-select: none }
.cmpwrap.zoom .cmp { position: relative; inset: auto }
.layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center }
.layer canvas, .layer img { max-width: 100%; max-height: 100%; display: block }
.cmpwrap.zoom .layer canvas, .cmpwrap.zoom .layer img { max-width: none; max-height: none }
.layer.b { clip-path: inset(0 0 0 50%) }
.slider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1px; background: #fff; pointer-events: none }
.slider::after { content: '\27F7'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; background: #fff; display: grid; place-items: center; font-weight: 800; color: var(--ink) }
.cmpwrap.zoom .slider::after { position: sticky; top: 50% }
.lab2 { position: absolute; top: 14px; color: #fff; font: 600 12px var(--mono); background: rgba(0,0,0,.62); padding: 5px 9px; pointer-events: none }
.lab2.l { left: 14px } .lab2.r { right: 14px }
.cmpwrap.zoom .lab2 { display: none }
.msg { position: absolute; inset: 0; display: grid; place-items: center; color: #c9ced6; text-align: center; padding: 20px }
.cbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap } .cbar .seg button { padding: 0 14px } .cbar .s { color: var(--tx2); font-size: 13px } .cbar .sp { flex: 1 }
.strip2 { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; flex: none }
.strip2 .it { flex: none; width: 150px; background: var(--panel); border: 1px solid var(--line); cursor: pointer; position: relative; border-bottom: 3px solid transparent }
.strip2 .it.sel { border-bottom-color: var(--acc); background: var(--accbg) }
.strip2 .it .im { height: 80px; background: #eceef1 center/cover no-repeat }
.strip2 .it .t { padding: 6px 8px; font-size: 12px } .strip2 .it b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px }
.strip2 .it span { font-family: var(--mono); color: var(--tx2); font-size: 11px } .strip2 .it span em { font-style: normal; color: var(--ok); font-weight: 700 } .strip2 .it span em.w { color: var(--warn) }
.strip2 .it .x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; background: rgba(20,22,26,.75); color: #fff; cursor: pointer; display: none }
.strip2 .it:hover .x { display: block }
.est .row2 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap } .est .a { font-size: 16px; color: var(--tx3); text-decoration: line-through; font-weight: 700 }
.est .q { font-size: 12.5px; color: var(--tx2); margin-top: 4px } .est .q.warn { color: var(--warn); font-weight: 600 }
@media (max-width: 1000px) { .cmpwrap { min-height: 260px } }
