/* ===== D2 "קווים רכים" (soft lines). Loaded last. =====
   Full-width colour fields meet at waves instead of straight edges; soft brand-tone forms (a lighter navy moon, a
   turquoise stage); an asymmetric rhythm that swaps sides from section to section. Heebo only. Navy #0c2d62,
   turquoise #0bd3b5; text on turquoise is navy. Each wave belongs to the field below it and is drawn in that field's
   colour, so a section that is hidden never leaves a mismatched edge. Presentation only: no text, logic or flow. */
:root{
 --navy:#0c2d62;--navy-2:#17407f;--tq:#0bd3b5;--ground:#eef2f8;--pale:#dcf6f1;--tone:#eef2f7;
 --soft-wave:clamp(44px,7vw,112px);
 --soft-blob:46% 54% 42% 58% / 52% 44% 56% 48%;
 --soft-blob-2:58% 42% 52% 48% / 46% 56% 44% 54%;
 --soft-ease:cubic-bezier(.2,.8,.2,1);
 --w1:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,64 C240,120 420,10 720,48 C1020,86 1200,120 1440,40 L1440,121 L0,121 Z'/%3E%3C/svg%3E");
 --w2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,90 C260,20 520,30 760,70 C1020,112 1240,96 1440,30 L1440,121 L0,121 Z'/%3E%3C/svg%3E");
 --w3:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C220,100 520,110 780,60 C1040,12 1260,30 1440,80 L1440,121 L0,121 Z'/%3E%3C/svg%3E");
 --w4:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C260,120 540,0 820,40 C1100,80 1280,110 1440,50 L1440,121 L0,121 Z'/%3E%3C/svg%3E");
 --w5:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,80 C300,0 640,120 980,50 C1180,10 1320,30 1440,60 L1440,121 L0,121 Z'/%3E%3C/svg%3E");
 --w6:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,70 C300,10 560,110 860,60 C1120,18 1300,40 1440,80 L1440,121 L0,121 Z'/%3E%3C/svg%3E");
}
/* Browser surfaces in the palette. */
::selection{background:#bff3ea;color:var(--navy)}
:focus-visible{outline-color:var(--tq)}

/* ============================== Home ============================== */
body.is-home #app{overflow-x:clip}
/* Sections keep their own stacking order, so a later field's wave lies over the field before it. */
body.is-home #app>section{position:relative}
body.is-home #app>section+section,body.is-home .site-footer{isolation:isolate}

/* The header over the hero: the same navy field until the page moves (then the usual light bar). */
@media(min-width:621px){
 body.is-home:not(.search-docked)>header:not(.compact){background:var(--navy)!important;-webkit-backdrop-filter:none;backdrop-filter:none;transition:background-color 240ms ease}
 body.is-home:not(.search-docked)>header:not(.compact) .logo img:not(.logo-on-dark):not(.logo-mark){display:none}
 body.is-home:not(.search-docked)>header:not(.compact) .logo .logo-on-dark{display:block;width:124px;height:auto}
 body.is-home:not(.search-docked)>header:not(.compact) :is(.home-nav a,.menu-toggle,#search-toggle,#inbox-btn){color:#fff}
 body.is-home:not(.search-docked)>header:not(.compact) .home-nav a:hover{background:rgba(255,255,255,.1);color:#fff}
 body.is-home:not(.search-docked)>header:not(.compact) #account:not(.has-user){background:rgba(255,255,255,.12)!important;color:#fff!important}
 body.is-home:not(.search-docked)>header:not(.compact) #account.has-user{color:#fff}
}
@media(max-width:620px){
 body.is-home>header:not(.compact):not(.search-open){background:var(--navy)!important;-webkit-backdrop-filter:none;backdrop-filter:none}
 body.is-home>header:not(.compact):not(.search-open) .logo img:not(.logo-on-dark){display:none}
 body.is-home>header:not(.compact):not(.search-open) .logo .logo-on-dark{display:block;width:104px;height:auto}
 /* The navy-and-turquoise mark disappears on the navy hero header: show its white-and-turquoise version there. */
 body.is-home>header:not(.compact):not(.search-open) .logo img.logo-mark{content:url(/mark-on-dark.png)}
 body.is-home>header:not(.compact):not(.search-open) :is(.menu-toggle,#search-toggle,#inbox-btn,#account){color:#fff}
 body.is-home>header:not(.compact):not(.search-open) #account:not(.has-user){background:rgba(255,255,255,.12)!important;color:#fff!important}
}

/* ---------- Hero: the copy on the start side, the listing resting on a turquoise form on the other ---------- */
/* overflow:clip, not hidden: a hidden box is a scroll container, and the hero opened scrolled sideways (a layout shift). */
body.is-home .home-hero.band{background:var(--navy)!important;overflow:clip!important;isolation:isolate}
/* The lighter navy moon behind the headline. */
body.is-home .home-hero.band::before{content:""!important;display:block!important;position:absolute;z-index:-1;width:min(820px,70vw);aspect-ratio:1;top:-30%;inset-inline-start:-14%;background:var(--navy-2);border-radius:var(--soft-blob);pointer-events:none}
.home-hero.has-stage.band{padding:56px 0 calc(var(--soft-wave) + clamp(64px,7vw,110px))!important}
.home-hero.has-stage h1{font-weight:800!important;letter-spacing:-.035em!important;line-height:.98!important;font-size:clamp(48px,6.2vw,100px)!important;color:#fff!important}
.home-hero.has-stage .hero-sub{color:#fff!important;font-size:var(--fs-t)!important;line-height:1.45!important;max-width:30ch!important}
.home-hero.has-stage .hero-sub-more{color:#d6deec!important;font-size:var(--fs-b)!important;max-width:44ch!important}
.home-hero .hero-search{border-radius:999px!important;padding:6px!important}
.home-hero .hero-search button{border-radius:999px!important;background:var(--navy)!important;color:#fff!important;font-weight:700!important;min-height:48px;padding:0 26px!important}
@media(hover:hover){.home-hero .hero-search button:hover{background:var(--navy-2)!important}}
.home-hero .why-line li .ic{color:var(--tq)}
.home-hero .why-line li{color:#fff}
.home-hero .hero-ctas .cta,.home-hero .hero-ghost{min-height:56px!important;padding:0 30px!important;font-size:var(--fs-b)!important;font-weight:700!important}
.home-hero .hero-activity{color:#d6deec!important;min-height:29px} /* the live line arrives after the page: its room is kept */
@media(min-width:901px){
 .home-hero.has-stage .hero-in{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;grid-template-areas:"title stage" "copy stage"!important;align-items:end!important;row-gap:22px!important;column-gap:clamp(24px,4vw,72px)!important}
 .home-hero.has-stage .hero-in>h1{align-self:end}
 .home-hero.has-stage .hero-copy{align-self:start}
}

/* The stage: the front listing's photo in a soft organic frame, standing on the turquoise form; its price, title and
   time beside it in large white type on the navy. The other listings wait behind it and take its place in turn. */
.home-hero .stage{overflow:visible!important;border-radius:0!important;height:clamp(460px,40vw,580px)!important;align-self:start}
.stage-floor{position:absolute;z-index:0;fill:var(--tq);pointer-events:none;width:96%;height:46%;inset-inline-end:-8%;bottom:-6%}
.stage-floor-shadow{position:absolute;z-index:1;pointer-events:none;width:46%;height:7%;inset-inline-end:20%;bottom:13%;border-radius:50%;background:rgba(4,20,48,.38);filter:blur(14px)}
.home-hero .stage-track{position:absolute;inset:0;z-index:2}
.home-hero .stage-card{position:absolute!important;inset:0!important;left:0!important;top:0!important;width:100%!important;height:100%!important;transform:none;background:transparent!important;border-radius:0!important;overflow:visible!important;box-shadow:none!important;color:#fff!important;display:block!important}
.home-hero .stage-card::after{display:none!important}
/* The photo sits below the price and title block (they never overlap, even with a two-line title). */
.home-hero .sc-pic{position:absolute!important;width:53%;aspect-ratio:1/1!important;inset-inline-end:13%;bottom:5%;border-radius:var(--soft-blob);overflow:hidden;background:#e9edf3!important}
.home-hero .sc-pic img{object-fit:cover!important;padding:0!important}
/* A photo without its background floats on the turquoise form: no frame, the product's own outline and a soft shadow. */
.home-hero .sc-pic.cut{background:transparent!important;border-radius:0!important;overflow:visible!important}
.home-hero .sc-pic.cut img{object-fit:contain!important;filter:drop-shadow(0 26px 22px rgba(4,16,42,.45)) drop-shadow(0 4px 6px rgba(4,16,42,.25))}
.home-hero .sc-body{position:absolute!important;inset-inline-start:0;top:4%;width:42%;display:flex!important;flex-direction:column;align-items:flex-start;gap:2px;padding:0!important;text-align:start;z-index:3;opacity:1}
.home-hero .sc-line{display:contents!important}
.home-hero .sc-line .price{order:1;font-size:clamp(36px,3.2vw,48px)!important;font-weight:800!important;letter-spacing:-.03em;line-height:1!important;color:#fff!important}
.home-hero .sc-title{order:2;font-size:var(--fs-b)!important;font-weight:600!important;color:#fff!important;min-height:0!important;margin-top:8px;-webkit-line-clamp:2}
.home-hero .sc-left{order:3;margin:0!important;color:#d6deec!important;font-size:var(--fs-b)!important}
.home-hero .sc-left .tl,.home-hero .sc-left .timer{color:#d6deec!important;font-size:var(--fs-b)!important}
.home-hero .sc-left .timer.red{color:#fff!important}
.home-hero .sc-bids{order:4;color:var(--tq)!important;font-size:var(--fs-b)!important}
.home-hero .stage-card:focus-visible{outline:none}
.home-hero .stage-card:focus-visible .sc-pic{outline:3px solid #fff;outline-offset:6px}
.home-hero .stage-pause{top:2%!important;bottom:auto!important;inset-inline-end:2%!important}
@media(min-width:901px){
 /* One listing at a time: the others cross-fade in when the stage moves on (the stage's own timing). */
 /* Waiting listings stay focusable (a focused one comes to the front, market.js); only the pointer passes through them. */
 .home-hero .stage-card{opacity:0!important;pointer-events:none;transition:opacity 700ms var(--soft-ease)!important}
 .home-hero .stage-card.front{opacity:1!important;pointer-events:auto}
 .home-hero .stage-card .sc-pic{transform:scale(.94);transition:transform 900ms var(--soft-ease)}
 .home-hero .stage-card.front .sc-pic{transform:none}
 .home-hero .stage-card:not(.front) .sc-body{display:flex!important}
 .home-hero .stage:not(.ready) .stage-card{opacity:0!important}
 .home-hero .stage:not(.ready) .stage-card:first-child{opacity:1!important}
}
@media(min-width:901px) and (hover:hover){.home-hero .stage-card.front:hover .sc-pic img{transform:scale(1.04)}}

/* Tablets and phones: the swipe deck stays (each listing a slide on the same turquoise form). */
@media(max-width:900px){
 .home-hero .stage{height:auto!important;margin-top:56px!important;padding-bottom:8%}
 .stage-floor{width:118%;height:52%;inset-inline-end:-24%;bottom:-2%}
 .stage-floor-shadow{display:none}
 .home-hero .stage-track{position:relative!important;inset:auto;display:flex!important;gap:16px!important;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 12px!important;margin-inline:calc(-1*var(--gutter));padding-inline:var(--gutter)!important;scroll-padding-inline:var(--gutter)}
 .home-hero .stage-card{position:relative!important;inset:auto!important;flex:0 0 84%!important;height:auto!important;display:flex!important;flex-direction:column;gap:14px;scroll-snap-align:start}
 .home-hero .sc-body{position:static!important;width:auto;order:-1}
 .home-hero .sc-line .price{font-size:clamp(36px,10vw,48px)!important}
 .home-hero .sc-pic{position:relative!important;inset:auto!important;width:72%!important;align-self:center;bottom:auto}
 /* The tag sits at the card's far side, so the next card that peeks in from the left shows its photo, never cut text. */
 .home-hero .sc-body{align-self:flex-end;max-width:84%}
}

/* ---------- Recently sold: the heading on the far side, the objects on a gentle arc ---------- */
body.is-home .sold-band.band{background:var(--ground)!important;padding:clamp(40px,4vw,64px) 0 clamp(120px,10vw,170px)!important}
body.is-home .sold-band .home-h2{font-weight:800!important;font-size:clamp(30px,2.8vw,42px)!important;letter-spacing:-.025em!important;color:var(--navy)}
body.is-home .sold-band .sold-pic{border-radius:50%!important;background:#fff!important;overflow:hidden;aspect-ratio:1!important;width:min(170px,100%)!important;margin:0 auto 14px!important;height:auto!important;flex:none}
body.is-home .sold-band .sold-pic img{object-fit:cover!important;padding:0!important;width:100%;height:100%}
body.is-home .sold-band .sold-pic .product-illustration{width:58%!important}
@media(min-width:901px){
 body.is-home .sold-band .wrap{grid-template-columns:minmax(0,3.6fr) minmax(0,8.4fr)!important}
 body.is-home .sold-band .home-h2{font-size:clamp(28px,2.5vw,38px)!important}
 body.is-home .sold-band .sold-list{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:28px!important}
 body.is-home .sold-band .sold-list li a{align-items:center!important;text-align:center}
 body.is-home .sold-band .sold-list li:nth-child(n+5){display:none}
 /* Long names wrap inside their own column (two lines at most) instead of running into the next item. */
 body.is-home .sold-band .sold-list li{min-width:0}
 body.is-home .sold-band .sold-list li a{min-width:0;width:100%}
 body.is-home .sold-band .sold-title{max-width:100%;white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}
}
@media(max-width:900px){
 body.is-home .sold-band .sold-list{grid-template-columns:1fr 1fr!important;gap:34px 16px!important}
 body.is-home .sold-band .sold-list li{min-width:0}
 body.is-home .sold-band .sold-list li a{display:flex!important;flex-direction:column;align-items:center!important;text-align:center;gap:2px}
 body.is-home .sold-band .sold-pic{width:min(136px,100%)!important}
 body.is-home .sold-band :is(.sold-title,.sold-price,.muted.small){grid-column:auto!important;justify-content:center;max-width:100%}
 body.is-home .sold-band .sold-title{white-space:normal!important;text-overflow:clip!important;overflow:visible!important;line-height:1.3}
}

/* ---------- Live listings: the cards stay as they are; the middle column sits lower ---------- */
body.is-home .picks.band{background:#fff!important;padding:clamp(32px,4vw,72px) 0 clamp(150px,13vw,200px)!important}
body.is-home .home-h2{font-weight:800!important;font-size:clamp(32px,3.2vw,48px)!important;letter-spacing:-.025em!important;line-height:1.08!important;color:var(--navy)}
body.is-home .picks .sectionhead{margin-bottom:36px!important;align-items:baseline}
@media(min-width:901px){
 body.is-home .grid-lite{column-gap:30px!important;row-gap:48px!important}
 body.is-home .picks .more-row{margin-top:56px!important}
}
@media(max-width:620px){
 body.is-home .grid-lite{grid-template-columns:minmax(0,1fr)!important;row-gap:40px!important}
}
body.is-home .picks .more-row .buy{min-height:56px;padding:0 30px;font-size:var(--fs-b);font-weight:700;border-radius:999px}

/* ---------- How it works: the live video on the start side inside an organic form, the steps beside it ---------- */
body.is-home .how3.how-scene.band{background:var(--navy)!important;padding:clamp(32px,4vw,60px) 0 calc(var(--soft-wave) + clamp(72px,8vw,120px))!important;overflow:visible}
body.is-home .how3 .home-h2,body.is-home .scene-copy .home-h2{color:#fff!important;font-weight:800!important}
.how3 .how3-lead{color:#fff!important;opacity:.92;font-size:var(--fs-t)!important}
.how3-steps li{position:relative;padding-inline-start:30px!important}
.how3-steps li::before{content:""!important;display:block!important;position:absolute;inset-inline-start:0;top:.55em;width:14px;height:14px;border-radius:50%;background:var(--navy-2);transition:background-color 420ms var(--soft-ease),transform 420ms var(--soft-ease)}
.how3-steps li.on::before{background:var(--tq);transform:scale(1.15)}
.how3.how-scene:not(.scene-live) .how3-steps li::before{display:none!important}
.how3.how-scene:not(.scene-live) .how3-steps li{padding-inline-start:0!important}
.how3-steps h3{font-size:var(--fs-t)!important;font-weight:700!important}
.how3-steps p{color:#d6deec!important}
.scene-stage{isolation:isolate}
.scene-stage::before{content:"";position:absolute;z-index:-1;inset:-16% -14% 26% 30%;background:var(--navy-2);border-radius:var(--soft-blob);pointer-events:none}
.scene-stage .hv{border-radius:44px}
.scene-stage :is(.hv-still,.hv-video){inset:-1px!important;width:calc(100% + 2px)!important;height:calc(100% + 2px)!important}
.how-pause{position:absolute;inset-inline-end:14px;bottom:14px;z-index:3}
.st-still{border-radius:var(--soft-blob-2)!important}
@media(min-width:1024px){
 /* One normal scroll: the picture sits in its column beside the steps (no sticky). */
 .scene-live .how-grid{grid-template-columns:minmax(0,6fr) minmax(0,5fr)!important;align-items:center!important;gap:clamp(48px,6vw,96px)!important}
 .scene-live .scene-copy{order:2}
 .scene-live .scene-stage{order:1;position:relative!important;top:auto!important;width:100%!important;max-width:560px;margin:0!important;justify-self:start}
 .scene-live .how3-steps{gap:22px!important}
 .scene-live .how3-steps li:not(.reveal:not(.in)){opacity:1!important}
 /* market.css gives these steps an opacity-only transition; the reveal (motion.js) needs its transform too. */
 .scene-live .how3-steps li.reveal{transition:opacity var(--t-slow) var(--ease),transform 420ms var(--ease)!important;transition-delay:var(--reveal-delay,0ms)!important}
 .scene-live .how3-steps li:not(.on) h3{color:#fff!important}
 .scene-live .how3-steps li.on h3{color:var(--tq)!important}
 .scene-copy .how3-lead{margin-bottom:28px!important}
 .how3-links{margin-top:32px!important}
}
.how3 .scene-btn{min-height:56px;padding:0 28px;font-size:var(--fs-b);font-weight:700}

/* ---------- Popular categories ---------- */
body.is-home .cats.band{background:#fff!important;padding:clamp(24px,3vw,44px) 0 clamp(140px,11vw,190px)!important}
body.is-home .cats .sectionhead{margin-bottom:24px!important;align-items:baseline}
body.is-home .cats .cats-all{font-weight:700;color:var(--navy);text-decoration:underline;text-decoration-color:var(--tq);text-decoration-thickness:2px;text-underline-offset:6px}
/* The category tiles themselves keep the earlier large photo tiles (the owner preferred them to pills). */

/* ---------- The seller band: a pale field, Nicole on a turquoise form on the far side ---------- */
body.is-home .sell-band.band{background:var(--pale)!important;padding:clamp(64px,8vw,130px) 0 calc(var(--soft-wave) + clamp(64px,8vw,130px))!important;overflow:visible!important}
body.is-home .sell-band .sell-in{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,auto)!important;align-items:center!important;gap:clamp(24px,5vw,80px)!important}
body.is-home .sell-band .sell-in>div{padding:0!important;padding-inline-start:6%!important}
body.is-home .sell-band h2{font-weight:800!important;font-size:clamp(32px,3.2vw,48px)!important;letter-spacing:-.025em!important;line-height:1.08!important;max-width:18ch}
body.is-home .sell-band p{color:var(--navy)!important;font-size:var(--fs-t)!important;max-width:44ch}
body.is-home .sell-band .cta{min-height:56px;padding:0 30px;font-size:var(--fs-b);font-weight:700}
body.is-home .sell-band .sell-band-art{width:clamp(250px,29vw,420px)!important;height:auto!important;aspect-ratio:1/1.02;object-fit:contain;object-position:50% 100%;background:var(--tq);border-radius:50% 50% 46% 54% / 56% 50% 50% 44%;padding:24px 20px 0;margin:0!important;align-self:center!important}
@media(max-width:620px){
 body.is-home .sell-band .sell-in{grid-template-columns:minmax(0,1fr)!important}
 body.is-home .sell-band .sell-band-art{grid-row:1;justify-self:end;width:250px!important;height:auto!important}
 body.is-home .sell-band .sell-in>div{padding:0!important}
}

/* ---------- The waves between the home fields ---------- */
body.is-home #recent-sold{--wave:var(--w1);--wave-c:var(--ground)}
body.is-home .picks{--wave:var(--w6);--wave-c:#fff}
body.is-home .home-hero+.picks,body.is-home #recent-sold[hidden]+.picks{--wave:var(--w1)}
body.is-home .how3{--wave:var(--w2);--wave-c:var(--navy)}
body.is-home .cats{--wave:var(--w3);--wave-c:#fff}
body.is-home .sell-band{--wave:var(--w5);--wave-c:var(--pale)}
body.is-home :is(#recent-sold,.picks,.how3,.cats,.sell-band){position:relative}
body.is-home :is(#recent-sold,.picks,.how3,.cats,.sell-band)::before{content:""!important;display:block!important;position:absolute!important;left:0!important;right:0!important;top:auto!important;bottom:calc(100% - 1px)!important;height:var(--soft-wave)!important;background:var(--wave-c)!important;-webkit-mask:var(--wave) 0 0/100% 100% no-repeat;mask:var(--wave) 0 0/100% 100% no-repeat;pointer-events:none;z-index:1;opacity:1!important;transform:none!important;border-radius:0!important;width:auto!important}

/* ============================== The sale page (/auction/:id) ============================== */
/* A soft ground field behind the gallery, ending in a wave; a turquoise form peeking from behind the gallery's outer
   corner. The buy area: the price and time on a pale turquoise form, the actions under it, the facts on the ground. */
:root{--w1i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,-1 L1440,-1 L1440,40 C1200,120 1020,86 720,48 C420,10 240,120 0,64 Z'/%3E%3C/svg%3E");
 --w3i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,-1 L1440,-1 L1440,80 C1260,30 1040,12 780,60 C520,110 220,100 0,40 Z'/%3E%3C/svg%3E")}
body:has(#app>.item) #app{overflow-x:clip;position:relative}
#app>.item{position:relative;isolation:isolate}
.item .item-media{position:relative;isolation:isolate}
/* The ground field: from the screen's edge on the gallery's side to just past the gallery, with a soft lower corner. */
.item .item-media::after{content:"";position:absolute;z-index:-2;top:-80px;bottom:clamp(-72px,-4vw,-40px);inset-inline-start:-50vw;inset-inline-end:-24px;background:var(--ground);border-start-end-radius:clamp(80px,9vw,140px);border-end-end-radius:clamp(120px,14vw,220px) clamp(90px,10vw,160px);pointer-events:none}
.item .item-media::before{content:"";position:absolute;z-index:-1;width:clamp(140px,22vw,300px);aspect-ratio:1;inset-inline-start:calc(-1 * clamp(20px,3vw,48px));bottom:clamp(-28px,-2vw,-12px);background:var(--tq);border-radius:var(--soft-blob);pointer-events:none}
.item .gallery{background:#fff!important;border-radius:36px!important;position:relative;z-index:1}
.item .item-title{font-weight:800!important;letter-spacing:-.03em!important;color:var(--navy)!important;line-height:1.05!important}
.item .auction-box{background:var(--pale)!important;border-radius:32px 32px 32px 10px!important;padding:22px 24px 18px!important;margin:6px 0 18px!important;position:relative;isolation:isolate}
/* A navy-2 moon at the box's far corner: the same soft form as the home hero, at a small scale. */
.item .auction-box::before{content:"";position:absolute;z-index:-1;width:150px;aspect-ratio:1;inset-inline-end:-56px;top:-70px;border-radius:var(--soft-blob-2);background:#c6efe7;pointer-events:none;clip-path:inset(70px 0 0 56px round 32px 0 0 0)}
[dir=ltr] .item .auction-box::before{clip-path:inset(70px 56px 0 0 round 0 32px 0 0)}
/* Phones: the price row wraps, so a long price and the new-product line drop below instead of running out. */
@media(max-width:620px){.item .ab-price{flex-wrap:wrap!important;white-space:normal!important}.item .ab-price>.ab-label,.item .ab-price>.price{white-space:nowrap}.item .ab-new{flex-basis:100%;white-space:normal}}
.item .ab-price .price{font-weight:800!important;font-size:clamp(36px,3.2vw,48px)!important;letter-spacing:-.03em!important}
.item .ab-time .timer{font-weight:700!important;color:var(--navy)!important}
.item .ab-label{color:#2c4a6e!important}
.item .ab-meta{color:var(--navy)!important}
.item .ab-help summary{color:var(--navy)}
.item .bid-main{border-radius:999px!important;min-height:60px!important;font-weight:800!important}
.item .quick-bid{min-height:48px!important;font-weight:700!important}
.item :is(.bid-custom,.bid-auto){border-radius:24px!important;background:var(--ground)!important}
.item .price-facts{background:var(--ground)!important;border-radius:24px 24px 8px 24px!important}
.item .sale-state{border-radius:28px!important}
.item-info h2,.related h2,.related-title{font-weight:800!important;letter-spacing:-.02em!important;color:var(--navy)}
@media(max-width:900px){
 /* Phones and tablets: the media column dissolves into the page's grid (market.css), so the field hangs from the title:
    it reaches about two thirds down the square gallery under it and ends in a wave. */
 .item .item-media::before,.item .item-media::after{display:none}
 .item .item-title{position:relative}
 .item .item-title::before{content:"";position:absolute;z-index:-1;top:-80px;inset-inline:-50vw;height:calc(100% + 150px + .64 * (100vw - 2 * var(--gutter)));background:var(--ground);pointer-events:none;-webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - var(--soft-wave) + 1px) no-repeat,var(--w3i) bottom/100% var(--soft-wave) no-repeat;mask:linear-gradient(#000 0 0) top/100% calc(100% - var(--soft-wave) + 1px) no-repeat,var(--w3i) bottom/100% var(--soft-wave) no-repeat}
 .item .item-title::after{content:"";position:absolute;z-index:-1;top:calc(100% + 120px + .62 * (100vw - 2 * var(--gutter)));inset-inline-start:calc(-1 * var(--gutter) - 4vw);width:34vw;aspect-ratio:1;background:var(--tq);border-radius:var(--soft-blob);pointer-events:none}
 .item .gallery{border-radius:28px!important}
}
/* The gallery: thumbnails get a visible focus ring inside their own box (the strip scrolls, so an outer ring would
   be clipped); the arrows and dots are full-size targets. */
.item .gallery-thumbs{padding-top:6px!important}
.item .gallery-thumbs button:focus-visible{outline:3px solid var(--navy)!important;outline-offset:-3px!important;box-shadow:inset 0 0 0 6px #fff!important;opacity:1}
.cg-dot{min-width:24px;min-height:24px}
.cg-dots{gap:0!important;padding:0 4px!important}
/* The sticky phone bid bar: solid, with a soft top. */
.bid-bar{background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-radius:26px 26px 0 0!important;box-shadow:0 -12px 32px -12px rgba(12,45,98,.22)!important;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))!important}
.bid-bar .bb-info b{font-weight:800!important}
.bid-bar .cta{border-radius:999px!important;font-weight:800}

/* ============================== Personal pages: the sell flow, the dashboard, account settings ============================== */
/* A soft ground field holds each page's head (title, subtitle, steps or tabs) and ends in a wave; the work area sits
   on white below it. The field hangs from the last element of the head, so its height follows the real content. */
body:has(:is(.wrap>form.form .step-nav,.dash-nav,.account-page>.sectionhead)) #app{overflow-x:clip}
body:has(:is(.wrap>form.form .step-nav,.dash-nav,.account-page>.sectionhead)) #app>.wrap{position:relative;isolation:isolate}
body:has(:is(.wrap>form.form .step-nav,.dash-nav,.account-page>.sectionhead)) .back-bar:not([hidden]){background:var(--ground)!important}
:is(.wrap>form.form .step-nav,.dash-nav,.account-page>.sectionhead){position:relative}
:is(.wrap>form.form .step-nav,.dash-nav,.account-page>.sectionhead)::before{content:"";position:absolute;z-index:-1;top:-480px;inset-inline:-50vw;bottom:calc(-1 * var(--soft-wave) - var(--field-tail,12px));background:var(--ground);pointer-events:none;
 -webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - var(--soft-wave) + 1px) no-repeat,var(--w1i) bottom/100% var(--soft-wave) no-repeat;mask:linear-gradient(#000 0 0) top/100% calc(100% - var(--soft-wave) + 1px) no-repeat,var(--w1i) bottom/100% var(--soft-wave) no-repeat}
.dash-nav::before{--field-tail:4px}
/* Page titles in the display weight. */
:is(.wrap>form.form>h1,.dash-head h1,.account-page .sectionhead h1){font-weight:800!important;letter-spacing:-.03em!important;color:var(--navy)!important;font-size:clamp(32px,3.4vw,48px)!important;line-height:1.05!important}
.wrap>form.form>p.muted,.dash-sub{color:#2c4a6e!important}

/* ---------- The sell flow ---------- */
.wrap>form.form .step-nav{margin-bottom:calc(var(--soft-wave) + 8px)!important}
.step-progress{gap:10px!important}
.step-progress span:before{height:8px!important;background:#fff!important}
.step-progress span:after{height:8px!important;background:var(--navy)!important}
.step-progress span.on{color:var(--navy)!important;font-weight:700!important}
.wrap>form.form :is(.field input,.field select,.field textarea){border-radius:16px!important}
.wrap>form.form .photos-field :is(button,label):not(.help-tip){border-radius:28px!important}
.wrap>form.form .step-buttons :is(.cta,.buy){border-radius:999px!important;min-height:52px;font-weight:700}
/* The price fields with their explanation button beside the label (sell-help.js). */
.help-field{position:relative;min-width:0}
.help-field>.help-tip{position:absolute;top:-2px;inset-inline-end:0;margin:0!important}
.help-field>.help-pop{margin-top:10px}
.help-tip{width:26px!important;height:26px!important;font-size:13px!important;background:var(--ground)!important}
.help-tip[aria-expanded=true]{background:var(--navy)!important;color:#fff!important}
.help-pop{border-radius:20px!important;background:#fff!important}

/* ---------- The promotion popup ---------- */
#plan-dialog{border-radius:32px!important;overflow:hidden;isolation:isolate}
#plan-dialog::before{content:"";position:absolute;z-index:-1;width:220px;aspect-ratio:1;top:-110px;inset-inline-end:-80px;background:var(--pale);border-radius:var(--soft-blob);pointer-events:none}
#plan-dialog .summary-h{font-weight:800!important;letter-spacing:-.02em}
.plan-body{border:0!important;border-radius:26px!important;background:var(--ground)!important;padding:18px 18px 16px!important;transition:background-color 200ms ease,box-shadow 200ms ease!important}
.plan-featured .plan-body{background:var(--pale)!important}
.plan input:checked+.plan-body,.plan:has(input:checked) .plan-body{outline:0!important;background:#fff!important;box-shadow:inset 0 0 0 2px var(--navy),0 18px 40px -24px rgba(12,45,98,.35)!important}
.plan input:focus-visible+.plan-body{outline:3px solid var(--tq)!important;outline-offset:3px!important}
@media(hover:hover){.plan:hover .plan-body{box-shadow:inset 0 0 0 2px #9fb0cc}}
.plan-dur{border:0!important;background:#fff!important;border-radius:16px!important}
.plan-dur:has(input:checked){outline:2px solid var(--navy)!important;outline-offset:0!important}
.plan li:before{color:var(--accent-ink)!important}
#plan-dialog .guide-actions .cta{border-radius:999px;font-weight:800}

/* ---------- Dashboard ---------- */
.dash-head{margin-top:20px!important}
.dash-nav{border:0!important;margin-bottom:calc(var(--soft-wave) + 6px)!important}
.dash-nav a,.dash-nav button{min-height:44px!important;padding:0 18px!important;background:#fff!important;font-size:var(--fs-b)!important}
.dash-nav [aria-current=page]{background:var(--navy)!important;color:#fff!important}
@media(hover:hover){.dash-nav button:hover,.dash-nav a:not([aria-current]):hover{background:var(--pale)!important}}
.dash-stat{background:var(--ground)!important;border-radius:28px 28px 28px 10px!important;padding:18px 20px!important}
.dash-stat .dash-ico{border-radius:50%!important;background:#fff!important}
.dash-stat.has-new .dash-ico{background:var(--tq)!important;stroke:var(--navy)!important}
.dash-stat b{font-weight:800!important;font-size:clamp(24px,2vw,30px)!important}
@media(hover:hover){.dash-stat:hover{background:#e4eaf4!important}}
.dash-card,.notice-list .notice{border-radius:24px!important}
.dash-sechead h2,.dash-card h2{font-weight:800!important;letter-spacing:-.02em;color:var(--navy)}

/* ---------- Account settings ---------- */
.account-page>.sectionhead{margin-bottom:calc(var(--soft-wave) + 12px)!important}
.account-card{border-radius:32px 32px 32px 12px!important;background:var(--ground)!important}
.account-card h2{font-weight:800!important;color:var(--navy)}
.account-card .field input,.account-card .field select{border-radius:16px!important;background:#fff!important}

/* ============================== Footer (every page) ============================== */
.site-footer{position:relative;--wave:var(--w4);--wave-c:var(--navy);margin-top:calc(var(--soft-wave) + 24px)}
.site-footer::before{content:"";position:absolute;left:0;right:0;bottom:calc(100% - 1px);height:var(--soft-wave);background:var(--navy);-webkit-mask:var(--w4) 0 0/100% 100% no-repeat;mask:var(--w4) 0 0/100% 100% no-repeat;pointer-events:none}
body.is-home .site-footer{margin-top:0!important}

/* The floating buttons (accessibility, Nicole, "צריכים עזרה?") never cover the end of a page: the footer keeps
   room under its last line for them. */
.site-footer{padding-bottom:calc(132px + env(safe-area-inset-bottom,0px))!important}
@media(max-width:620px){.site-footer{padding-bottom:calc(124px + env(safe-area-inset-bottom,0px))!important}}
/* The sticky "חזרה" bar is a solid strip, so the page passes under it instead of showing through it. */
.back-bar:not([hidden]){background:#fff!important}

/* ============================== Shared: buttons and pills ============================== */
.cta,.buy{border-radius:999px}
@media(hover:hover){.cta:hover{background:#3fe0c7}}

/* ============================== Reduced motion ============================== */
@media(prefers-reduced-motion:reduce){
 .home-hero .stage-card,.home-hero .stage-card .sc-pic,.how3-steps li::before,body.is-home .bento-tile{transition:none!important}
}
html.a11y-motion .home-hero .stage-card,html.a11y-motion .home-hero .stage-card .sc-pic,html.a11y-motion .how3-steps li::before,html.a11y-motion body.is-home .bento-tile{transition:none!important}

/* ============================== Motion: scroll-linked ============================== */
/* Where the browser has scroll-driven animations, the hero drift and the video frame's parallax run on the compositor
   (soft.js then leaves them alone): the same distances as the script, 60px and 6% (a third on phones), 40px each way. */
@supports (animation-timeline: scroll()){
 @media(prefers-reduced-motion:no-preference){
  html:not(.a11y-motion) body.is-home .home-hero .stage-track{animation:soft-drift linear both;animation-timeline:scroll(root block);animation-range:0 100vh}
  html:not(.a11y-motion) body.is-home .scene-live .scene-stage{animation:soft-float linear both;animation-timeline:view(block);animation-range:cover 0% cover 100%}
 }
}
:root{--soft-drift-y:60px;--soft-drift-scale:1.06;--soft-float-y:40px}
@media(max-width:900px){:root{--soft-drift-y:18px;--soft-drift-scale:1.018}}
@keyframes soft-drift{from{transform:none}to{transform:translate3d(0,var(--soft-drift-y),0) scale(var(--soft-drift-scale))}}
@keyframes soft-float{from{transform:translate3d(0,calc(-1 * var(--soft-float-y)),0)}to{transform:translate3d(0,var(--soft-float-y),0)}}
@media(prefers-reduced-motion:reduce){.home-hero .stage-track,.scene-live .scene-stage{transform:none!important;animation:none!important}}
html.a11y-motion :is(.home-hero .stage-track,.scene-live .scene-stage){transform:none!important;animation:none!important}

/* Buttons that sit on a ground field take white, so they keep their shape. */
:is(.account-page>.sectionhead,.dash-head) .buy{background:#fff!important}
.plan-fit{border:0!important;background:#fff!important;color:var(--accent-ink)!important}
/* Phones: the floating accessibility and Nicole buttons live in the start corner (left); the step buttons keep clear
   of that column, so a button is never under them. */
@media(max-width:620px){.wrap>form.form .step-buttons>:last-child{margin-inline-end:60px!important}}

/* Hover effects belong to pointers that hover. On touch screens a tap leaves :hover stuck on the element, so the lifts,
   zooms and shadows above (and in app/apple/market.css) are switched off where the device cannot hover. */
@media(hover:none){
 .card:hover,.card.reveal.in:hover,.cat-tile:hover,.cta:hover,.hero-ghost:hover,.primary:hover,.buy:hover,.quick-bid:hover,.lite-cta:hover,.like:hover,.a11y-button:hover,.past-card:hover,.dash-stat:hover,body.is-home .bento-tile:hover{transform:none!important;box-shadow:none!important}
 :is(.card:hover .pic .product-photo.on,.card:hover .pic>.product-photo,.card:hover .pic>.product-illustration,.card:hover .product-illustration,.stage-card.front:hover .sc-pic img,.bento-tile:hover .bento-pic img,.scene-btn:hover .ic,.step:hover .step-icon,.why-list li:hover .why-icon){transform:none!important}
}

/* ============================== Delight: the rare moments (motion and form only, no new words) ============================== */
/* A win (and, for the seller, a sale): a turquoise form blooms behind the note, once, as the page shows it. */
.item .sale-state.won{position:relative;isolation:isolate;overflow:hidden;background:var(--pale)!important;border-radius:28px 28px 28px 10px!important;padding:22px 24px!important}
.item .sale-state.won::before{content:"";position:absolute;z-index:-1;width:200px;aspect-ratio:1;inset-inline-end:-60px;top:-80px;background:#bdeee4;border-radius:var(--soft-blob);pointer-events:none;animation:soft-bloom 900ms cubic-bezier(.23,1,.32,1) 120ms both}
.item .sale-state.won::after{content:"";position:absolute;z-index:-1;width:64px;aspect-ratio:1;inset-inline-end:130px;top:-26px;background:var(--navy-2);border-radius:var(--soft-blob-2);opacity:.16;pointer-events:none;animation:soft-bloom 900ms cubic-bezier(.23,1,.32,1) 260ms both}
.item .sale-state.won b{display:block;color:var(--navy)!important;font-weight:800;font-size:clamp(22px,2vw,28px)}
.item .sale-state.won .cta{margin-top:18px!important}
@keyframes soft-bloom{from{opacity:0;transform:scale(.6) rotate(-8deg)}}
/* The bid that just went through and leads (first bid included): the check gets one soft ring. */
.bid-status.leading.confirm b .ic{border-radius:50%;animation:soft-ring 640ms cubic-bezier(.23,1,.32,1) 180ms 1 both}
@keyframes soft-ring{0%{box-shadow:0 0 0 0 rgba(11,211,181,.55)}100%{box-shadow:0 0 0 12px rgba(11,211,181,0)}}
.item .bid-status{border-radius:22px!important}
/* Empty states: a soft form settles behind the message (no loop). */
:is(.dash-empty,.empty-auctions){position:relative;isolation:isolate;overflow:hidden}
.dash-empty::before{content:"";position:absolute;z-index:-1;width:96px;aspect-ratio:1;top:6px;left:50%;margin-left:-48px;background:var(--pale);border-radius:var(--soft-blob);pointer-events:none;animation:soft-settle 640ms cubic-bezier(.23,1,.32,1) both}
.dash-empty .dash-ico{background:#fff!important;border-radius:50%!important}
.empty-auctions{border-radius:32px!important;background:var(--ground)!important;padding:32px 28px!important}
.empty-auctions::before{content:"";position:absolute;z-index:-1;width:180px;aspect-ratio:1;inset-inline-end:-50px;bottom:-70px;background:var(--pale);border-radius:var(--soft-blob);pointer-events:none;animation:soft-settle 700ms cubic-bezier(.23,1,.32,1) both}
@keyframes soft-settle{from{opacity:0;transform:translateY(10px) scale(.92)}}
@media(prefers-reduced-motion:reduce){
 .item .sale-state.won::before,.item .sale-state.won::after,.dash-empty::before,.empty-auctions::before{animation:soft-fade 200ms ease both!important}
 .bid-status.leading.confirm b .ic{animation:none!important}
}
html.a11y-motion .item .sale-state.won::before,html.a11y-motion .item .sale-state.won::after,html.a11y-motion .dash-empty::before,html.a11y-motion .empty-auctions::before,html.a11y-motion .bid-status.leading.confirm b .ic{animation:none!important}
@keyframes soft-fade{from{opacity:0}}

/* The countdown under ten minutes: its emphasis pulses once when it turns, not every second (a number being read). */
.timer.red{animation-iteration-count:1!important}
/* Tablets: two-thirds-width slides, so the photo stays a product, not a wall. */
@media(min-width:621px) and (max-width:900px){.home-hero .stage-card{flex-basis:58%!important}}

/* Phones feel native: no grey tap flash (the :active and focus states stay), button labels are not selectable, and in
   landscape the content keeps clear of the notch. */
a,button,summary,label,[role=button],input,select,textarea{-webkit-tap-highlight-color:transparent}
button{-webkit-user-select:none;user-select:none}
.wrap{padding-left:max(var(--gutter),env(safe-area-inset-left,0px));padding-right:max(var(--gutter),env(safe-area-inset-right,0px))}
