/* r145: Pick and compare */
.r145-add{display:block;width:100%;margin:6px 0 6px;padding:6px 8px;border:1px solid #c79a3a;border-radius:10px;background:transparent;color:#c79a3a;font:700 12px/1.2 system-ui,sans-serif;cursor:pointer;box-sizing:border-box}
.r145-add.on{background:#86f04a;border-color:#86f04a;color:#111}
.r144-body>.r145-add{margin-top:auto}
.r144-body>.r145-add+.r144-btn{margin-top:0!important}
.r145-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(env(safe-area-inset-bottom,0px) + 84px);z-index:900;display:flex;gap:8px;align-items:center;padding:6px;border-radius:99px;background:#111;box-shadow:0 6px 20px rgba(0,0,0,.35)}
.r145-bar[hidden]{display:none}
@media(min-width:701px){.r145-bar{bottom:24px}}
.r145-open{border:0;border-radius:99px;padding:10px 18px;background:linear-gradient(135deg,#e6c46e,#c79a3a);color:#fff;font:800 14px/1 system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.r145-clear{border:0;border-radius:99px;padding:10px 12px;background:transparent;color:#ddd;font:600 13px/1 system-ui,sans-serif;cursor:pointer}
.r145-panel{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:none;flex-direction:column;background:var(--bg,#0b1220);color:var(--ink,#fff);overflow:auto;-webkit-overflow-scrolling:touch}
.r145-panel.open{display:flex}
html.r145-lock,html.r145-lock body{overflow:hidden}
.r145-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;padding-top:calc(env(safe-area-inset-top,0px) + 14px);background:inherit;border-bottom:1px solid rgba(128,128,128,.25)}
.r145-head h2{margin:0;font-size:18px}
.r145-close{border:0;background:transparent;color:inherit;font-size:22px;line-height:1;padding:6px 10px;cursor:pointer}
.r145-tip{margin:12px 16px 0;font-size:13px;opacity:.75}
.r145-cols{display:flex;gap:10px;overflow-x:auto;padding:14px 16px 28px;scroll-snap-type:x mandatory;scroll-padding:0 16px}
.r145-col{position:relative;flex:0 0 min(46vw,220px);scroll-snap-align:start;display:flex;flex-direction:column;gap:5px;padding:0 0 12px;border:1px solid rgba(128,128,128,.3);border-radius:14px;overflow:hidden;background:rgba(128,128,128,.08)}
.r145-col.best{border-color:#86f04a;box-shadow:0 0 0 1px #86f04a}
.r145-best{position:absolute;left:6px;top:6px;z-index:2;font:800 10px/1 system-ui,sans-serif;padding:4px 7px;border-radius:99px;background:#86f04a;color:#111}
.r145-rm{position:absolute;right:6px;top:6px;z-index:2;width:26px;height:26px;border:0;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;font-size:13px;cursor:pointer}
.r145-img{position:relative;width:100%;aspect-ratio:4/3;background:#111}
.r145-img img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}
.r145-col>p,.r145-col>h3,.r145-col>a{margin:0 10px}
.r145-store{font-size:12px;opacity:.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:6px!important}
.r145-col h3{font-size:14px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.r145-price{font-size:16px;font-weight:900;color:#86f04a}
.r145-save{font-size:12px;opacity:.8}
.r145-score{font-size:18px;font-weight:900}
.r145-score small{font-size:11px;opacity:.7}
.r145-go{margin-top:auto!important;display:block;text-align:center;padding:9px 10px;border-radius:10px;background:linear-gradient(135deg,#e6c46e,#c79a3a);color:#fff;font-weight:800;font-size:13px;text-decoration:none}

/* r175 */#r145Panel .r145-done{margin-left:auto;margin-right:8px;padding:6px 16px;border-radius:999px;border:1px solid #d4a83a;background:transparent;color:inherit;font-weight:600;font-size:14px;cursor:pointer}
/* cmp-fix 20261112: header row, close X size, bar clearance */
#r145Panel .r145-head{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
#r145Panel .r145-head h2{margin:0;font-size:18px;white-space:nowrap;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
#r145Panel .r145-done{flex:0 0 auto;margin:0}
#r145Panel .r145-close{flex:0 0 auto;width:44px;height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:22px;line-height:1}
#r145Panel .r145-close svg{width:24px;height:24px;display:block}
html:has(.r145-bar:not([hidden])) body{padding-bottom:150px}html.cl-cmpbar body{padding-bottom:150px}
/* toast-above-bar 20261113: while the compare bar shows, the "Added to compare" toast sits above it, not behind it (bar: 84px up on phones, 24px on desktop, 46px tall) */
html:has(.r145-bar:not([hidden])) .toast{bottom:calc(env(safe-area-inset-bottom,0px) + 140px)}html.cl-cmpbar .toast{bottom:calc(env(safe-area-inset-bottom,0px) + 140px)}
@media(min-width:701px){html:has(.r145-bar:not([hidden])) .toast{bottom:80px}html.cl-cmpbar .toast{bottom:80px}}
/* relicon-lowend D (20 Nov 2026): rules using :has() have a twin right after them with a class (cl-hasimg, cl-cmpbar, cl-instock, cl-allout) that cl-old.js sets only in browsers without :has() (Chromium before 105); "inset" is written out as top/right/bottom/left (Chromium before 87). */
