#pfDetailCompare{color-scheme:dark;box-sizing:border-box;width:min(820px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 20px);margin:auto;padding:16px;color:#eaf4fa;background:#122035;border:1px solid #517789;border-radius:12px;box-shadow:0 16px 70px #0008;overflow:auto}
#pfDetailCompare::backdrop{background:#07101bc4}
#pfDetailCompare [hidden]{display:none!important}
#pfDetailCompare header,.pf-detail-tools,.pf-look-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#pfDetailCompare header{justify-content:space-between}
#pfDetailCompare h2{margin:0;font:600 1.25rem/1.25 system-ui}
#pfDetailCompare p{margin:10px 0;color:#cbdbe4;line-height:1.4;min-height:1.4em}
#pfDetailCompare button,.pf-look-actions button{border:1px solid #527083;border-radius:6px;padding:8px 12px;background:#20354b;color:#edf6fc;cursor:pointer}
#pfDetailCompare [data-run],.pf-look-actions #pfLookCompare:enabled{background:#64e8de;color:#0a2932;border-color:#64e8de;font-weight:650}
.pf-look-actions{margin:10px 0}.pf-look-actions small{flex-basis:100%;color:inherit}.pf-look-actions small:empty{display:none}.pf-look-actions button:disabled{opacity:.5;cursor:default}
.pf-detail-stage{width:100%;height:min(55dvh,540px);display:grid;place-items:center;background:#0a1422;border-radius:6px;overflow:hidden}
.pf-detail-pair{position:relative;touch-action:none;overflow:hidden;max-width:100%;max-height:100%}
.pf-detail-pair canvas,.pf-detail-pair i,.pf-detail-pair [data-region]{position:absolute;display:block;pointer-events:none}
.pf-detail-pair canvas{inset:0;width:100%;height:100%}
.pf-detail-pair [data-region]{box-sizing:border-box;border:2px solid #61eee1;box-shadow:0 0 0 9999px #06122265,inset 0 0 0 1px #173d45}
.pf-detail-pair [data-after]{clip-path:inset(0 0 0 var(--cut,50%))}
.pf-detail-pair i{left:var(--cut,50%);height:100%;width:2px;transform:translateX(-50%);background:#65fff3;box-shadow:0 0 2px #102331}
.pf-detail-tools{margin-top:12px;justify-content:space-between}
#pfDetailCompare .pf-detail-tools label{margin:0;display:flex;align-items:center;gap:10px;flex:1;min-width:0}
#pfDetailCompare input[type=range]{width:auto;min-width:50px;flex:1;accent-color:#68e5df}
#pfDetailCompare :focus-visible{outline:2px solid #60e8de;outline-offset:-2px}
@media(max-width:600px){#pfDetailCompare{padding:12px}.pf-detail-stage{height:min(53dvh,460px)}#pfDetailCompare button,.pf-look-actions button{min-height:44px}.pf-detail-tools label{flex-basis:100%!important}.pf-detail-tools button{width:100%}#pfDetailCompare input[type=range]{height:38px}}
