/* Аукционы (auctions-kit). */
:root{--au:#e0211b;--au-hot:#e0211b;--rep:#1c8a4a;--rep-soft:#e3f4ea;--new:#8a6a00;--new-soft:#fff6cc;--blitz:#6d3bd6;--blitz-soft:#efe6ff}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--rep:#4cc27d;--rep-soft:#173222;--new:#e6c64a;--new-soft:#332b0e;--blitz:#b797ff;--blitz-soft:#2a1f42}}
:root[data-theme="dark"]{--rep:#4cc27d;--rep-soft:#173222;--new:#e6c64a;--new-soft:#332b0e;--blitz:#b797ff;--blitz-soft:#2a1f42}
.money{font-family:var(--display);font-weight:600;letter-spacing:.01em;white-space:nowrap}

/* шапка раздела */
.au-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.au-head h1{font-family:var(--display);text-transform:uppercase;font-size:26px;margin:0 0 2px}
.au-head p{margin:0;color:var(--muted);font-size:13.5px;max-width:520px}
.au-bar{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.au-bar .seg{overflow-x:auto;max-width:100%;scrollbar-width:none}
.au-filt{display:flex;gap:6px;flex-wrap:wrap}
.au-filt .pill{cursor:pointer}
.au-filt .pill .muted{font-weight:500}

/* карточки-плитки (вариант А) */
.au-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.lot{background:var(--surface);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;position:relative}
.lot .ph{aspect-ratio:4/3;background:var(--surface-2);position:relative;overflow:hidden}
.lot .ph img{width:100%;height:100%;object-fit:cover;display:block}
.lot .tm{position:absolute;left:8px;bottom:8px;display:inline-flex;align-items:center;gap:5px;background:rgba(17,17,19,.78);color:#fff;font-size:12px;font-weight:600;padding:4px 8px;border-radius:7px;backdrop-filter:blur(4px)}
.lot .tm{white-space:nowrap}
.lot .loc{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--muted)}
.lot .tm svg{width:13px;height:13px}
.lot .tm.hot{background:var(--au-hot)}
.lot .nphotos{position:absolute;right:8px;bottom:8px;background:rgba(17,17,19,.6);color:#fff;font-size:11px;font-weight:600;padding:3px 7px;border-radius:6px;display:inline-flex;gap:4px;align-items:center}
.lot .nphotos svg{width:12px;height:12px}
.lot .tag-l{position:absolute;left:8px;top:8px;display:flex;gap:4px;flex-wrap:wrap}
.lot .bd{padding:10px 12px 12px;display:flex;flex-direction:column;gap:6px;flex:1}
.lot .tt{font-weight:700;font-size:14.5px;line-height:1.25}
.lot .tt small{display:block;font-weight:500;color:var(--muted);font-size:12px;margin-top:2px}
.lot .pr{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:auto}
.lot .pr .money{font-size:22px}
.lot .pr .bids{font-size:12px;color:var(--muted);white-space:nowrap}
.lot .sl{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:8px;margin-top:2px}
.lot .sl .ava{width:22px;height:22px;font-size:11px}
.lot .sl b{color:var(--fg);font-weight:600}
.lot .sl .city{margin-left:auto;white-space:nowrap}
.lot .watch{position:absolute;right:8px;top:8px;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;color:#141416}
.lot .watch svg{width:16px;height:16px}
.lot .watch.on{color:var(--red)}.lot .watch.on svg{fill:currentColor}
.lot.mine-lead{box-shadow:0 0 0 2px var(--ok) inset}
.lot .lead{font-size:11.5px;font-weight:700;color:var(--ok);display:flex;align-items:center;gap:4px}
.lot .lead.out{color:var(--red-ink)}
.chip{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:3px 7px;border-radius:5px;background:var(--surface);color:var(--fg)}
.chip.blitz{background:var(--blitz-soft);color:var(--blitz)}
.chip.set{background:var(--t-crowd);color:var(--t-crowd-fg)}
.chip.new{background:var(--ok-soft);color:var(--ok)}
.chip.wish{background:var(--red-soft);color:var(--red-ink)}

/* репутация */
.rep{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;padding:2px 7px 2px 5px;border-radius:99px;background:var(--rep-soft);color:var(--rep);white-space:nowrap;line-height:1.4}
.rep svg{width:12px;height:12px}
.rep.newbie{background:var(--new-soft);color:var(--new)}
.rep.bad{background:var(--red-soft);color:var(--red-ink)}

/* список строками (вариант Б) */
.au-rows{background:var(--surface);border-radius:var(--r);padding:2px 14px}
.lrow{display:grid;grid-template-columns:76px minmax(0,1fr) 130px 120px;gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}
.lrow:last-child{border-bottom:0}
.lrow img{width:76px;height:76px;border-radius:9px;object-fit:cover;display:block}
.lrow .tt{font-weight:700;font-size:14.5px}
.lrow .tt small{font-weight:500;color:var(--muted);font-size:12px;margin-left:4px}
.lrow .mt{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12px;color:var(--muted);margin-top:5px}
.lrow .p .money{font-size:20px;display:block}
.lrow .p small,.lrow .t small{font-size:11.5px;color:var(--muted);display:block}
.lrow .t b{font-weight:700;font-size:13.5px;display:block}
.lrow .t.hot b{color:var(--red)}

/* правая колонка */
.how ol{margin:0;padding:0 0 0 18px;display:flex;flex-direction:column;gap:7px;font-size:13px;line-height:1.4}
.how ol li::marker{font-weight:700;color:var(--red)}
.how p{font-size:12.5px;color:var(--muted);margin:10px 0 0}
.soon a{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:13px;font-weight:600}
.soon img{width:40px;height:40px;border-radius:7px;object-fit:cover}
.soon .n{flex:1;min-width:0;line-height:1.25}
.soon .n small{display:block;color:var(--red);font-weight:600;font-size:11.5px}
.soon .money{font-size:15px}

/* страница лота */
.lot-page{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;align-items:start}
.lp-crumbs{font-size:12.5px;color:var(--muted);display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.lp-crumbs a:hover{color:var(--red)}
.lp-gal{background:var(--surface);border-radius:var(--r);padding:10px}
.lp-gal .big{border-radius:9px;overflow:hidden;aspect-ratio:4/3;position:relative}
.lp-gal .big img{width:100%;height:100%;object-fit:cover;display:block}
.lp-gal .thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-top:6px}
.lp-gal .thumbs img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px;display:block;opacity:.75}
.lp-gal .thumbs img.on{opacity:1;outline:2px solid var(--red);outline-offset:-2px}
.lp-title{font-family:var(--display);text-transform:uppercase;font-size:24px;line-height:1.15;margin:0}
.lp-sub{color:var(--muted);font-size:13px;margin-top:4px;display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.lp-sub a{color:var(--fg);font-weight:600;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}
.bidbox{display:flex;flex-direction:column;gap:12px}
.bb-now{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.bb-now small{display:block;font-size:12px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.bb-now .money{font-size:40px;line-height:1}
.bb-now .bids{text-align:right;font-size:12.5px;color:var(--muted)}
.bb-now .bids b{display:block;color:var(--fg);font-size:15px}
.bb-timer{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:var(--surface-2);border-radius:10px;padding:8px}
.bb-timer div{text-align:center}
.bb-timer b{font-family:var(--display);font-size:24px;font-weight:600;display:block;line-height:1.1}
.bb-timer span{font-size:11px;color:var(--muted)}
.bb-timer.hot b{color:var(--red)}
.bb-end{font-size:12.5px;color:var(--muted);display:flex;gap:6px;align-items:center}
.bb-end svg{width:14px;height:14px;flex:none}
.bb-form{display:flex;gap:8px}
.bb-inp{flex:1;position:relative}
.bb-inp input{width:100%;height:46px;border-radius:10px;border:1.5px solid var(--line);background:var(--surface);color:var(--fg);font:600 18px var(--body);padding:0 34px 0 14px;box-sizing:border-box}
.bb-inp input:focus{outline:none;border-color:var(--red)}
.bb-inp i{position:absolute;right:14px;top:12px;font-style:normal;font-weight:600;color:var(--muted);font-size:16px}
.bb-form .btn{height:46px;font-size:15px;padding:0 20px}
.bb-quick{display:flex;gap:6px;flex-wrap:wrap}
.bb-quick button{height:30px;padding:0 11px;border-radius:8px;background:var(--surface-2);font:600 12.5px var(--body);color:var(--fg);border:0}
.bb-auto{display:flex;align-items:flex-start;gap:9px;font-size:13px;background:var(--surface-2);border-radius:10px;padding:10px 12px}
.bb-auto input{margin-top:2px;accent-color:var(--red)}
.bb-auto small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.bb-blitz{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1.5px dashed color-mix(in srgb,var(--blitz) 45%,transparent);border-radius:10px;padding:10px 12px}
.bb-blitz b{color:var(--blitz)}
.bb-blitz small{display:block;color:var(--muted);font-size:12px}
.btn-blitz{background:var(--blitz-soft);color:var(--blitz)}
.bb-lead{display:flex;align-items:center;gap:8px;background:var(--ok-soft);color:var(--ok);border-radius:10px;padding:10px 12px;font-size:13px;font-weight:600}
.bb-lead svg{width:18px;height:18px;flex:none}
.bb-rule{font-size:12px;color:var(--muted);line-height:1.45;margin:0}
.seller{display:flex;align-items:center;gap:10px}
.seller .ava{width:44px;height:44px;font-size:18px}
.seller .who{flex:1;min-width:0}
.seller .who b{display:block;font-size:14.5px}
.seller .who small{color:var(--muted);font-size:12px}
.rep-row{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;border-radius:10px;overflow:hidden;margin-top:12px}
.rep-row div{background:var(--surface-2);padding:8px 10px}
.rep-row b{font-family:var(--display);font-size:19px;font-weight:600;display:block;line-height:1.1}
.rep-row span{font-size:11px;color:var(--muted)}
.rep-row .g b{color:var(--rep)}
.facts{display:grid;grid-template-columns:150px minmax(0,1fr);gap:7px 12px;font-size:13.5px;margin:0}
.facts dt{color:var(--muted)}
.facts dd{margin:0;font-weight:500}
.cond{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.cond i{display:inline-flex;gap:2px}.cond i b{width:14px;height:6px;border-radius:2px;background:var(--line)}.cond i b.f{background:var(--ok)}
.lp-desc{font-size:14px;line-height:1.55;margin:0}
.ship{display:flex;flex-wrap:wrap;gap:6px}
.hist{width:100%;border-collapse:collapse;font-size:13px}
.hist td{padding:8px 4px;border-bottom:1px solid var(--line);vertical-align:middle}
.hist tr:last-child td{border-bottom:0}
.hist .u{display:flex;align-items:center;gap:7px;font-weight:600}
.hist .u .ava{width:24px;height:24px;font-size:11px}
.hist .m{text-align:right;font-family:var(--display);font-weight:600;font-size:16px;white-space:nowrap}
.hist .w{color:var(--muted);font-size:12px;white-space:nowrap;text-align:right;width:1%}
.hist tr.top .m{color:var(--ok)}
.hist .auto{font-size:10.5px;font-weight:700;color:var(--muted);background:var(--surface-2);border-radius:4px;padding:1px 5px;text-transform:uppercase;letter-spacing:.04em}
.hist .ext{font-size:11px;color:var(--red-ink);font-weight:600}
.h-sec{font-family:var(--display);text-transform:uppercase;font-size:17px;font-weight:600;margin:0 0 10px;display:flex;align-items:baseline;justify-content:space-between}
.h-sec small{font-family:var(--body);text-transform:none;font-size:12px;color:var(--muted);font-weight:500}
.q{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13.5px}
.q:last-of-type{border-bottom:0}
.q .ava{width:28px;height:28px;font-size:12px}
.q b{font-weight:600}.q .s{font-size:11px;font-weight:700;color:var(--red-ink);background:var(--red-soft);border-radius:4px;padding:1px 5px;margin-left:4px}
.q p{margin:2px 0 0;line-height:1.45}
.in-coll{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);background:var(--surface-2);border-radius:9px;padding:8px 10px}
.in-coll svg{width:16px;height:16px;color:#e0211b;fill:#e0211b;flex:none}

/* профиль: блок репутации */
.card.repcard{display:grid;gap:16px;padding:16px;container-type:inline-size}
.repcard .rh2{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.rep-big{display:flex;align-items:center;gap:12px}
.rep-big .sc{width:72px;height:58px;border-radius:14px;background:var(--rep-soft);color:var(--rep);display:grid;place-items:center;font-family:var(--display);font-size:24px;font-weight:600}
.rep-big b{display:block;font-size:15px}
.rep-big small{color:var(--muted);font-size:12.5px}
.rep-tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;border-radius:10px;overflow:hidden}
.rep-tiles div{display:flex;flex-direction:column;gap:6px;background:var(--surface-2);padding:12px}
.rep-tiles b{display:block;font-family:var(--display);font-size:24px;font-weight:600;line-height:1.1}
.rep-tiles span{font-size:11.5px;color:var(--muted);line-height:1.25;display:block}
.rep-tiles .g b{color:var(--rep)}
.rep-tiles .r b{color:var(--red)}
.revs{display:flex;flex-direction:column}
.rev{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13.5px}
.rev:last-child{border-bottom:0}
.rev .th{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;flex:none;font-size:13px;margin-top:2px}
.rev .th.up{background:var(--rep-soft);color:var(--rep)}
.rev .th.dn{background:var(--red-soft);color:var(--red-ink)}
.rev .th svg{width:13px;height:13px}
.rev b{font-weight:600}
.rev .meta2{font-size:12px;color:var(--muted)}
.rev p{margin:3px 0 0;line-height:1.45}
.rlist .lrow{grid-template-columns:52px minmax(0,1fr) auto}
.rlist .lrow img{width:52px;height:52px}
.st-b{font-size:11px;font-weight:700;padding:3px 8px;border-radius:5px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.st-b.live{background:var(--red-soft);color:var(--red-ink)}
.st-b.sold{background:var(--ok-soft);color:var(--ok)}
.st-b.wait{background:var(--t-crowd);color:var(--t-crowd-fg)}
.st-b.none{background:var(--surface-2);color:var(--muted)}

/* сделка */
.deal-hero{display:flex;gap:16px;align-items:center}
.deal-hero img{width:96px;height:96px;border-radius:12px;object-fit:cover;flex:none}
.deal-hero h1{font-family:var(--display);text-transform:uppercase;font-size:24px;margin:0;line-height:1.15}
.deal-hero p{margin:4px 0 0;color:var(--muted);font-size:13.5px}
.deal-hero .money{color:var(--ok);font-size:28px}
.won-b{display:inline-flex;align-items:center;gap:6px;background:var(--ok-soft);color:var(--ok);font-weight:700;font-size:12px;padding:4px 10px;border-radius:99px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}
.won-b svg{width:14px;height:14px}
.steps{display:flex;flex-direction:column;gap:0}
.step{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;padding:12px 0;position:relative}
.step:not(:last-child)::before{content:"";position:absolute;left:16px;top:44px;bottom:-4px;width:2px;background:var(--line)}
.step .n{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:700;background:var(--surface-2);color:var(--muted)}
.step.done .n{background:var(--ok);color:#fff}
.step.cur .n{background:var(--red);color:#fff}
.step.done::before{background:var(--ok)!important}
.step h3{margin:6px 0 2px;font-size:15px}
.step p{margin:0;font-size:13px;color:var(--muted);line-height:1.45}
.step .acts2{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.contact{display:flex;align-items:center;gap:10px;background:var(--surface-2);border-radius:10px;padding:10px 12px;margin-top:10px}
.contact .ava{width:36px;height:36px}
.contact div{flex:1;min-width:0;font-size:13px}
.contact b{display:block}
.contact small{color:var(--muted)}
.revform{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.thumbs2{display:flex;gap:8px}
.thumbs2 label{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;height:42px;border-radius:10px;border:1.5px solid var(--line);font-weight:600;font-size:13.5px;cursor:pointer}
.thumbs2 label.on{border-color:var(--ok);background:var(--ok-soft);color:var(--ok)}
.thumbs2 svg{width:17px;height:17px}
.revform textarea{border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--fg);font:14px var(--body);padding:10px 12px;min-height:70px}
.note2{font-size:12.5px;color:var(--muted);background:var(--surface-2);border-radius:10px;padding:10px 12px;line-height:1.5;display:flex;gap:8px}
.note2 svg{width:16px;height:16px;flex:none;margin-top:1px}
.linkbtn{color:var(--muted);font-size:12.5px;text-decoration:underline;text-underline-offset:3px}

/* форма выставления */
.nf{display:flex;flex-direction:column;gap:12px}
.nf .card h2{font-family:var(--display);text-transform:uppercase;font-size:17px;margin:0 0 12px;display:flex;align-items:center;gap:8px}
.nf .card h2 .k{width:22px;height:22px;border-radius:50%;background:var(--ink);color:var(--ink-fg);font:700 12px var(--body);display:grid;place-items:center}
.gsel{display:flex;align-items:center;gap:12px;border:1.5px solid var(--red);border-radius:10px;padding:8px 10px}
.gsel img{width:48px;height:48px;border-radius:7px}
.gsel div{flex:1}.gsel b{display:block}.gsel small{color:var(--muted);font-size:12px}
.fromcoll{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px;font-size:12.5px;color:var(--muted);align-items:center}
.fromcoll .g{display:inline-flex;align-items:center;gap:6px;background:var(--surface-2);border-radius:99px;padding:3px 10px 3px 3px;font-weight:600;color:var(--fg)}
.fromcoll .g img{width:22px;height:22px;border-radius:50%;object-fit:cover}
.opts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.opt{border:1.5px solid var(--line);border-radius:10px;padding:9px 10px;font-size:13px;cursor:pointer}
.opt b{display:block;font-size:13.5px}
.opt small{color:var(--muted);font-size:11.5px;line-height:1.3;display:block;margin-top:2px}
.opt.on{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
.chk{display:flex;flex-wrap:wrap;gap:8px}
.chk label{display:inline-flex;align-items:center;gap:6px;font-size:13px;background:var(--surface-2);border-radius:99px;padding:6px 12px;font-weight:500}
.chk label input{accent-color:var(--red);margin:0}
.drop{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.drop img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px;display:block}
.drop .add{aspect-ratio:1;border:1.5px dashed var(--faint);border-radius:9px;display:grid;place-items:center;text-align:center;color:var(--muted);font-size:11.5px;font-weight:600;padding:4px}
.drop .add svg{width:20px;height:20px;display:block;margin:0 auto 3px}
.f2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fl{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600}
.fl small{font-weight:400;color:var(--muted);font-size:12px}
.fl-t small{margin-left:4px}
.fl input,.fl select,.fl textarea{height:40px;border-radius:9px;border:1px solid var(--line);background:var(--surface);color:var(--fg);font:500 14px var(--body);padding:0 12px;box-sizing:border-box;width:100%}
.fl textarea{height:auto;padding:10px 12px;line-height:1.5}
.fl .wrapr{position:relative}.fl .wrapr i{position:absolute;right:12px;top:10px;font-style:normal;color:var(--muted)}
.durs{display:flex;gap:4px;flex-wrap:wrap}
.durs span{height:34px;padding:0 13px;border-radius:8px;background:var(--surface-2);display:inline-flex;align-items:center;font-weight:600;font-size:13px}
.durs span.on{background:var(--ink);color:var(--ink-fg)}
.endprev{display:flex;align-items:center;gap:8px;font-size:13px;background:var(--surface-2);border-radius:10px;padding:10px 12px;margin-top:10px}
.endprev svg{width:16px;height:16px;color:var(--red);flex:none}
.agree{display:flex;gap:9px;font-size:13px;align-items:flex-start}
.agree input{accent-color:var(--red);margin-top:3px}
.nf-foot{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

/* варианты */

@media (max-width:1040px){.au-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lot-page{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){
  .au-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .lot .bd{padding:8px 9px 10px;gap:4px}
  .lot .tt{font-size:13px}.lot .tt small{display:none}
  .lot .pr{flex-direction:column;align-items:flex-start;gap:0}
  .lot .pr .money{font-size:19px}
  .lot .sl .city,.lot .sl .nm{display:none}
  .lot .watch{width:28px;height:28px}
  .au-head h1{font-size:22px}
  .au-head .btn{width:100%}
  .lrow{grid-template-columns:64px minmax(0,1fr) auto}.lrow img{width:64px;height:64px}.lrow .t{grid-column:2}
  .bb-now .money{font-size:34px}
  .facts{grid-template-columns:120px minmax(0,1fr)}

  .rep-row{grid-template-columns:repeat(2,1fr)}
  .opts{grid-template-columns:repeat(2,1fr)}
  .f2{grid-template-columns:minmax(0,1fr)}
  .drop{grid-template-columns:repeat(4,1fr)}
  .deal-hero img{width:72px;height:72px}
  .deal-hero h1{font-size:20px}
}

.shipw{display:flex;flex-wrap:wrap;gap:6px}
.lp-gal .thumbs{overflow:hidden}
.shipw{flex-direction:row!important}.shipw .pill{display:inline-flex!important;width:auto!important;flex:none}
.au-bar .seg a{white-space:nowrap}
@media (max-width:1040px){.lot-page{display:flex;flex-direction:column}.lot-page>.col{display:contents}.o1{order:1}.o2{order:2}.o3{order:3}.o4{order:4}.o5{order:5}.o6{order:6}.o7{order:7}}

/* сайт: дополнения к макету */
.auc-wrap{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:16px;align-items:start}
.auc-main{display:flex;flex-direction:column;gap:12px;min-width:0}
.auc-rail{display:flex;flex-direction:column;gap:12px;position:sticky;top:calc(env(safe-area-inset-top,0px) + 74px)}
.au-head .btn{flex:none}
.auc-todo{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1.5px solid var(--red);font-weight:600;font-size:13.5px}
.auc-todo svg{width:18px;height:18px;color:var(--red);flex:none}.auc-todo .go{margin-left:auto;color:var(--muted)}
.au-city{position:relative;padding-right:8px}
.au-city select{border:0;background:transparent;font:inherit;color:inherit;cursor:pointer;padding:0 2px;max-width:170px;appearance:auto}
.au-filt .pill.on{background:var(--red-soft);color:var(--red-ink)}
.au-filt .pill svg{fill:none}
.lot .ph{display:block}
.lot .ph .gl{width:100%;height:100%;border-radius:0;font-size:56px}
.lot .ph .gl img{width:100%;height:100%;object-fit:cover}
.lot .watch-f{position:absolute;right:8px;top:8px;margin:0}
.lot .watch{position:static;border:0;cursor:pointer}
.lot.over .ph img{filter:grayscale(.6);opacity:.85}
.lot .tt{color:var(--fg)}.lot .tt:hover{color:var(--red)}
.lot .tt small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lot .sl a{display:inline-flex;align-items:center;gap:6px;min-width:0}
.lot .sl .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lot .sl .rep{margin-left:auto}
.lot .ph .chip{background:rgba(255,255,255,.94);color:#141416}
.lot .ph .chip.set{background:#fff1db;color:#b86b00}.lot .ph .chip.blitz{background:#efe6ff;color:#6d3bd6}.lot .ph .chip.wish{background:#fde8e7;color:#c81912}
.lot .ph .chip svg{width:11px;height:11px}
.auc-empty{text-align:center;padding:32px 16px;color:var(--muted)}
.auc-empty svg{width:36px;height:36px;color:var(--faint)}
.auc-empty p{margin:8px 0 14px}
.soon .gl{width:40px;height:40px}
.soon small span{display:inline}
.pager{display:flex;justify-content:space-between;align-items:center}
/* лот */
.lp-gal .big .gl{width:100%;height:100%;border-radius:0;font-size:80px}
.lp-gal .big a{display:block;height:100%}
.lp-gal .thumbs button{padding:0;border:0;background:none;border-radius:7px;cursor:pointer;overflow:hidden}
.lp-gal .thumbs button img{opacity:.7}
.lp-gal .thumbs button.on img{opacity:1;outline:2px solid var(--red);outline-offset:-2px}
.gname{font-weight:600;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}
.gname:hover{color:var(--red)}
.lp-desc{margin-top:12px}.lp-desc p{margin:0 0 8px}
.bb-own{display:flex;gap:8px;align-items:flex-start;font-size:13px;background:var(--surface-2);border-radius:10px;padding:10px 12px;line-height:1.45}
.bb-own svg{width:16px;height:16px;flex:none;margin-top:1px;color:var(--muted)}
.bb-own.warn{background:var(--t-crowd);color:var(--t-crowd-fg)}.bb-own.warn svg{color:inherit}
section.bb-own{padding:12px 14px}
.bb-acts{display:flex;gap:8px;flex-wrap:wrap}.bb-acts form{margin:0}
.bb-f{display:flex;flex-direction:column;gap:10px;margin:0}
.bb-max{display:flex;align-items:center;gap:6px;margin-top:8px;font-weight:600}
.bb-max input{flex:1;height:38px;border-radius:9px;border:1.5px solid var(--line);background:var(--surface);color:var(--fg);font:600 15px var(--body);padding:0 10px;min-width:0}
.bb-max input:focus{outline:none;border-color:var(--red)}
.bb-auto{cursor:pointer}
.bb-blitz{margin:0}
.bb-quick button{cursor:pointer}
.bb-watch{margin:0}
.bb-watch .linkbtn{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:0;cursor:pointer;font:inherit;font-size:13px}
.bb-watch .linkbtn.on{color:var(--red)}.bb-watch .linkbtn.on svg{fill:currentColor}
.bb-conf{margin:0;font-size:12.5px;color:var(--red-ink)}
.linkbtn{background:none;border:0;padding:0;cursor:pointer;font:inherit;font-size:12.5px}
.hist .you{font-size:10.5px;font-weight:700;color:var(--ink-fg);background:var(--ink);border-radius:4px;padding:1px 5px}
.hist .u{flex-wrap:wrap}
.hist .ext{display:block;margin-top:2px}
.rep-row .r b{color:var(--red)}
.seller .who a:hover b{color:var(--red)}
.q-a{display:flex;gap:8px;margin-top:8px;padding:8px 10px;background:var(--surface-2);border-radius:9px}
.q-a .ava{width:24px;height:24px;font-size:11px}
.q-f,.q-af{display:flex;gap:8px;margin-top:10px;align-items:flex-start}
.q-f textarea,.q-af textarea{flex:1;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--fg);font:14px var(--body);padding:8px 10px;min-height:40px;resize:vertical}
.q > div{flex:1;min-width:0}
/* форма */
.nf-head{margin-bottom:0}
.nf-head h1{font-family:var(--display);text-transform:uppercase}
.nf .opt{display:block;position:relative}
.nf .opt input{position:absolute;opacity:0;pointer-events:none}
.nf .opt:has(input:checked){border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
.nf .opt:has(input:focus-visible){outline:2px solid var(--red);outline-offset:2px}
.nf .chk{margin-top:12px}
.nf .drop{margin-top:12px}
.phx{position:relative}
.phx img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px;display:block}
.phx .x{position:absolute;right:4px;top:4px;width:24px;height:24px;border-radius:50%;border:0;background:rgba(0,0,0,.65);color:#fff;font-size:16px;line-height:1;cursor:pointer}
.phx:first-child::after{content:"обложка";position:absolute;left:4px;bottom:4px;background:rgba(0,0,0,.65);color:#fff;font-size:10.5px;font-weight:700;padding:2px 6px;border-radius:5px}
.phx.up img{opacity:.4}
.drop .add{cursor:pointer}.drop .add small{font-weight:500;font-size:10.5px}
.drop.over{outline:2px dashed var(--red);outline-offset:4px;border-radius:10px}
.nf-hint{font-size:12px;color:var(--muted);margin:8px 0 12px}
.gpicked{display:flex;flex-direction:column;gap:8px}
.gpicked:empty{display:none}
.gsel .gl{width:48px;height:48px;border-radius:7px;overflow:hidden}
.gsel .gl img{width:100%;height:100%;object-fit:cover}
.gfind{position:relative;margin-top:10px}
.gfind>svg{position:absolute;left:12px;top:12px;width:16px;height:16px;color:var(--muted)}
.gfind input{width:100%;height:40px;border-radius:9px;border:1px solid var(--line);background:var(--surface);color:var(--fg);font:500 14px var(--body);padding:0 12px 0 36px;box-sizing:border-box}
.gfind input:focus{outline:none;border-color:var(--red)}
.gfind-res{position:absolute;left:0;right:0;top:44px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.15);z-index:20;max-height:340px;overflow:auto;padding:4px}
.gfind-res button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:none;padding:6px 8px;border-radius:8px;cursor:pointer;color:var(--fg);font:inherit}
.gfind-res button:hover,.gfind-res button.on{background:var(--surface-2)}
.gfind-res b{display:block;font-size:13.5px}.gfind-res small{color:var(--muted);font-size:12px}
.gfind-res .gl{width:36px;height:36px;overflow:hidden}.gfind-res .gl img{width:100%;height:100%;object-fit:cover}
.gfind-res p{margin:6px 8px;color:var(--muted);font-size:13px}
.fromcoll .g{border:0;cursor:pointer;font:inherit;font-weight:600;font-size:12.5px}
.fromcoll .g .gl{width:22px;height:22px;border-radius:50%;font-size:10px;overflow:hidden}
.fromcoll .g .gl img{width:100%;height:100%;object-fit:cover}
.durs label{position:relative}.durs input{position:absolute;opacity:0;pointer-events:none}
.durs label span{height:34px;padding:0 13px;border-radius:8px;background:var(--surface-2);display:inline-flex;align-items:center;font-weight:600;font-size:13px;cursor:pointer}
.durs input:checked+span{background:var(--ink);color:var(--ink-fg)}
.durs input:focus-visible+span{outline:2px solid var(--red);outline-offset:2px}
.nf-dur{margin-top:12px}
.nf-hour{flex-direction:row!important;align-items:center;gap:8px!important;margin-top:10px}
.nf-hour select{width:auto!important;height:34px!important}
.f-err{display:block;color:var(--red-ink);font-size:12.5px;font-weight:500;margin-top:6px}
.nf-foot{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.nf-btns{display:flex;gap:10px;flex-wrap:wrap}
/* сделка */
.deal-hero .gl{width:96px;height:96px;border-radius:12px;font-size:40px;overflow:hidden}
.deal-hero h1 a:hover{color:var(--red)}
.won-b.offer{background:var(--blitz-soft);color:var(--blitz)}
.won-b.bad{background:var(--red-soft);color:var(--red-ink)}
.acts2 form{margin:0}
.thumbs2 label{position:relative}
.thumbs2 input{position:absolute;opacity:0;pointer-events:none}
.thumbs2 label:has(input:checked){border-color:var(--ok);background:var(--ok-soft);color:var(--ok)}
.thumbs2 label:has(input[value="0"]:checked){border-color:var(--red);background:var(--red-soft);color:var(--red-ink)}
.failform{display:flex;flex-direction:column;gap:8px;margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:10px}
.failform p{margin:0}
.failform .rd{display:flex;gap:8px;font-size:13.5px;align-items:flex-start}
.failform .rd input{accent-color:var(--red);margin-top:3px}
.failform textarea{border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--fg);font:14px var(--body);padding:10px 12px;min-height:60px}
.failform .btn{align-self:flex-start;width:auto}
.failform[hidden]{display:none}
.step .rev{margin-top:10px;padding:10px 12px;background:var(--surface-2);border-radius:10px;border:0}
.contact form{margin:0}
/* профиль */
.rep-big .sc.nb{background:var(--surface-2);color:var(--muted)}
.rep-big .sc.bad{background:var(--red-soft);color:var(--red-ink)}
.rep-links{display:flex;gap:8px;flex-wrap:wrap}
.rlist .au-rows{padding:0}
.rlist .lrow{color:var(--fg)}
.rlist .lrow:hover .tt{color:var(--red)}
.rlist .noimg{width:52px;height:52px;border-radius:9px;background:var(--surface-2)}
.st-b.bad{background:var(--red-soft);color:var(--red-ink)}
.rev .meta2 a{text-decoration:underline;text-underline-offset:2px}
/* блок на странице игры */
.auc-gb-r{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:13px;font-weight:600}
.auc-gb-r img,.auc-gb-r .gl{width:40px;height:40px;border-radius:7px;object-fit:cover;flex:none}
.auc-gb-r .n{flex:1;min-width:0;line-height:1.25}.auc-gb-r small{display:block;color:var(--muted);font-weight:500;font-size:11.5px}
.auc-gb-r:hover .n{color:var(--red)}
.auc-gb-r .money{font-size:15px}
.card.auc-gb{display:grid;gap:12px;padding:16px}
.auc-gb .rh{margin:0;gap:4px 8px;flex-wrap:wrap}
.auc-gb .btn{width:100%;justify-content:center;box-sizing:border-box}
.auc-gb-e{font-size:13px;margin:0}
@media (max-width:1040px){.auc-wrap{grid-template-columns:minmax(0,1fr)}.auc-rail{position:static;display:grid;grid-template-columns:1fr 1fr}}
@media (max-width:760px){.auc-rail{grid-template-columns:minmax(0,1fr)}.hist .rep{display:none}.au-head .btn{width:100%}.q-f,.q-af{flex-direction:column}.q-f .btn,.q-af .btn{align-self:flex-end}.contact{flex-wrap:wrap}.contact .btn,.contact form{width:100%}.contact form .btn{width:100%}.deal-hero{align-items:flex-start}.deal-hero .gl{width:72px;height:72px}.lot .sl .rep{margin-left:0}.lot .sl{flex-wrap:wrap}}

@container (max-width:560px){
  .rep-tiles{grid-template-columns:1fr;gap:1px}
  .rep-tiles div{flex-direction:row-reverse;align-items:center;justify-content:space-between;padding:8px 12px}
  .rep-tiles b{font-size:20px}
}
