/* Outfit font, hosted on our own server (SIL Open Font License, see /fonts/OFL.txt) */
@font-face{font-family:'Outfit';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/outfit-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Outfit';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/outfit-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Outfit';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/outfit-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Outfit';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/outfit-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Outfit';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/outfit-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Outfit';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/outfit-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Outfit';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/outfit-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Outfit';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/outfit-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Outfit';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/outfit-latin-ext-800-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Outfit';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/outfit-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* VOICE: friendly local marketplace, sunny and quick, like a market stall in Alicante
   IDEA: a bright market awning — blue/white stripes over a grid of goods
   PICTURE: the live listing grid itself, with drawn category tiles where no photo exists
   COLOUR and TYPE: Mediterranean blue dominant, white ground, sun-yellow accent; Outfit
   LAYOUT: phone-first app shell, sticky top bar, bottom tab bar, content max 1100px */
:root{color-scheme:light dark;
--bg:light-dark(#ffffff,#0b1722);--panel:light-dark(#f2f6fa,#122333);--ink:light-dark(#0f1b26,#eaf2f8);
--mute:light-dark(#5b6b79,#9fb2c2);--blue:#0b5fa5;--blue2:light-dark(#0b5fa5,#4fa3e6);--sun:#ffc832;--line:light-dark(#dde6ee,#21364a);
--ok:#1d8a52;--bad:#c2372b}
:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}
*{box-sizing:border-box;min-width:0}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 Outfit,system-ui,sans-serif;overflow-x:clip}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--sun);outline-offset:2px}
.top{position:sticky;top:0;z-index:20;background:var(--blue);color:#fff}
.awning{height:10px;background:repeating-linear-gradient(90deg,#fff 0 22px,var(--blue) 22px 44px)}
.bar{max-width:1100px;margin:auto;display:flex;align-items:center;gap:12px;padding:10px max(4vw,14px)}
.logo{font-weight:800;font-size:26px;letter-spacing:-.5px;display:flex;align-items:center;gap:8px;background:none;border:0;color:#fff;padding:0}
.logo svg{width:30px;height:30px}
.bar .sp{flex:1}
.lang{display:flex;background:rgba(255,255,255,.15);border-radius:999px;padding:3px}
.lang button{border:0;background:none;color:#fff;padding:6px 10px;border-radius:999px;font-weight:600;min-height:36px}
.lang button[aria-pressed=true]{background:#fff;color:var(--blue)}
main{max-width:1100px;margin:auto;padding:16px max(4vw,14px) 110px}
.search{display:flex;gap:8px;margin:4px 0 12px}
.search input{flex:1;min-height:48px;border:2px solid var(--line);border-radius:14px;padding:0 14px;background:var(--bg);font-size:16px}
.search select{min-height:48px;border:2px solid var(--line);border-radius:14px;padding:0 10px;background:var(--bg);max-width:40%}
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px;scrollbar-width:none}
.chip{flex:none;border:2px solid var(--line);background:var(--bg);border-radius:999px;padding:7px 14px;font-weight:500;min-height:40px}
.chip[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#fff}
h1{font-size:clamp(26px,5vw,38px);line-height:1.08;margin:8px 0 4px;text-wrap:balance}
h2{font-size:22px;margin:18px 0 10px}
.sub{color:var(--mute);margin:0 0 14px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,168px),1fr));gap:14px}
.card{border:0;background:var(--panel);border-radius:18px;overflow:hidden;text-align:left;padding:0;display:flex;flex-direction:column}
.card .ph{aspect-ratio:1/1;background:var(--line);position:relative}
.card .ph img,.ph svg{width:100%;height:100%;object-fit:cover;display:block}
.card .bd{padding:10px 12px 12px}
.price{font-weight:800;font-size:19px;white-space:nowrap}
.ttl{font-weight:500;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.meta{color:var(--mute);font-size:13px;margin-top:4px}
.tag{position:absolute;left:8px;top:8px;background:var(--sun);color:#1a1300;font-size:12px;font-weight:700;border-radius:8px;padding:2px 8px}
.empty{background:var(--panel);border-radius:18px;padding:28px;text-align:center;color:var(--mute)}
.btn{border:0;background:var(--blue);color:#fff;font-weight:600;border-radius:14px;padding:0 18px;min-height:48px}
.btn.alt{background:var(--panel);color:var(--ink)}
.btn.sun{background:var(--sun);color:#1a1300}
.btn.bad{background:var(--bad)}
.btn[disabled]{opacity:.5;cursor:default}
.back{border:0;background:none;color:var(--blue2);font-weight:600;padding:8px 0;min-height:44px}
.gal{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:18px;background:var(--panel)}
.gal>*{flex:none;width:100%;aspect-ratio:4/3;scroll-snap-align:start}
.gal img{object-fit:contain;width:100%;height:100%}
.det{display:grid;gap:18px}
@media(min-width:860px){.det{grid-template-columns:1.2fr 1fr}}
.desc{white-space:pre-wrap}
.note{font-size:13px;color:var(--mute);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.linkb{border:0;background:none;color:var(--blue2);font-weight:600;padding:4px 0;font-size:13px;min-height:32px}
form.f{display:grid;gap:14px;max-width:620px}
label{font-weight:600;display:grid;gap:6px}
.f input,.f select,.f textarea{min-height:48px;border:2px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--bg);font-weight:400;font-size:16px}
.f textarea{min-height:130px;resize:vertical}
.row2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.thumbs{display:flex;gap:8px;flex-wrap:wrap}
.thumbs div{width:76px;height:76px;border-radius:10px;overflow:hidden;position:relative;background:var(--panel)}
.thumbs img{width:100%;height:100%;object-fit:cover}
.thumbs button{position:absolute;right:2px;top:2px;border:0;border-radius:50%;width:24px;height:24px;background:rgba(0,0,0,.6);color:#fff;font-size:14px;line-height:1}
.addph{border:2px dashed var(--line);border-radius:12px;min-height:76px;display:flex;align-items:center;justify-content:center;color:var(--mute);font-weight:600;cursor:pointer;padding:10px}
.addph input{display:none}
.list{display:grid;gap:8px}
.li{display:flex;gap:12px;align-items:center;border:0;background:var(--panel);border-radius:14px;padding:10px;text-align:left;width:100%}
.li .ic{width:52px;height:52px;border-radius:10px;overflow:hidden;flex:none;background:var(--line)}
.li .ic img,.li .ic svg{width:100%;height:100%;object-fit:cover}
.li .tx{flex:1}
.li b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.li small{color:var(--mute);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.thread{display:flex;flex-direction:column;gap:8px;min-height:50vh;padding:8px 0 90px}
.msg{max-width:80%;padding:9px 13px;border-radius:16px;background:var(--panel);align-self:flex-start}
.msg.me{align-self:flex-end;background:var(--blue);color:#fff}
.msg .o{font-size:12px;opacity:.75;margin-top:4px;display:flex;gap:6px;align-items:center}
.msg .o button{border:0;background:none;color:inherit;text-decoration:underline;padding:0;font-size:12px}
.compose{position:fixed;left:0;right:0;bottom:64px;background:var(--bg);border-top:1px solid var(--line);z-index:15}
.compose form{max-width:1100px;margin:auto;display:flex;gap:8px;padding:10px max(4vw,14px)}
.compose input{flex:1;min-height:48px;border:2px solid var(--line);border-radius:14px;padding:0 14px;background:var(--bg);font-size:16px}
.tabs{position:fixed;bottom:0;left:0;right:0;background:var(--bg);border-top:1px solid var(--line);z-index:20;padding-bottom:env(safe-area-inset-bottom)}
.tabs nav{max-width:600px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr)}
.tabs button{border:0;background:none;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:12px;font-weight:600;color:var(--mute)}
.tabs button svg{width:24px;height:24px}
.tabs button[aria-current=page]{color:var(--blue2)}
.tabs .sell span.dot{background:var(--sun);color:#1a1300;border-radius:12px;width:44px;height:30px;display:flex;align-items:center;justify-content:center}
.toast{position:fixed;left:50%;bottom:150px;transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:10px 16px;border-radius:12px;z-index:50;font-weight:500;max-width:90vw;text-align:center}
.stat{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-bottom:14px}
.stat div{background:var(--panel);border-radius:14px;padding:12px}
.stat b{font-size:28px;display:block}
.demo{font-size:12px;color:var(--mute);margin-top:18px}
@media(prefers-reduced-motion:no-preference){.card{transition:transform .15s}.card:hover{transform:translateY(-2px)}}
.auth{max-width:420px;margin:10px auto}
.auth .sw{display:flex;gap:6px;background:var(--panel);border-radius:14px;padding:4px;margin-bottom:14px}
.auth .sw button{flex:1;border:0;background:none;border-radius:10px;min-height:44px;font-weight:600}
.auth .sw button[aria-pressed=true]{background:var(--bg);color:var(--blue2)}
.err{color:var(--bad);font-weight:500;min-height:1.4em}
.userbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.writer{background:var(--panel);border-radius:14px;padding:12px 14px;border:2px solid var(--sun)}
.writer .search input{min-height:44px}
.writer .btn{min-height:44px;white-space:nowrap}
@media(max-width:420px){.lang button{padding:6px 7px}.logo{font-size:22px}}
.writer .search{flex-wrap:wrap}
.writer .search input{flex:1 1 220px}
.writer .search .btn{flex:1 1 auto}
.buybox{background:var(--panel);border-radius:16px;padding:14px 16px;margin:14px 0;max-width:620px}
.buybox .brow{display:flex;justify-content:space-between;gap:12px;padding:3px 0}
.buybox .brow span:last-child{white-space:nowrap}
.buybox .tot{font-weight:700;border-top:1px solid var(--line);margin-top:4px;padding-top:8px}
.buybox .tot:first-child{border-top:0;margin-top:0;padding-top:0}
.tag.safe{background:var(--blue);color:#fff;left:auto;right:8px}
details summary{cursor:pointer;list-style:none}

.sizes{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.szo{position:relative;cursor:pointer}
.szo input{position:absolute;opacity:0;pointer-events:none}
.szo span{display:flex;flex-direction:column;gap:2px;border:2px solid var(--line);border-radius:12px;padding:10px 12px;min-height:64px;background:var(--bg)}
.szo small{opacity:.75}
.szo em{font-style:normal;font-weight:600}
.szo input:checked+span{border-color:var(--blue);box-shadow:0 0 0 2px var(--blue) inset}
.szo input:focus-visible+span{outline:3px solid var(--blue);outline-offset:2px}

.pask{position:fixed;inset:0;background:rgba(10,20,40,.45);display:flex;align-items:flex-end;justify-content:center;z-index:60;padding:16px}
.pask .pbox{background:#fff;border-radius:20px;padding:22px 20px 16px;max-width:420px;width:100%;display:grid;gap:10px;text-align:center;box-shadow:0 10px 40px rgba(0,0,0,.2)}
.pask .pic{font-size:34px}
.pask p{margin:0;color:var(--mute);font-size:15px}
@media(min-width:700px){.pask{align-items:center}}

.legal a{color:var(--blue)}
.note.legal{margin-top:10px}
.delacc{margin:28px 0 6px;max-width:620px}
.delacc summary{cursor:pointer;color:var(--bad);font-weight:600}
.delacc .f{margin-top:10px}
