:root{
  --bg:#F2F7F4;--surface:#FFFFFF;--surface-2:#E8F0EB;--ink:#142019;--muted:#566860;--line:#D5E2DA;
  --accent:#00A86B;--accent-hover:#008F5A;--accent-ink:#FFFFFF;--accent-soft:#D3F6E6;
  --cta:#FF6B1A;--cta-hover:#EB5A0A;--cta-ink:#FFFFFF;
  --hdr:#00A86B;--hdr-ink:#FFFFFF;--price:#007A4D;
  --warn:#B25A00;--warn-soft:#FFE9CC;--danger:#E0245E;
  --ph-s:75%;--ph-l:88%;--ph-t:36%;--ic-bg:92%;--ic-fg:40%;
  --shadow:0 1px 2px rgba(18,32,26,.05),0 8px 24px rgba(18,32,26,.08);
  --display:"Bricolage Grotesque","Trebuchet MS",system-ui,sans-serif;
  --body:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  color-scheme:dark;--bg:#0D1311;--surface:#161D1A;--surface-2:#202A25;--ink:#E8F0EB;--muted:#9CAEA5;--line:#2A3530;
  --accent:#1FD68F;--accent-hover:#4BE3A8;--accent-ink:#03140C;--accent-soft:#113A29;
  --cta:#FF7A2E;--cta-hover:#FF9152;--cta-ink:#1A0A00;--hdr:#0B4D35;--hdr-ink:#FFFFFF;--price:#3BE3A0;
  --warn:#FFB45C;--warn-soft:#3D2A12;--danger:#FF6B93;
  --ph-s:55%;--ph-l:24%;--ph-t:78%;--ic-bg:22%;--ic-fg:74%;--shadow:0 1px 2px rgba(0,0,0,.4),0 10px 28px rgba(0,0,0,.45);
}}
:root[data-theme="dark"]{
  color-scheme:dark;--bg:#0D1311;--surface:#161D1A;--surface-2:#202A25;--ink:#E8F0EB;--muted:#9CAEA5;--line:#2A3530;
  --accent:#1FD68F;--accent-hover:#4BE3A8;--accent-ink:#03140C;--accent-soft:#113A29;
  --cta:#FF7A2E;--cta-hover:#FF9152;--cta-ink:#1A0A00;--hdr:#0B4D35;--hdr-ink:#FFFFFF;--price:#3BE3A0;
  --warn:#FFB45C;--warn-soft:#3D2A12;--danger:#FF6B93;
  --ph-s:55%;--ph-l:24%;--ph-t:78%;--ic-bg:22%;--ic-fg:74%;--shadow:0 1px 2px rgba(0,0,0,.4),0 10px 28px rgba(0,0,0,.45);
}
*{box-sizing:border-box}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.5}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2.5px solid var(--accent);outline-offset:2px}
h1,h2,h3{font-family:var(--display);line-height:1.15;margin:0;text-wrap:balance}
svg.i{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.wrap{max-width:1640px;margin:0 auto;padding-inline:32px}
@media (max-width:520px){.wrap{padding-inline:16px}}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface);font-weight:600;white-space:nowrap}
.btn:hover{border-color:var(--muted)}
.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.btn-primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.btn-sm{height:36px;padding:0 14px;font-size:14px;border-radius:10px}
.btn-cta{background:var(--cta);border-color:var(--cta);color:var(--cta-ink);box-shadow:0 4px 14px color-mix(in srgb,var(--cta) 40%,transparent)}
.btn-cta:hover{background:var(--cta-hover);border-color:var(--cta-hover)}
.btn[disabled]{opacity:.45;cursor:not-allowed}
.btn-text{background:none;border:0;padding:8px 4px;font-weight:600;color:var(--muted)}
.btn-text:hover{color:var(--ink)}
.btn-danger{color:var(--danger)}
.btn-danger.armed{background:var(--danger);border-color:var(--danger);color:var(--surface)}

