body{background:#08090b;background-image:radial-gradient(ellipse at 95% 0%,#8658f00a,transparent 48%);--purple:#c5ff43}
.topbar{width:calc(100% - 64px);max-width:1450px;margin:18px auto 30px;border:1px solid #ffffff16;border-radius:40px;height:70px;top:16px;background:linear-gradient(115deg,#c5ff4307,#ffffff04 45%,#9865ef07),#141518e8;backdrop-filter:blur(12px);box-shadow:0 12px 35px #0006;gap:20px;padding:0 24px;z-index:10}
.topbar nav button.selected{background:linear-gradient(#ffffff0b,#ffffff03);border-radius:16px;color:#c5ff43;border-bottom:3px solid #c5ff43}
.topbar nav{min-width:0;overflow-x:auto}.topbar nav button{white-space:nowrap}
.contextbar{display:none}main{max-width:1800px;margin:0 auto;padding:0 28px}
.feed-view .intro{display:flex;align-items:center;gap:24px;margin:0 0 30px;padding:8px 0}
.feed-view .intro h1{font-size:30px;line-height:1.2;margin:0 0 8px}
.feed-view .intro p{margin:0;color:#adb0ba;font-size:14px}
.feed-view .intro .eyebrow,.feed-view .intro-actions,.feed-view .toolbar,.feed-view .metrics,.feed-view .collector-bar{display:none!important}
.feed-controls{margin-left:auto;display:flex;gap:26px;align-items:center}
.feed-counter{border:1px solid #ffffff22;border-radius:12px;padding:9px 14px;white-space:nowrap;background:linear-gradient(130deg,#ffffff08,#ffffff02);box-shadow:0 0 12px #ffffff06}
.feed-counter b{color:#c5ff43;font-size:18px;margin-right:5px}
.feed-status{font-size:13px;color:#c5ff43;white-space:nowrap}
.feed-visibility{position:relative}.feed-visibility summary{list-style:none;cursor:pointer;padding:11px 16px;background:linear-gradient(#ffffff09,#ffffff02);border:1px solid #ffffff27;border-radius:12px;white-space:nowrap}
.feed-visibility-panel{position:absolute;right:0;top:48px;z-index:12;width:340px;max-width:85vw;padding:14px;border:1px solid #c5ff4330;border-radius:20px;background:linear-gradient(130deg,#c5ff4306,#a070ff06),#111216f5;box-shadow:0 16px 40px #0009;backdrop-filter:blur(14px)}
.feed-visibility-panel small{display:block;color:#9ba0ac;margin-bottom:10px}
.feed-visibility-panel [data-filter-row]{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #ffffff0a}
.filter-name{flex:1;overflow-wrap:anywhere}.muted-filter{color:#7e8390}
.feed-visibility-panel button{padding:4px 6px;background:none;border:0;color:inherit}
.feed-view .grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.feed-card{background:linear-gradient(145deg,#ffffff04,#ffffff01),#111216;border:1px solid #ffffff19;border-radius:20px;overflow:hidden;position:relative;transition:border-color .18s,box-shadow .18s}
.feed-card:hover,.feed-card:focus-visible{border-color:#a36cff;box-shadow:0 0 18px #a36cff18}
.feed-card .art{height:250px}.feed-card .listing-image{width:100%;height:100%;object-fit:cover}
.feed-card .details{padding:14px}.feed-card h3{font-size:14px;margin:8px 0}
.feed-card .feed-prices{align-items:flex-start;gap:3px;flex-direction:column}
.feed-card .feed-prices small{font-size:11px;color:#949aa6}
.feed-tags span{border-radius:20px;background:#ffffff07;border:1px solid #ffffff15}
.feed-card .card-bottom{display:none}.feed-seller{font-size:11px}
.vinted-open-button{border-radius:10px!important;background:#c5ff4309!important;border-color:#c5ff4325!important}
#product-preview{position:fixed;inset:100px 18px 18px auto;margin:0;width:460px;max-width:calc(100vw - 30px);max-height:calc(100vh - 118px);border:1px solid #a070ff44;border-radius:22px;background:radial-gradient(ellipse at top right,#9c72f512,transparent 55%),#101115;padding:20px;box-shadow:0 0 24px #9c72f50a}
#product-preview::backdrop{background:#0002}
#product-preview .preview-layout{display:flex;flex-direction:column;gap:18px}
#product-preview .preview-main-photo{max-height:42vh;width:100%;object-fit:contain;border-radius:14px}
#product-preview .preview-info h2{font-size:24px}
#product-preview .preview-hint{display:none}
#product-preview .feed-prices>strong{color:#c5ff43}
body:has(#product-preview[open]) main{margin-right:500px}
.primary{background:#c5ff43;border-color:#c5ff43;color:#121708;box-shadow:0 0 18px #c5ff4314}
@media(max-width:1100px){.topbar{width:calc(100% - 24px);padding:0 16px;gap:12px}.feed-controls{gap:12px}.feed-status{display:none}body:has(#product-preview[open]) main{margin-right:0}}
@media(max-width:750px){.topbar{height:auto;border-radius:26px;padding:12px 16px;top:8px;margin-top:8px}.topbar nav{padding:8px 0 0}.feed-view .intro{flex-wrap:wrap;gap:16px}.feed-controls{margin-left:0;width:100%;justify-content:space-between}main{padding:0 14px}.feed-view .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.feed-card .art{height:180px}.feed-card .details{padding:10px}.feed-card .feed-seller{flex-wrap:wrap}#product-preview{inset:12px;max-height:calc(100dvh - 24px);width:auto;max-width:none}}
@media(max-width:400px){.feed-view .grid{grid-template-columns:1fr}}
.feed-card .vinted-open-button{color:#c5ff43!important;text-decoration:none;box-shadow:none!important}
.feed-controls #collect{width:32px;height:32px;padding:0;border:1px solid #ffffff18;border-radius:50%;background:#ffffff05;color:#c5ff43}
.feed-counter{margin-right:auto}
@media(prefers-reduced-motion:reduce){.feed-card,.primary{transition:none}}
.feed-controls #new-filter{display:inline-flex!important;align-items:center;white-space:nowrap;padding:10px 15px;border-radius:12px;background:#c5ff43;color:#13190a;border:1px solid #c5ff43;font-weight:700}
.feed-view .intro-actions{display:none!important}
.feed-view .intro{align-items:center}
.feed-card .art{position:relative;background:linear-gradient(145deg,#18191d,#0c0d0f)}
.feed-card .art:after{content:"";position:absolute;inset:auto 0 0;height:15%;background:linear-gradient(transparent,#0003);pointer-events:none}
.feed-card .save{z-index:1}
.feed-counter,.feed-visibility summary{backdrop-filter:blur(8px)}
@media(max-width:750px){
 .topbar{height:58px;min-height:58px;flex-wrap:nowrap;gap:10px;padding:0 12px;border-radius:30px;overflow:hidden}
 .topbar .logo{display:flex!important;align-items:center;font-size:18px;flex:0 0 auto}
 .topbar nav{order:0!important;width:auto!important;flex:1 1 auto!important;min-width:0;padding:0;display:flex;flex-wrap:nowrap;gap:3px;overflow-x:auto;scrollbar-width:none}
 .topbar nav::-webkit-scrollbar{display:none}
 .topbar nav button{flex:0 0 auto;padding:0 9px;height:38px;font-size:12px}
 .topbar nav button span{display:inline}
 .topbar nav button small,.topbar .header-end{display:none!important}
 .feed-view .intro{margin-bottom:18px;padding-top:8px}
 .feed-view .intro h1{font-size:25px}
 .feed-controls{gap:7px}
 .feed-counter{padding:8px 10px;font-size:12px}
 .feed-counter b{font-size:16px}
 .feed-status{display:none}
 .feed-controls #collect{flex:0 0 30px}
 .feed-controls #new-filter{padding:9px 10px;font-size:12px}
 .feed-visibility summary{padding:9px 10px;font-size:12px}
 .feed-view .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .feed-card{border-radius:15px}
 .feed-card .art{height:clamp(140px,38vw,205px)}
 .feed-card .details{padding:10px}
 .feed-card .feed-prices>strong{font-size:20px}
 .feed-card .feed-prices small{font-size:10px}
 .feed-card .feed-tags{gap:4px}
 .feed-card .feed-tags span{font-size:9px;padding:3px 6px}
 .feed-card .vinted-open-button{padding:8px 5px!important;font-size:10px!important}
}
@media(max-width:390px){
 .topbar .logo .brand-word{font-size:0}.topbar .brand-slot{width:30px;height:30px}
 .topbar nav button{padding:0 7px;font-size:11px}
 .feed-view .grid{grid-template-columns:1fr}
 .feed-card .art{height:220px}
}
/* Feed canvas and persistent item detail panel */
.feed-view #content.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:14px}
.feed-view .intro{min-height:66px}
.feed-view .intro h1{font-size:28px;letter-spacing:-.035em}
.feed-view .intro p{color:#a7a8b0}
.feed-view .feed-controls{gap:14px}
.feed-view .feed-counter{min-width:122px;text-align:center}
.feed-view .feed-card{min-width:0;border-radius:16px}
.feed-view .feed-card .art{height:clamp(180px,20vw,280px);overflow:hidden}
.feed-view .feed-card .listing-image{transition:transform .28s ease}
.feed-view .feed-card:hover .listing-image{transform:scale(1.025)}
.feed-view .feed-card .details{padding:12px}
.feed-view .feed-card .feed-prices>strong{color:#f3f4f2}
.feed-view .feed-card .feed-tags{margin:8px 0}
.feed-view .feed-card .feed-tags span{border-radius:999px;padding:4px 9px}
.feed-view .feed-card .feed-seller{padding:9px 0}
#product-preview[open]{position:fixed;inset:94px 20px 20px auto;margin:0;width:min(440px,calc(100vw - 32px));max-width:none;max-height:none;height:auto;overflow:auto;padding:20px;border-radius:20px;border:1px solid #a070ff43;background:radial-gradient(ellipse at 95% 0%,#9c72f514,transparent 45%),#101115;box-shadow:0 18px 55px #0009,0 0 22px #9c72f50a}
#product-preview[open]::backdrop{background:#0003;backdrop-filter:blur(2px)}
#product-preview #preview-close{float:none;position:absolute;right:14px;top:10px;border:0;background:#111a;border-radius:50%;width:34px;height:34px;color:#e9e9ee;font-size:22px}
#product-preview .preview-layout{display:flex;flex-direction:column;gap:12px}
#product-preview .preview-main-photo{height:clamp(190px,28vh,280px);background:#0a0b0c;border-radius:14px}
#product-preview .preview-thumbs img{width:62px;height:66px;border-radius:8px}
#product-preview .preview-info h2{font-size:22px;line-height:1.25;margin:6px 0 10px}
#product-preview .preview-info .feed-prices{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
#product-preview .preview-info .feed-prices>strong{color:#c5ff43;font-size:30px}
#product-preview .preview-info .feed-prices small{color:#aaadb5}
#product-preview .preview-info .feed-tags span{border-radius:999px}
#product-preview .preview-info .feed-seller{margin-top:10px;padding:13px 0}
#product-preview .preview-info>a{display:inline-flex;align-items:center;justify-content:center;width:100%;background:#c5ff43;color:#101408;border-radius:10px;padding:12px;font-weight:700}
#product-preview #preview-estimate{width:100%;border-radius:10px;margin-top:4px}
#product-preview .preview-status,#product-preview .preview-hint{display:none}
@media(min-width:1101px){
 body:has(#product-preview[open]) main{width:calc(100% - 480px);max-width:1800px;margin-left:28px;margin-right:452px}
 body:has(#product-preview[open]) .feed-view #content.grid{grid-template-columns:repeat(3,minmax(190px,1fr))}
}
@media(max-width:1100px){
 .feed-view #content.grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #product-preview[open]{inset:78px 12px 12px auto;width:min(440px,calc(100vw - 24px))}
}
@media(max-width:750px){
 .feed-view #content.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .feed-view .feed-card .art{height:clamp(140px,38vw,205px)}
 #product-preview[open]{inset:12px;width:auto}
 #product-preview .preview-main-photo{height:32vh}
}
