:root{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#eff2ed;background:#0c1115;color-scheme:dark;-webkit-tap-highlight-color:transparent;font-synthesis:none;--bg:#0c1115;--panel:#151d21;--panel2:#182327;--border:#283337;--muted:#89979a;--accent:#bdf48d;--accent-text:#142415;--nav-h:70px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);min-height:100dvh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button,input,select,summary{outline-offset:3px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent)}a{color:inherit}svg.icon{height:20px;width:20px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;overflow:hidden;width:0;height:0}
.app{max-width:860px;margin:0 auto;padding:0 20px calc(112px + env(safe-area-inset-bottom,0px));min-height:100dvh}
.topbar{height:85px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #202b2e}.identity{display:flex;align-items:center;gap:10px;min-width:0}.brand-symbol{width:39px;height:39px;border-radius:13px;display:grid;place-items:center;background:var(--accent);color:var(--accent-text)}.brand-symbol .icon{width:23px;height:23px;stroke-width:1.85}.brand-name{font-size:18px;letter-spacing:-.085em;font-weight:850;white-space:nowrap;line-height:1.1}.brand-name span{color:var(--accent)}.brand-version{margin-left:8px;font-size:10px;color:#6f8681;font-weight:700;letter-spacing:0}.brand-tag{font-size:8px;letter-spacing:.15em;font-weight:700;color:#88999a;margin-top:6px;white-space:nowrap}.connection-pill{display:flex;align-items:center;gap:7px;border:1px solid var(--border);border-radius:30px;background:#151c21;padding:10px 11px;color:#bbc6c6;font-size:11px;font-weight:700;white-space:nowrap;max-width:140px}.status-dot{display:block;flex-shrink:0;width:7px;height:7px;border-radius:50%;background:#dea266}.status-dot.on{background:var(--accent);box-shadow:0 0 0 3px #bdf48d20}.status-dot.error{background:#f19e7c}
.welcome{padding:36px 0 24px}.eyebrow{display:flex;align-items:center;gap:9px;color:var(--accent);font-size:10px;font-weight:850;letter-spacing:.2em}.tiny-line{height:1px;width:17px;background:var(--accent)}h1,h2,h3,p{margin-top:0}.welcome h1,.view-header h1{font-size:clamp(35px,6vw,54px);line-height:1.095;font-weight:830;letter-spacing:-.068em;margin:15px 0 12px}.welcome h1 em{font-style:normal;color:var(--accent)}.welcome p,.view-header p{color:#99a7a9;font-size:13px;line-height:1.65;max-width:470px;margin-bottom:0}.view-header{padding:40px 0 25px}.accent-dot{color:var(--accent)}
.overview{display:grid;grid-template-columns:1fr 1fr;gap:11px}.stat-card{position:relative;min-height:136px;border:1px solid var(--border);background:var(--panel);border-radius:19px;padding:19px 19px 15px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.stat-card span{font-size:12px;color:#bdc8c9;font-weight:650}.stat-card .stat-value{font-size:43px;font-weight:820;line-height:1;letter-spacing:-.06em;font-variant-numeric:tabular-nums}.stat-card small{font-size:11px;color:#7e9092}.stat-card-featured{background:#bdf48d;border-color:#bdf48d;color:#142415}.stat-card-featured span,.stat-card-featured small{color:#3a5a35}.stat-card-featured:after{content:'✦';position:absolute;top:15px;right:17px;color:#4c783e;font-size:18px}.monitor-row{display:flex;align-items:center;justify-content:space-between;min-height:59px;gap:8px;margin:7px 0 20px;color:#93a4a7;font-size:12px}.monitor-row>div{display:flex;align-items:center;gap:9px}.monitor-icon{display:grid;place-items:center}.monitor-icon .icon{width:15px;height:15px}.icon-button{border:1px solid var(--border);border-radius:12px;display:grid;place-items:center;background:#151e21;color:#c4d3d1;width:39px;height:39px;padding:0}.icon-button:active,.filter:active,.nav-item:active,.action-btn:active{transform:scale(.975)}
.section-top{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:12px 0 17px}.section-kicker{display:block;color:#92a2a3;font-size:9px;font-weight:800;letter-spacing:.19em}.section-top h2{margin:6px 0 0;font-size:24px;letter-spacing:-.055em;font-weight:800}.result-count{font-size:11px;color:#8e9da0;background:#182225;padding:7px 9px;border:1px solid #253236;border-radius:20px;white-space:nowrap}.searchbox{height:49px;display:flex;gap:10px;align-items:center;padding:0 15px;background:#151d21;border:1px solid #2a3539;border-radius:14px;color:#93a5a6}.searchbox:focus-within{border-color:#89bd72}.searchbox .icon{height:19px;width:19px}.searchbox input{flex:1;min-width:0;height:100%;background:none;border:0;outline:none;color:#eaf1ed;font-size:13px}.searchbox input::placeholder{color:#7b8c8f}.kbd{font-size:15px;color:#617477}.filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:16px 1px 18px;scroll-snap-type:x proximity}.filters::-webkit-scrollbar{display:none}.filter{scroll-snap-align:start;flex:none;min-height:36px;white-space:nowrap;padding:0 14px;border:1px solid #2b373a;border-radius:40px;background:#151c20;color:#b1bfc0;font-size:12px;font-weight:700}.filter.active{background:#bdf48d;color:#172716;border-color:#bdf48d}
.listing-stack{display:grid;grid-template-columns:1fr;gap:12px;align-content:start}.listing-card{border:1px solid #29353a;background:#151e22;border-radius:18px;overflow:hidden;contain:layout style;content-visibility:auto;contain-intrinsic-size:auto 190px}.listing-main{width:100%;min-height:137px;display:grid;grid-template-columns:102px minmax(0,1fr);gap:14px;align-items:stretch;text-align:left;padding:12px;color:inherit;background:transparent;border:0}.listing-thumb{height:112px;width:102px;border-radius:12px;background:linear-gradient(135deg,#233136,#1a2428);display:grid;place-items:center;overflow:hidden;color:#b6c4b9;font-size:33px;position:relative}.listing-thumb img{display:block;width:100%;height:100%;object-fit:cover}.listing-thumb .photo-counter{position:absolute;bottom:6px;right:6px;background:#111b1ddf;color:#edf3f2;font-size:10px;padding:3px 5px;border-radius:5px}.listing-info{min-width:0;display:flex;flex-direction:column;justify-content:space-between;padding:2px 0}.listing-tags{display:flex;align-items:center;gap:6px;min-width:0}.listing-platform{font-size:10px;text-transform:uppercase;letter-spacing:.085em;color:#9baaad;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.listing-age{font-size:10px;color:#829295;margin-left:auto;white-space:nowrap}.listing-title{font-weight:740;font-size:14px;line-height:1.37;letter-spacing:-.02em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:39px;margin:5px 0 2px}.listing-prices{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.price{font-size:22px;line-height:1;font-weight:820;letter-spacing:-.06em}.margin{font-weight:800;color:var(--accent);font-size:12px}.margin.pending{color:#a1adae;font-weight:600}.listing-footer{display:flex;align-items:center;gap:7px}.mini-badge{font-weight:770;font-size:10px;display:inline-flex;align-items:center;gap:3px;background:#283235;color:#c8d7d7;border-radius:5px;padding:4px 6px}.mini-badge.alerte{background:#355139;color:#bdf48d}.mini-badge.surveiller{background:#473e2c;color:#e7cf9d}.listing-footer .more{margin-left:auto;font-size:10px;color:#94a5a7;display:flex;align-items:center;gap:4px}.more .icon{height:14px;width:14px;transition:transform .16s}.listing-card.expanded .more .icon{transform:rotate(180deg)}.listing-details{border-top:1px solid #2c383c;padding:16px 16px 18px;background:#121b1f}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:14px}.detail-grid>div{background:#1b272b;border-radius:10px;padding:12px}.detail-grid span{display:block;color:#94a5a8;font-size:10px;margin-bottom:5px}.detail-grid strong{font-size:15px;font-weight:780}.detail-copy{font-size:12px;color:#aababc;line-height:1.6;margin-bottom:12px}.detail-copy strong{color:#e3ece9}.detail-copy p{margin:3px 0}.proof-list{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 14px}.proof-list a,.proof-list span{border:1px solid #354449;border-radius:7px;padding:6px 9px;text-decoration:none;color:#bbd7ce;font-size:11px}.view-listing-link,.primary{min-height:45px;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--accent);border:1px solid var(--accent);border-radius:12px;color:#152a17;font-size:13px;text-decoration:none;font-weight:800}.view-listing-link .icon,.primary .icon{height:16px;width:16px}.load-more{display:flex;align-items:center;justify-content:center;gap:9px;margin:18px auto 2px;border:1px solid var(--border);background:#152125;color:#dae8e3;min-height:44px;border-radius:11px;padding:0 18px;font-size:12px;font-weight:700}.load-more[hidden]{display:none}.load-more .icon{height:16px;width:16px}
.empty-state{padding:29px 22px 32px;border:1px dashed #354448;border-radius:18px;text-align:center;background:#131b1e}.empty-symbol{display:grid;place-items:center;margin:0 auto 16px;width:58px;height:58px;border:1px solid #3b5348;border-radius:19px;background:#213328;color:var(--accent)}.empty-symbol .icon{height:30px;width:30px}.empty-state h3{font-size:17px;letter-spacing:-.025em;margin:0 0 8px}.empty-state p{font-size:12px;line-height:1.65;color:#99a9a8;max-width:320px;margin:0 auto 18px}.empty-state .secondary{margin:auto}.empty-badge{font-size:9px;font-weight:750;letter-spacing:.08em;color:#b5c29a;margin-bottom:8px}.secondary{min-height:42px;background:#253529;border:1px solid #425b43;color:#c9f9a3;border-radius:11px;padding:0 15px;font-size:12px;font-weight:780;display:flex;align-items:center;justify-content:center;gap:8px}.secondary .icon{width:16px;height:16px}
.panel{border:1px solid var(--border);border-radius:18px;background:#151e22;padding:20px;margin:0 0 14px}.panel h2{font-size:17px;font-weight:800;letter-spacing:-.035em;margin:0 0 20px}.panel p{color:#a0b1b3;font-size:12px;line-height:1.65}.formgrid{display:grid;gap:15px}.formgrid label,.modal label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#c6d2d2;font-weight:700}.formgrid input,.formgrid select,.modal input{width:100%;border:1px solid #334146;background:#0d1519;color:#e7efec;padding:12px 13px;border-radius:11px;min-height:45px;font-size:14px}.formgrid input::placeholder,.modal input::placeholder{color:#687d81}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.formgrid .checkline{flex-direction:row;align-items:center;font-weight:500;line-height:1.6}.checkline input{height:18px;width:18px;min-height:0;flex:none;accent-color:var(--accent)}.full{width:100%}.advanced{font-size:12px}.advanced summary{cursor:pointer;color:#c2d4ca;font-weight:700;min-height:30px}.advanced-fields{display:grid;gap:14px;padding-top:14px}.analysis-result{border-radius:12px;padding:15px;background:#213227;border:1px solid #4b644b;font-size:12px;line-height:1.7;margin-top:15px}.analysis-result[hidden]{display:none}.settings-row{display:flex;align-items:center;justify-content:space-between;padding:0 0 17px;border-bottom:1px solid #2a383b;margin-bottom:17px;gap:10px}.settings-label{font-size:11px;color:#8da1a3;display:block;margin-bottom:7px}.settings-row strong{font-size:13px;font-weight:750}.settings-row:last-of-type{border-bottom:0;margin-bottom:5px}.status-light{height:12px;width:12px;background:#c38f5c;border-radius:50%}.status-light.on{background:var(--accent)}.muted-icon{color:#819898}.settings-card .secondary{margin-top:20px}.action-grid{display:grid;gap:8px}.action-btn{min-height:50px;display:flex;align-items:center;gap:12px;border:1px solid #324348;border-radius:11px;background:#1c2a2e;color:#d6e5e2;font-size:12px;font-weight:700;padding:0 14px;text-align:left}.action-btn .icon{color:var(--accent)}.reference-panel>summary{list-style:none;cursor:pointer;display:flex;gap:10px;justify-content:space-between;align-items:center;font-size:13px;font-weight:750}.reference-panel>summary::-webkit-details-marker{display:none}.reference-panel>summary .icon{height:17px;width:17px}.reference-panel[open]>summary{margin-bottom:18px}.legal-note{font-size:11px;color:#819395;line-height:1.75;padding:10px 4px 20px}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,860px);height:calc(70px + env(safe-area-inset-bottom,0px));padding:5px 12px calc(6px + env(safe-area-inset-bottom,0px));background:#10181bef;border-top:1px solid #2b393b;display:grid;grid-template-columns:repeat(4,1fr);z-index:10;backdrop-filter:blur(12px)}.nav-item{min-width:0;border:0;background:none;color:#83999b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:10px;font-weight:720}.nav-item.active{color:var(--accent)}.nav-item.active .icon{stroke-width:2.4}.nav-item .icon{width:23px;height:23px}
.view[hidden]{display:none}dialog{border:1px solid #465a59;background:#172227;color:#eaf2ed;padding:0;border-radius:19px;max-width:415px;width:calc(100% - 32px);box-shadow:0 15px 90px #000a}dialog::backdrop{background:#030a0bcc}.modal{padding:23px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.modal h2{font-size:22px;margin:6px 0 14px;letter-spacing:-.04em}.modal p{font-size:12px;color:#9cadb0;line-height:1.65}.modal code{color:#d0f1ae}.modal .primary{margin-top:15px}.modal-help{font-size:10px!important;margin:18px 0 0}.modal .icon-button{flex:none}.modal label{margin-top:18px}#toast{position:fixed;bottom:calc(84px + env(safe-area-inset-bottom,0px));left:50%;transform:translate(-50%,30px);width:max-content;max-width:calc(100% - 32px);background:#d5f5be;color:#1c321b;padding:12px 15px;border-radius:11px;font-weight:750;font-size:12px;line-height:1.5;box-shadow:0 12px 40px #0008;opacity:0;pointer-events:none;transition:opacity .16s,transform .16s;z-index:99}#toast.show{transform:translate(-50%,0);opacity:1}.skeleton{border-radius:14px;height:148px;background:linear-gradient(90deg,#162126 0%,#233035 50%,#162126 100%);background-size:200% 100%;animation:shimmer 1.4s linear infinite}.demo-banner{display:block;color:#d5efab;font-size:11px;line-height:1.55;border:1px solid #566242;border-radius:10px;padding:10px 12px;background:#283329;margin:14px 0}.demo-banner[hidden]{display:none}
@keyframes shimmer{from{background-position:200% 0}to{background-position:-200% 0}}
@media(max-width:420px){.app{padding-left:15px;padding-right:15px}.topbar{height:77px}.welcome{padding:30px 0 24px}.welcome h1{font-size:clamp(33px,9.5vw,42px)}.stat-card{min-height:124px;padding:16px 15px}.stat-card .stat-value{font-size:39px}.listing-main{grid-template-columns:95px minmax(0,1fr);gap:12px}.listing-thumb{width:95px;height:105px}.listing-title{font-size:13.5px}.brand-name{font-size:17px}.connection-pill{padding:8px 10px}.brand-tag{font-size:7px}}
@media(min-width:700px){.welcome{padding-top:50px}.listing-stack{grid-template-columns:repeat(2,minmax(0,1fr))}.listing-card{align-self:start}.topbar{height:92px}.bottom-nav{width:min(100%,860px)}.stat-card{min-height:146px}.filters{padding-top:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* S21 : afficher une première annonce dès le premier écran, sans sacrifier le confort tactile. */
@media(max-width:420px){
 .topbar{height:68px}
 .welcome{padding:19px 0 16px}
 .welcome h1{font-size:34px;line-height:1.09;margin:10px 0 0}
 .welcome p{display:none}
 .stat-card{min-height:108px;padding:12px 15px}
 .stat-card .stat-value{font-size:35px}
 .stat-card small{font-size:10px}
 .monitor-row{min-height:45px;margin:4px 0 10px}
 .section-top{margin:7px 0 11px}
 .section-top h2{font-size:22px;margin:4px 0 0}
 .searchbox{height:45px}
 .filters{padding:10px 1px 12px}
 .filter{min-height:34px}
 .demo-banner{padding:8px 10px;margin:8px 0;font-size:10px}
}
/* 6.0 — photos au premier plan, gestes S21, sans librairie ni police externe */
.listing-main{display:grid;grid-template-columns:102px minmax(0,1fr);align-items:stretch;gap:14px;padding:12px;min-height:137px}
.listing-picture{display:block;border:0;background:transparent;padding:0;border-radius:12px;min-width:0;cursor:pointer;overflow:hidden;align-self:stretch}
.listing-picture:disabled{cursor:default;opacity:1}
.listing-thumb{display:flex;align-items:center;justify-content:center;width:102px;height:112px}
.listing-picture.has-photo:active img{transform:scale(.97)}
.listing-thumb img{transition:transform .15s ease;object-position:center;width:100%;height:100%;object-fit:cover}
.listing-thumb .photo-counter{bottom:6px;right:6px;display:flex;align-items:center;gap:2px;border:1px solid #ffffff30;font-weight:800;background:#0b1716e8}
.listing-thumb .photo-counter svg{width:11px;height:11px}
.thumb-fallback{display:grid;place-items:center;gap:3px;font-size:29px;color:#9db3b2}
.thumb-fallback small{font-size:9px;font-weight:750;letter-spacing:.02em}
.listing-info{appearance:none;border:0;background:transparent;color:inherit;padding:2px 0;text-align:left;min-width:0;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer}
.listing-info .price{font-variant-numeric:tabular-nums}
.listing-info .listing-title{font-weight:770}
.listing-picture:focus-visible,.listing-info:focus-visible,.open-photos:focus-visible,.inline-photo:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.detail-subheading{display:flex;align-items:center;gap:7px;justify-content:space-between;font-size:12px;font-weight:800;color:#eaf2ec;letter-spacing:-.02em;margin:3px 0 10px}
.detail-subheading>span{font-size:9px;letter-spacing:.065em;color:#96a5a6;font-weight:700}
.detail-subheading .icon{color:var(--accent);width:15px;height:15px}
.inline-gallery{display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 -4px 11px;padding:0 4px 5px}
.inline-gallery::-webkit-scrollbar{display:none}
.inline-photo{width:86px;height:91px;flex:0 0 86px;border:1px solid #36464b;border-radius:11px;overflow:hidden;padding:0;background:#233034;scroll-snap-align:start;cursor:pointer}
.inline-photo img{width:100%;height:100%;object-fit:cover;display:block}
.open-photos{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px;border:1px solid #506b59;background:#213328;color:#d7f7c8;font-weight:770;border-radius:11px;margin-bottom:15px;font-size:12px}
.open-photos svg{height:16px;width:16px}.open-photos svg:last-child{height:13px;width:13px}
.no-photos{color:#8f9fa0;font-size:12px;margin:0 0 13px}
.quality-strip{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}
.quality-strip>div{border:1px solid #304238;background:#1a2926;border-radius:10px;padding:12px 11px;min-width:0;display:flex;flex-direction:column;gap:7px}
.quality-strip span{font-size:9px;letter-spacing:.065em;color:#a0b3a6;font-weight:790}
.quality-strip strong{font-size:11px;line-height:1.35;color:#f1f4eb;font-weight:740}
.detected{margin:15px 0 14px;border-top:1px solid #2c393b;padding-top:13px}
.object-row{display:grid;grid-template-columns:23px 1fr auto;align-items:center;gap:8px;margin-bottom:7px;padding:8px 10px 8px 7px;border-radius:9px;background:#1b282b;font-size:12px;color:#d8e5df}
.object-number{width:22px;height:22px;display:grid;place-items:center;background:#2d4530;color:#c4f3a6;border-radius:7px;font-weight:850;font-size:10px}
.object-row small{font-size:9px;color:#a0b5ac;text-align:right;max-width:100px}
.market-panel{border-top:1px solid #2b3b40;padding-top:15px;margin:16px 0}
.market-panel .detail-subheading{align-items:start;flex-direction:column;gap:3px}
.market-panel .detail-subheading span{font-size:9px;color:#dfbb83}
.market-track{display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x mandatory;padding:3px 2px 8px;scrollbar-width:thin}
.market-card{flex:0 0 124px;min-width:0;display:flex;flex-direction:column;gap:5px;text-decoration:none;padding:7px;background:#1d2b2e;border:1px solid #304448;border-radius:12px;scroll-snap-align:start}
.market-photo{width:100%;height:90px;border-radius:8px;background:#334242;display:grid;place-items:center;color:#8badab;overflow:hidden}
.market-photo img{width:100%;height:100%;object-fit:cover}
.market-card strong{font-size:16px;letter-spacing:-.03em;color:#e5ede9}
.market-card>span:last-child{font-size:10px;color:#a5b4b3;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.market-disclaimer{font-size:10px!important;line-height:1.55;color:#a5a6a2!important;margin:3px 0 0}
.unavailable-link{font-size:11px;text-align:center;padding:12px;color:#879a9a}
/* Modale photo immersive : noire, grandes commandes, gestes au pouce. */
#gallery-dialog{border:0;border-radius:0;background:#090e11;width:100%;height:100dvh;max-width:none;max-height:100dvh;margin:0;padding:0;overflow:hidden;color:#f4f6f4}
#gallery-dialog::backdrop{background:#050608}
.gallery-shell{max-width:850px;height:100%;display:flex;flex-direction:column;margin:0 auto;padding:calc(12px + env(safe-area-inset-top,0px)) 13px calc(10px + env(safe-area-inset-bottom,0px));gap:10px}
.gallery-top{display:flex;gap:10px;align-items:center;justify-content:space-between}
.gallery-eyebrow{display:flex;gap:12px;align-items:center;color:#b5c0bd;font-size:10px;letter-spacing:.09em;font-weight:800}
.gallery-eyebrow strong{color:var(--accent);font-variant-numeric:tabular-nums;font-size:12px}
.gallery-close{border:1px solid #35403e;background:#1b2527;color:#f4f7f3;border-radius:11px;width:45px;height:45px;display:grid;place-items:center;flex-shrink:0}
.gallery-title{min-height:22px;color:#ebf0ef;font-size:15px;font-weight:760;letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.gallery-stage{position:relative;flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #2a3536;border-radius:17px;background:radial-gradient(circle at center,#283031,#13181a 65%)}
.gallery-scroller{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;overscroll-behavior:contain;touch-action:pan-x pan-y}
.gallery-scroller img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;user-select:none;-webkit-user-drag:none}
.gallery-stage.is-zoomed .gallery-scroller{overflow:auto;display:block;touch-action:pan-x pan-y}
.gallery-stage.is-zoomed img{display:block;max-height:none;max-width:none;width:200%;height:auto;min-height:100%;object-fit:contain;cursor:zoom-out}
.gallery-stage .gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:35px;height:55px;border-radius:12px;border:1px solid #ffffff30;color:#fff;background:#071015c9;font-size:32px;display:grid;place-items:center;line-height:1}
.gallery-arrow.prev{left:4px}.gallery-arrow.next{right:4px}.gallery-arrow:disabled{opacity:.14;pointer-events:none}
.gallery-error{position:absolute;left:14px;right:14px;top:50%;transform:translateY(-50%);padding:18px;background:#202b2f;border-radius:10px;text-align:center;font-size:12px;line-height:1.5}
.gallery-error[hidden]{display:none}
.gallery-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#829391;font-size:10px}
.gallery-zoom{display:flex;align-items:center;gap:6px;border:1px solid #445a47;background:#233629;color:#d7f7c7;padding:0 11px;border-radius:10px;height:37px;white-space:nowrap;font-size:11px;font-weight:750}
.gallery-zoom .icon{width:16px;height:16px}
.gallery-thumbs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 1px 4px;min-height:61px}
.gallery-thumbs::-webkit-scrollbar{display:none}
.gallery-mini{width:53px;height:53px;flex:0 0 53px;overflow:hidden;border:2px solid transparent;padding:0;background:#273035;border-radius:9px}
.gallery-mini.selected{border-color:var(--accent)}.gallery-mini img{display:block;width:100%;height:100%;object-fit:cover}
.gallery-source{display:flex;justify-content:center;align-items:center;gap:9px;border:1px solid #a5d57f;border-radius:10px;min-height:40px;color:#d2f5b5;text-decoration:none;font-size:12px;font-weight:750}
.gallery-source .icon{width:15px;height:15px}
.gallery-source[hidden]{display:none}
.gallery-note{font-size:9px;color:#788987;line-height:1.3;text-align:center;margin:0}
@media (max-width:420px){.listing-main{grid-template-columns:95px minmax(0,1fr);gap:12px}.listing-thumb{width:95px;height:105px}.quality-strip>div{padding:10px 9px}.quality-strip span{font-size:8px}.quality-strip strong{font-size:10px}.gallery-shell{gap:9px}.gallery-title{font-size:14px}}
@media(min-width:700px){.listing-stack{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.listing-thumb img{transition:none}}

/* 6.1 — états de disponibilité accessibles et compréhensibles sur S21 */
.live-note{font-size:10px;color:#97b3ab;padding:2px 0 6px;line-height:1.35}
.listing-closed{border-color:#3c4248!important;background:#192027!important}
.listing-closed .listing-thumb img{filter:grayscale(1) brightness(.48)}
.listing-closed .listing-info .listing-title,.listing-closed .price{color:#9ba6a9!important}
.listing-closed .margin{color:#818e94!important;text-decoration:line-through}
.listing-closed .listing-main{position:relative}
.listing-closed .listing-thumb{position:relative}
.closed-overlay{position:absolute;inset:0;display:grid;place-items:center;font-size:10px;letter-spacing:.08em;font-weight:900;color:#fff;background:#1119238c;text-shadow:0 2px 5px #000;border-radius:11px;z-index:2;pointer-events:none}
.availability-label{display:inline-flex;align-items:center;border:1px solid #536363;border-radius:6px;padding:3px 6px;margin:4px 0;align-self:flex-start;font-size:9px;font-weight:850;letter-spacing:.035em;color:#c2d0ce;background:#233030}
.availability-disponible{background:#243c2c;border-color:#477b57;color:#b7edbe}
.availability-vendu,.availability-indisponible{background:#3a292c;border-color:#80525b;color:#f4b6b6}
.availability-a_verifier{background:#403826;border-color:#836b41;color:#f8dfa8}
.availability-detail{display:flex;flex-direction:column;gap:5px;font-size:12px;background:#202c30;padding:11px;border-radius:11px;margin:10px 0}
.availability-detail strong{color:#ebeee8}.availability-detail small{color:#a8b8b6;line-height:1.4}
.demo-sold{width:100%;border:1px solid #876c75;background:#372b30;color:#f7cad7;border-radius:10px;padding:11px;font-weight:700;margin-bottom:12px}