/* header */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--hdr);color:var(--hdr-ink);box-shadow:0 2px 12px rgba(0,60,35,.18)}
.top-row{display:flex;align-items:center;gap:16px;height:70px}
.top :focus-visible{outline-color:#FFFFFF}
.brand{display:flex;align-items:center;gap:9px;font-family:var(--display);font-weight:800;font-size:22px;letter-spacing:-.02em;white-space:nowrap;background:none;border:0;padding:0;color:var(--hdr-ink)}
.brand-mark{width:34px;height:34px;border-radius:11px;background:#FFFFFF;color:#00A86B;display:grid;place-items:center;transform:rotate(-8deg)}
.brand-mark svg{width:20px;height:20px;stroke-width:2.6}
.search{flex:1;position:relative;min-width:0;max-width:760px}
.search input{width:100%;height:46px;border-radius:12px;border:2px solid transparent;background:#FFFFFF;color:#142019;padding:0 128px 0 44px;font-size:15px}
.search input::placeholder{color:#6B7C73}
.search input:focus{border-color:var(--cta);outline:none}
.search svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#00A86B;width:20px;height:20px}
.hnav{display:flex;gap:2px;margin-left:auto}
.hbtn{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;background:none;border:0;padding:6px 10px;border-radius:10px;font-size:12px;font-weight:600;color:color-mix(in srgb,var(--hdr-ink) 82%,transparent)}
.hbtn:hover,.hbtn[aria-current="page"]{color:var(--hdr-ink);background:rgba(255,255,255,.16)}
.badge{position:absolute;top:2px;right:8px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--danger);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center}
.bnav{display:none}
@media (max-width:760px){
  .top-row{height:auto;flex-wrap:wrap;padding-block:10px;gap:10px}
  .brand{flex:1}
  .search{order:3;flex-basis:100%;max-width:none}
  .hnav{display:none}
  .top .btn-cta{height:40px;padding:0 16px}
  .bnav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;background:var(--surface);border-top:1px solid var(--line);padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px))}
  .bnav .hbtn{flex:1;color:var(--muted)}
  .bnav .hbtn:hover,.bnav .hbtn[aria-current="page"]{color:var(--accent);background:var(--accent-soft)}
  .bnav .hbtn.sell{color:var(--cta)}
  main{padding-bottom:90px!important}
}
body.selling .top,body.selling .bnav{display:none}

main{padding-block:26px 64px}

/* categories */
.cats{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin-bottom:30px}
.cat{min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;background:none;border:0;padding:4px 2px;font-size:13px;font-weight:600;color:var(--ink);text-align:center;line-height:1.25}
.cat .ic{width:100%;max-width:72px;aspect-ratio:1;border-radius:20px;background:hsl(var(--h) 85% var(--ic-bg));display:grid;place-items:center;color:hsl(var(--h) 75% var(--ic-fg));transition:transform .15s,background .15s,box-shadow .15s}
.cat:hover .ic{transform:translateY(-3px)}
.cat[aria-pressed="true"] .ic{background:hsl(var(--h) 80% 46%);color:#FFFFFF;box-shadow:0 6px 16px hsl(var(--h) 80% 40% / .35)}
.cat .ic svg{width:44%;height:44%;stroke-width:2}
@media (max-width:760px){
  .cats{display:flex;overflow-x:auto;scroll-snap-type:x proximity;margin-inline:-16px;padding:0 16px 6px;scroll-padding-inline:16px}
  .cats::after{content:"";flex:0 0 4px}
  .cat{flex:0 0 76px;scroll-snap-align:start}
  .cat .ic{max-width:58px}
}

.res-h{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.res-h h2{font-size:22px;letter-spacing:-.015em;margin-right:auto}
.res-h .count{color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}
.fbtn{border-color:var(--accent);color:var(--price);font-weight:700}
.fbtn svg{width:18px;height:18px}
.fbtn.on{background:var(--accent);color:var(--accent-ink)}
.fbtn-n{background:var(--cta);color:var(--cta-ink);border-radius:999px;font-size:12px;min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 6px}
.active-f{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 18px}
.af{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 8px 0 12px;border-radius:999px;border:0;background:var(--accent-soft);color:var(--price);font-weight:600;font-size:13.5px}
.af svg{width:14px;height:14px;stroke-width:2.6}
.af:hover{background:color-mix(in srgb,var(--accent) 22%,var(--accent-soft))}
.af-clear{background:none;border:0;color:var(--muted);font-weight:600;font-size:13.5px;text-decoration:underline;text-underline-offset:3px;padding:0 4px}
.chip small{font-weight:500;opacity:.65;margin-left:2px}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:480px){.row2{grid-template-columns:1fr}}
.inp{height:44px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface);padding:0 14px;font-size:15px;width:100%;min-width:0}
textarea.inp{height:auto;min-height:100px;padding:12px 14px;resize:vertical}
.inp:focus{border-color:var(--accent);outline:none}

/* filters drawer */
#ov-filters{justify-content:flex-end;padding:0}
.drawer{background:var(--bg);width:100%;max-width:480px;height:100%;display:flex;flex-direction:column;box-shadow:-20px 0 60px rgba(0,0,0,.25)}
.drawer-h{display:flex;align-items:center;gap:12px;padding:16px 20px;background:var(--hdr);color:var(--hdr-ink)}
.drawer-h h2{flex:1;font-size:21px}
.drawer-h .x{background:rgba(255,255,255,.18);color:var(--hdr-ink)}
.drawer-b{flex:1;overflow-y:auto;padding:6px 20px 24px}
.fs{padding:20px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:12px}
.fs:last-child{border-bottom:0}
.fs-h{display:flex;align-items:center;gap:10px}
.fs-h .fi{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:hsl(var(--h) 85% var(--ic-bg));color:hsl(var(--h) 75% var(--ic-fg))}
.fs-h .fi svg{width:18px;height:18px;stroke-width:2}
.fs-h h3{font-size:17px;flex:1}
.fs-h small{color:var(--muted);font-size:13px;font-weight:500}
.ufs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.uf{display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0;padding:8px 10px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface);text-align:left;line-height:1.2}
.uf b{font-family:var(--display);font-weight:800;font-size:16px;color:var(--ink)}
.uf span{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.uf em{font-style:normal;font-size:11px;font-weight:700;color:var(--price);margin-top:2px}
.uf:hover{border-color:var(--accent)}
.uf[aria-pressed="true"]{background:var(--accent);border-color:var(--accent)}
.uf[aria-pressed="true"] b,.uf[aria-pressed="true"] span,.uf[aria-pressed="true"] em{color:var(--accent-ink)}
.uf.all{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}
.sub{display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px}
.sub-l{font-weight:700;font-size:14px}
.sub .hint{margin:0}
.fchips{display:flex;flex-wrap:wrap;gap:8px}
.fchip{height:38px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);background:var(--surface);font-weight:600;font-size:14px}
.fchip:hover{border-color:var(--accent)}
.fchip[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.fchip small{font-weight:500;opacity:.75;margin-left:3px}
.prices{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}
.prices span{color:var(--muted);font-size:14px}
.pw{position:relative}
.pw i{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-style:normal;font-weight:700;color:var(--muted);font-size:14px}
.pw .inp{padding-left:38px;font-weight:700;font-variant-numeric:tabular-nums}
.switch{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:600;cursor:pointer}
.switch input{appearance:none;width:46px;height:28px;border-radius:999px;background:var(--line);position:relative;cursor:pointer;flex:none;transition:background .15s}
.switch input::after{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.switch input:checked{background:var(--accent)}
.switch input:checked::after{transform:translateX(18px)}
.switch small{display:block;color:var(--muted);font-weight:400;font-size:13px}
.drawer-f{display:flex;gap:10px;padding:14px 20px calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:var(--surface)}
.drawer-f .btn-primary{flex:1}
@media (max-width:640px){
  #ov-filters{align-items:flex-end}
  .drawer{max-width:none;height:94%;border-radius:20px 20px 0 0;overflow:hidden}
  .drawer-b{padding-inline:16px}
  .ufs{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* grid + cards */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:28px 20px}
@media (max-width:520px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}}
.card{position:relative;display:flex;flex-direction:column;gap:8px}
.card-hit{position:absolute;inset:0;z-index:1;background:none;border:0;border-radius:14px}
.ph{position:relative;aspect-ratio:1/1;max-width:100%;border-radius:14px;overflow:hidden;background:linear-gradient(145deg,hsl(var(--h) var(--ph-s) var(--ph-l)),hsl(calc(var(--h) + 30) var(--ph-s) calc(var(--ph-l) - 6%)));display:grid;place-items:center;color:hsl(var(--h) 70% var(--ph-t))}
.ph img{width:100%;height:100%;object-fit:cover}
.ph svg{width:34%;height:34%;stroke-width:1.4;opacity:.8}
.card:hover .ph img{transform:scale(1.03)}
.ph img{transition:transform .25s}
.card .price{font-family:var(--display);font-weight:800;font-size:20px;letter-spacing:-.01em;font-variant-numeric:tabular-nums;color:var(--price)}
.card:hover .ph{box-shadow:var(--shadow)}
.card h3{font-family:var(--body);font-weight:500;font-size:15px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card .meta{margin:0;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card .txt{display:flex;flex-direction:column;gap:2px}
.card.sold .ph{filter:grayscale(.9);opacity:.6}
.pill{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:700;background:var(--warn-soft);color:var(--warn)}
.pill.vendido{background:var(--surface-2);color:var(--muted)}
.card .pill{position:absolute;left:8px;top:8px}
.fav{position:absolute;z-index:2;right:8px;top:8px;width:36px;height:36px;border-radius:50%;border:0;background:var(--surface);display:grid;place-items:center;color:var(--muted);box-shadow:0 1px 4px rgba(0,0,0,.12)}
.fav svg{width:19px;height:19px}
.fav[aria-pressed="true"]{color:var(--danger)}
.fav[aria-pressed="true"] svg{fill:currentColor}

.empty{text-align:center;padding:56px 16px;color:var(--muted)}
.empty h3{color:var(--ink);font-size:20px;margin-bottom:6px}
.empty .btn{margin-top:16px}
.notice{background:var(--warn-soft);border-radius:12px;padding:12px 16px;margin-bottom:18px;font-size:14px}
.skel{aspect-ratio:1/1.35;border-radius:14px;background:var(--surface-2);animation:pulse 1.4s ease-in-out infinite}
@keyframes pulse{50%{opacity:.5}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.page-h{margin-bottom:20px}
.page-h h1{font-size:28px;letter-spacing:-.02em}
.page-h p{margin:4px 0 0;color:var(--muted)}

/* rows (mine / inbox) */
.rows{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.row{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line)}
.row:last-child{border-bottom:0}
.row .ph{width:64px;border-radius:10px}
.row .ph svg{width:44%;height:44%}
.row-t{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row-s{color:var(--muted);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row-hit{position:absolute;inset:0;background:none;border:0;z-index:1}
.row-hit:hover{background:color-mix(in srgb,var(--surface-2) 50%,transparent)}
.row-act{position:relative;z-index:2;display:flex;gap:8px;align-items:center}
.row-act select{height:36px;border-radius:10px;border:1.5px solid var(--line);background:var(--surface);padding:0 8px;font-weight:600;font-size:14px}
.row.unread .row-t,.row.unread .row-s{color:var(--ink);font-weight:700}
.row-r{font-size:12.5px;color:var(--muted);text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.dot{width:10px;height:10px;border-radius:50%;background:var(--accent)}
@media (max-width:520px){.row{grid-template-columns:52px minmax(0,1fr)}.row .ph{width:52px}.row-act{grid-column:1/-1}}

/* overlays */
.overlay{position:fixed;inset:0;z-index:50;background:rgba(8,14,11,.55);display:flex;align-items:center;justify-content:center;padding:24px 16px}
.sheet{background:var(--bg);border-radius:20px;width:100%;max-width:940px;max-height:calc(100% - 8px);overflow:auto;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.sheet.narrow{max-width:600px;display:flex;flex-direction:column}
.sheet-h{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:10px;padding:12px 16px;background:var(--bg);border-bottom:1px solid var(--line)}
.sheet-h h2{font-size:17px;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.x{width:38px;height:38px;border-radius:50%;border:0;background:var(--surface-2);display:grid;place-items:center;flex:none}
.x svg{width:18px;height:18px}
.sheet-h .fav{position:static;box-shadow:none;background:var(--surface-2)}
.sheet-b{padding:22px}
@media (max-width:640px){.overlay{padding:0;align-items:flex-end}.sheet{border-radius:20px 20px 0 0;max-height:94%;padding-bottom:env(safe-area-inset-bottom,0px)}.sheet-b{padding:16px}}

.d-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px}
@media (max-width:760px){.d-grid{grid-template-columns:1fr;gap:18px}}
.gal .ph{aspect-ratio:4/3;border-radius:16px}
.thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.thumbs button{width:60px;height:60px;border-radius:10px;overflow:hidden;border:2px solid transparent;padding:0;background:var(--surface-2)}
.thumbs button[aria-pressed="true"]{border-color:var(--accent)}
.thumbs img{width:100%;height:100%;object-fit:cover}
.d-info{display:flex;flex-direction:column;gap:16px;min-width:0}
.d-price{font-family:var(--display);font-weight:800;font-size:32px;color:var(--price);letter-spacing:-.02em;font-variant-numeric:tabular-nums;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.d-title{font-family:var(--body);font-size:19px;font-weight:600;line-height:1.35;margin-top:-10px}
.d-meta{margin:-8px 0 0;color:var(--muted);font-size:14px}
.facts{display:flex;flex-wrap:wrap;gap:8px}
.fact{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:6px 12px;font-size:13.5px}
.fact b{display:block;font-size:11.5px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.d-desc{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.seller{display:flex;align-items:center;gap:12px}
.seller img{width:40px;height:40px;border-radius:50%;background:var(--surface-2)}
.seller small{display:block;color:var(--muted);font-size:13px}
.contact{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:12px}
.contact h3{font-size:17px}
.quick{display:flex;flex-wrap:wrap;gap:8px}
.quick button{border:1.5px solid var(--line);background:var(--bg);border-radius:999px;padding:7px 14px;font-size:14px;font-weight:600}
.quick button:hover{border-color:var(--accent);color:var(--accent)}
.composer{display:flex;gap:8px}
.composer input{flex:1;min-width:0}
.hint{font-size:13px;color:var(--muted);margin:0}
.copyrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px}
.copyrow code{font-family:var(--body);font-weight:700;user-select:all}

/* chat */
.chat-head{display:flex;gap:12px;align-items:center;padding:10px 16px;border-bottom:1px solid var(--line);background:var(--surface)}
.chat-head .ph{width:48px;border-radius:10px;flex:none}
.chat-head .ph svg{width:50%;height:50%}
.chat-head>div{min-width:0;flex:1}
.chat-head b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.chat-head span{font-family:var(--display);font-weight:800}
.msgs{display:flex;flex-direction:column;gap:8px;padding:18px 16px;flex:1;min-height:240px}
.msg{max-width:80%;padding:9px 13px;border-radius:16px;background:var(--surface);border:1px solid var(--line);overflow-wrap:anywhere}
.msg.me{align-self:flex-end;background:var(--accent);color:var(--accent-ink);border-color:var(--accent);border-bottom-right-radius:5px}
.msg.them{align-self:flex-start;border-bottom-left-radius:5px}
.msg.sys{align-self:center;background:var(--accent-soft);color:var(--accent);border:0;font-weight:600;font-size:14px;text-align:center}
.msg time{display:block;font-size:11.5px;opacity:.7;margin-top:2px}
.msg .off{font-family:var(--display);font-weight:800;font-size:20px}
.msg .btn{margin-top:8px}
.chat-foot{position:sticky;bottom:0;background:var(--bg);border-top:1px solid var(--line);padding:12px 16px;display:flex;flex-direction:column;gap:10px}
.offer-row{display:flex;gap:8px}
.offer-row .inp{height:40px;max-width:170px}

/* wizard */
.wiz{max-width:720px;margin:0 auto;display:flex;flex-direction:column;min-height:calc(100vh - 60px)}
.wiz-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.wiz-step{font-size:13.5px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.bar{height:6px;border-radius:99px;background:var(--surface-2);overflow:hidden;margin-bottom:34px}
.bar i{display:block;height:100%;background:var(--accent);border-radius:99px;transition:width .3s}
.wiz-body{flex:1;display:flex;flex-direction:column;gap:22px}
.q{font-size:clamp(26px,4vw,34px);font-weight:800;letter-spacing:-.025em}
.qs{margin:-12px 0 0;color:var(--muted);font-size:16px}
.opts{display:grid;gap:12px}
.opts-cat{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.opts-list{grid-template-columns:1fr}
.opts-2{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.opt{display:flex;align-items:center;gap:14px;text-align:left;background:var(--surface);border:2px solid var(--line);border-radius:16px;padding:16px 18px;font-weight:600;font-size:16px;transition:border-color .12s,background .12s}
.opt:hover{border-color:var(--muted)}
.opt.sel{border-color:var(--accent);background:var(--accent-soft)}
.opt small{display:block;font-weight:400;color:var(--muted);font-size:14px;margin-top:2px}
.opt .oi{width:44px;height:44px;border-radius:12px;background:var(--surface-2);display:grid;place-items:center;flex:none}
.opt.sel .oi{background:var(--accent);color:var(--accent-ink)}
.opts-cat .opt{flex-direction:column;align-items:flex-start;gap:12px;padding:16px}
.opts-cat .opt .oi{background:hsl(var(--h) 85% var(--ic-bg));color:hsl(var(--h) 75% var(--ic-fg))}
.opts-cat .opt.sel .oi{background:hsl(var(--h) 80% 46%);color:#FFFFFF}
.opt .ck{margin-left:auto;width:24px;height:24px;border-radius:7px;border:2px solid var(--line);flex:none;display:grid;place-items:center}
.opt.sel .ck{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.opt .ck svg{width:15px;height:15px;stroke-width:3}
.grp{display:flex;flex-direction:column;gap:10px}
.grp-l{font-weight:700;font-size:15px}
.grp-l small{font-weight:400;color:var(--muted)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{height:40px;padding:0 16px;border-radius:999px;border:1.5px solid var(--line);background:var(--surface);font-weight:600;font-size:14.5px}
.chip:hover{border-color:var(--muted)}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.fld{display:flex;flex-direction:column;gap:7px}
.fld label{font-weight:700;font-size:15px}
.fld label small{font-weight:400;color:var(--muted)}
.big-inp{height:54px;font-size:17px}
.price-wrap{position:relative;max-width:280px}
.price-wrap span{position:absolute;left:16px;top:50%;transform:translateY(-50%);font-weight:700;color:var(--muted);font-size:18px}
.price-wrap .inp{padding-left:50px;font-family:var(--display);font-weight:800;font-size:24px;height:60px;font-variant-numeric:tabular-nums}
.suggest{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;font-size:14.5px;background:var(--accent-soft);border-radius:12px;padding:12px 14px}
.suggest button{border:0;background:var(--accent);color:var(--accent-ink);border-radius:999px;padding:5px 12px;font-weight:700;font-size:13.5px}
.photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
@media (max-width:480px){.photos{grid-template-columns:repeat(2,minmax(0,1fr))}}
.photo{position:relative;aspect-ratio:1;border-radius:14px;overflow:hidden;background:var(--surface-2)}
.photo img{width:100%;height:100%;object-fit:cover}
.photo .rm{position:absolute;right:6px;top:6px;width:28px;height:28px;border-radius:50%;border:0;background:rgba(0,0,0,.6);color:#fff;display:grid;place-items:center}
.photo .rm svg{width:14px;height:14px;stroke-width:2.6}
.photo .cv{position:absolute;left:6px;bottom:6px;font-size:11.5px;font-weight:700;border:0;border-radius:7px;padding:3px 8px;background:rgba(0,0,0,.6);color:#fff}
.photo .cv.on{background:var(--accent);color:var(--accent-ink)}
.drop{aspect-ratio:1;border-radius:14px;border:2px dashed var(--line);background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--muted);font-weight:600;font-size:14px;text-align:center;padding:8px}
.drop:hover,.drop.over{border-color:var(--accent);color:var(--accent)}
.drop svg{width:30px;height:30px}
.tips{margin:0;padding:0 0 0 18px;color:var(--muted);font-size:14px;display:flex;flex-direction:column;gap:4px}
.err{color:var(--danger);font-size:13.5px;font-weight:600;min-height:1em}
.wiz-foot{position:sticky;bottom:0;display:flex;gap:10px;justify-content:space-between;align-items:center;padding:18px 0 calc(18px + env(safe-area-inset-bottom,0px));margin-top:30px;background:var(--bg);border-top:1px solid var(--line)}
.wiz-foot .btn{min-width:130px}
.review{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}
@media (max-width:560px){.review{grid-template-columns:1fr}.review .card{max-width:220px}}
.review .card-hit,.review .fav{display:none}
.sum{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.sum-r{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line);font-size:14.5px}
.sum-r:last-child{border-bottom:0}
.sum-r b{color:var(--muted);font-weight:600;font-size:13px}
.sum-r span{overflow-wrap:anywhere}
.sum-r button{background:none;border:0;color:var(--accent);font-weight:700;font-size:14px;padding:4px}

.toast{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:80;background:var(--ink);color:var(--bg);padding:12px 18px;border-radius:12px;font-weight:600;box-shadow:var(--shadow);max-width:calc(100% - 32px)}
@media (min-width:761px){.toast{bottom:28px}}
/* base (outside the artifact viewer) */
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;display:flex;flex-direction:column}
main{flex:1;width:100%}
img{max-width:100%}
[hidden]{display:none!important}
a{color:var(--price)}

/* account */
.acct{position:relative;display:flex;align-items:center}
.acct-login{height:40px;padding:0 14px;border-radius:12px;border:2px solid rgba(255,255,255,.7);background:transparent;color:var(--hdr-ink);font-weight:700;white-space:nowrap}
.acct-login:hover{background:rgba(255,255,255,.14)}
.acct-me{width:40px;height:40px;border-radius:50%;border:2px solid rgba(255,255,255,.8);padding:0;background:var(--surface-2);overflow:hidden}
.acct-me img{width:100%;height:100%;object-fit:cover}
.acct-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:40;min-width:220px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:8px;display:flex;flex-direction:column}
.acct-menu b{padding:8px 10px 2px;font-size:14px}
.acct-menu small{padding:0 10px 8px;color:var(--muted);font-size:12.5px;border-bottom:1px solid var(--line);margin-bottom:6px;overflow:hidden;text-overflow:ellipsis}
.acct-menu button{text-align:left;background:none;border:0;padding:10px;border-radius:9px;font-weight:600}
.acct-menu button:hover{background:var(--surface-2)}

/* login */
.login .sheet-b{display:flex;flex-direction:column;gap:16px;align-items:stretch;text-align:center;padding:28px 24px 30px}
.login h3{font-size:24px;letter-spacing:-.02em}
.login p{margin:0;color:var(--muted)}
.g-btn{display:flex;align-items:center;justify-content:center;gap:12px;height:50px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface);font-weight:700;font-size:16px}
.g-btn:hover{border-color:var(--muted)}
.g-btn svg{width:22px;height:22px}
.login small{color:var(--muted);font-size:12.5px}

/* report */
.report{display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px}
.report-link{align-self:flex-start;background:none;border:0;padding:0;color:var(--muted);font-size:13.5px;font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* footer */
.foot{border-top:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:13.5px}
.foot-row{display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;align-items:center;padding-block:18px}
.foot nav{display:flex;flex-wrap:wrap;gap:8px 18px}
.foot a{color:var(--muted);font-weight:600;text-decoration:none}
.foot a:hover{color:var(--ink)}
@media (max-width:760px){.foot{padding-bottom:76px}body.selling .foot{display:none}}
body.selling .foot{display:none}

/* legal pages */
.doc-top{background:var(--hdr);color:var(--hdr-ink)}
.doc-top .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;height:64px}
.doc-top a{color:var(--hdr-ink);text-decoration:none;font-weight:700}
.doc{max-width:720px;margin:0 auto;padding:32px 20px 64px;line-height:1.65}
.doc h1{font-size:clamp(28px,4vw,36px);letter-spacing:-.02em;margin-bottom:6px}
.doc h2{font-size:20px;margin:30px 0 8px}
.doc p,.doc li{color:var(--ink)}
.doc ul{padding-left:20px}
.doc .upd{color:var(--muted);font-size:14px;margin:0 0 20px}
.doc .modelo{background:var(--warn-soft);border-radius:12px;padding:12px 16px;font-size:14px;margin-bottom:24px}

/* login with e-mail */
.lg-sep{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}
.lg-sep::before,.lg-sep::after{content:"";flex:1;height:1px;background:var(--line)}
.g-btn svg.i{width:22px;height:22px;color:var(--accent)}
.lg-form{display:flex;flex-direction:column;gap:14px;text-align:left}
.lg-form .fld label{font-size:14px}
.lg-submit{height:50px;font-size:16px}
.lg-link{background:none;border:0;padding:0;color:var(--price);font-weight:700;font-size:inherit;text-decoration:underline;text-underline-offset:3px}
.lg-forgot{align-self:flex-end;font-size:13.5px;margin-top:-6px}
.lg-alt{font-size:14px}
.lg-err{margin:0;color:var(--danger)!important;font-weight:600;font-size:14px;text-align:left}
.lg-info{margin:0;background:var(--accent-soft);color:var(--ink)!important;border-radius:10px;padding:10px 12px;font-size:14px;text-align:left}

/* home: wider layout, banner, location in search */
:root{--hero-1:#00A86B;--hero-2:#12D39C}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--hero-1:#0B4D35;--hero-2:#0E6B49}}
:root[data-theme="dark"]{--hero-1:#0B4D35;--hero-2:#0E6B49}
@media (max-width:520px){.wrap{padding-inline:16px}}
.search-loc{position:absolute;right:6px;top:50%;transform:translateY(-50%);height:34px;display:flex;align-items:center;gap:5px;padding:0 10px 0 12px;border:0;border-left:1px solid #D5E2DA;background:transparent;color:#142019;font-weight:700;font-size:14px;max-width:118px}
.search-loc span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search .search-loc svg{position:static;transform:none;width:18px;height:18px;flex:none;color:#00A86B}
.search .search-loc svg.chev{width:14px;height:14px;color:#566860}
.search-loc:hover{color:#007A4D}
.hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:center;gap:24px;border-radius:22px;padding:36px 48px;margin-bottom:32px;background:linear-gradient(115deg,var(--hero-1) 0%,var(--hero-2) 100%);color:#FFFFFF}
.hero::before{content:"";position:absolute;right:-80px;top:-120px;width:420px;height:420px;border-radius:50%;background:rgba(255,255,255,.10)}
.hero::after{content:"";position:absolute;right:220px;bottom:-160px;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.07)}
.hero-txt{position:relative;z-index:1}
.hero-kicker{display:inline-block;background:rgba(255,255,255,.2);border-radius:999px;padding:5px 12px;font-size:13px;font-weight:700;margin-bottom:14px}
.hero h1{font-size:clamp(26px,2.8vw,40px);font-weight:800;letter-spacing:-.025em;max-width:20ch;color:#FFFFFF}
.hero p{margin:12px 0 22px;font-size:16.5px;line-height:1.5;opacity:.95;max-width:46ch}
.hero-cta{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.hero-cta .btn{height:50px;padding:0 26px;font-size:16px}
.hero-link{color:#FFFFFF;font-weight:600;font-size:14.5px;text-decoration:underline;text-underline-offset:3px}
.hero-art{position:relative;z-index:1;height:200px}
.bub{position:absolute;width:78px;height:78px;border-radius:24px;background:#FFFFFF;display:grid;place-items:center;color:hsl(var(--h) 75% 42%);box-shadow:0 12px 28px rgba(0,50,30,.22);animation:bob 5s ease-in-out infinite}
.bub svg{width:38px;height:38px;stroke-width:1.8}
.bub.b0{left:6%;top:12%;transform:rotate(-8deg)}
.bub.b1{left:30%;top:52%;transform:rotate(6deg);animation-delay:-1s}
.bub.b2{left:48%;top:4%;transform:rotate(-4deg);animation-delay:-2s}
.bub.b3{left:68%;top:48%;transform:rotate(9deg);animation-delay:-3s}
.bub.b4{left:84%;top:6%;transform:rotate(-10deg);animation-delay:-4s}
.bub.b5{left:12%;top:66%;width:58px;height:58px;border-radius:18px;transform:rotate(12deg);animation-delay:-2.5s}
.bub.b5 svg{width:28px;height:28px}
@keyframes bob{50%{translate:0 -8px}}
@media (max-width:900px){.hero{grid-template-columns:1fr;padding:28px 24px}.hero-art{display:none}}
@media (max-width:760px){.search-loc{max-width:96px}.search input{padding-right:104px}}
/* profile */
.pf{display:flex;flex-direction:column;gap:18px}
.pf-top{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.pf-av{width:112px;height:112px;border-radius:50%;object-fit:cover;background:var(--surface-2);border:4px solid var(--surface);box-shadow:0 0 0 2px var(--accent)}
.pf-btns{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.pf-btns svg{width:18px;height:18px}
.pf-tip{background:var(--accent-soft);border-radius:14px;padding:14px 16px;font-size:14px;line-height:1.5}
.pf-tip b{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--price)}
.pf-tip b svg{width:18px;height:18px}
.pf-tip ul{margin:8px 0;padding-left:20px}
.pf-tip p{margin:0;color:var(--muted)}
.pf-foot{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.nudge{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:var(--surface);border:1.5px dashed var(--accent);border-radius:14px;padding:12px 16px;margin-bottom:18px}
.nudge img{width:44px;height:44px;border-radius:50%}
.nudge div{flex:1 1 240px;display:flex;flex-direction:column;font-size:14px}
.nudge span{color:var(--muted)}

/* reCAPTCHA: the floating badge would cover the bottom bar on phones; the required notice is in the footer instead */
.grecaptcha-badge{visibility:hidden}
.recaptcha-note{flex-basis:100%;margin:0;font-size:12px;color:var(--muted)}
.recaptcha-note a{font-weight:500;text-decoration:underline}

/* medium screens: header icons only, so the search bar keeps its room */
@media (max-width:1180px) and (min-width:761px){
  .hnav .hbtn{font-size:0;gap:0;padding:8px 10px}
  .hnav .hbtn svg{width:24px;height:24px}
  .search{min-width:260px}
  .top-row{gap:12px}
}

/* reviews */
.stars{display:inline-block;letter-spacing:1px;font-size:15px;line-height:1;background:linear-gradient(90deg,#FFB400 var(--p),var(--line) var(--p));-webkit-background-clip:text;background-clip:text;color:transparent;vertical-align:-1px}
button.seller{width:100%;text-align:left;font:inherit;color:inherit;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:12px;cursor:pointer}
button.seller:hover{border-color:var(--accent)}
.seller>div{flex:1;min-width:0}
.seller .rep-sum{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.seller .rep-sum b{color:var(--ink)}
.seller-go{font-size:13px;font-weight:700;color:var(--price);white-space:nowrap}
.rev-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#FFF6DB;border:1px solid #F5D77A;border-radius:12px;padding:10px 12px;font-size:14px;color:#3D3314}
.rev-bar svg{width:20px;height:20px;color:#E0A100;fill:#FFB400;flex:none}
.rev-bar span{flex:1 1 200px}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .rev-bar{background:#3A3213;border-color:#6B5A1E;color:#F5E7B8}}
:root[data-theme="dark"] .rev-bar{background:#3A3213;border-color:#6B5A1E;color:#F5E7B8}
.rv{display:flex;flex-direction:column;gap:18px}
.rv-who{display:flex;align-items:center;gap:12px}
.rv-who img{width:48px;height:48px;border-radius:50%;background:var(--surface-2)}
.rv-who small{display:block;color:var(--muted);font-size:13px}
.rv-q{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px 12px}
.rv-stars{display:flex;gap:6px}
.rv-star{width:48px;height:48px;border:0;background:none;padding:2px;color:var(--line);border-radius:10px}
.rv-star svg{width:100%;height:100%;fill:currentColor;stroke:currentColor;stroke-width:1}
.rv-star.on{color:#FFB400}
.rv-star:hover{transform:scale(1.08)}
.rv-word{font-weight:700;color:var(--muted);min-height:1.4em}
.up{display:flex;flex-direction:column;gap:20px}
.up-top{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.up-top h3{font-size:22px}
.up-rep{margin:4px 0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.up-rep .stars{font-size:18px}
.up-h{font-family:var(--display);font-size:17px;margin:0 0 10px}
.bars{display:flex;flex-direction:column;gap:5px;max-width:360px}
.bar-row{display:grid;grid-template-columns:30px 1fr 24px;gap:8px;align-items:center;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.bar-row i{height:8px;border-radius:99px;background:var(--surface-2);overflow:hidden}
.bar-row b{display:block;height:100%;background:#FFB400;border-radius:99px}
.up-ads{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}
.up-ad{display:flex;flex-direction:column;gap:4px;text-align:left;background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer}
.up-ad .ph{border-radius:12px}
.up-ad b{font-family:var(--display);color:var(--price)}
.up-ad span{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.revs{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.rev{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.rev-h{display:flex;align-items:center;gap:10px}
.rev-h img{width:36px;height:36px;border-radius:50%;background:var(--surface-2)}
.rev-h>div{flex:1;min-width:0}
.rev-h small{display:block;color:var(--muted);font-size:12.5px}
.rev p{margin:0;font-size:14.5px;overflow-wrap:anywhere}
.pf-revs{display:inline-flex;align-items:center;gap:6px;color:var(--price);padding:4px 0}
.pf-revs svg{width:16px;height:16px;fill:#FFB400;color:#FFB400}
