:root{--blue:#2563eb;--purple:#6d28d9;--ink:#050b1f;--muted:#667085;--line:#e5e7eb;--bg:#f8fbff;--green:#16a34a;--red:#ef4444}*{box-sizing:border-box}body{margin:0;width:100%;min-height:100vh;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff}.topbar{height:74px;background:#020817;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.brand{display:flex;gap:12px;align-items:center}.logo{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,var(--blue),#07113a);display:grid;place-items:center}.brand strong{font-size:25px}.brand span,.heroText h1 span,.resultsHeader h2 span{color:var(--blue)}.brand small{display:block;font-size:12px;color:#dbeafe}.ghost{background:#0f172a;color:white;border:1px solid #1f2937;border-radius:10px;padding:10px 16px}.home{min-height:565px;display:grid;grid-template-columns:52% 48%;position:relative;overflow:hidden;background:radial-gradient(circle at 70% 20%,#e0f2fe 0,#fff 45%)}.heroText{padding:60px 0 0 54px}.heroText h1{font-size:64px;line-height:1.03;margin:0 0 22px;font-weight:900;letter-spacing:-2px}.heroText p{font-size:18px;line-height:1.55;max-width:520px;color:#14213d}.searchBox{display:flex;margin-top:28px;width:620px;height:58px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 10px 25px #0000000d}.searchBox input,.toolbar input{flex:1;border:0;padding:0 18px;font-size:15px}.searchBox select,.toolbar select{border:0;border-left:1px solid var(--line);padding:0 18px;background:white}.searchBox button,.toolbar button{border:0;background:var(--blue);color:#fff;font-weight:700;padding:0 24px;font-size:16px}.chips{margin-top:24px;display:flex;gap:12px}.chips button,.filters button,.siteTabs button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px 18px;font-weight:700}.heroMap{position:relative;background:linear-gradient(30deg,#ecfeff,#dbeafe);background-image:linear-gradient(90deg,#0000 49%,#dbeafe 50%,#0000 51%),linear-gradient(#0000 49%,#dbeafe 50%,#0000 51%);background-size:72px 72px}.phonePreview{position:absolute;left:56px;top:48px;width:300px;height:500px;background:white;border:10px solid #0b1020;border-radius:42px;padding:18px;box-shadow:0 30px 80px #0003;z-index:2}.phoneHeader{font-weight:900;font-size:18px;margin-bottom:16px}.miniCard{display:grid;grid-template-columns:95px 1fr;gap:12px;border:1px solid var(--line);border-radius:14px;padding:10px;margin-bottom:12px}.miniCard img{width:95px;height:90px;object-fit:contain;border-radius:10px;background:#f1f5f9}.miniCard b{color:var(--green);font-size:20px}.miniCard span{font-weight:800}.pin{position:absolute;width:42px;height:42px;border-radius:50%;background:var(--blue);color:white;display:grid;place-items:center;font-weight:900;box-shadow:0 8px 20px #2563eb66}.p1{right:160px;top:110px}.p2{right:110px;top:245px}.p3{right:70px;top:330px}.p4{right:230px;top:310px}.features{margin:-70px 54px 0;position:relative;background:#fff;border:1px solid #dbe3ef;border-radius:14px;box-shadow:0 14px 40px #0f172a12;display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding:28px;z-index:3}.features b{font-size:16px}.features p{font-size:13px;color:#475467;line-height:1.4}.hidden{display:none}.results{padding:28px;background:var(--bg);min-height:calc(100vh - 74px)}.resultsHeader{display:flex;align-items:center;gap:14px}.resultsHeader h2{font-size:38px;line-height:1.05;margin:0}.resultsHeader p{color:var(--muted);margin:8px 0}.stat{background:#fff;border-radius:14px;padding:18px 28px;text-align:center;box-shadow:0 8px 24px #0000000a}.stat b{display:block;color:var(--purple);font-size:26px}.stat.red b{color:var(--red)}.stat.green b{color:var(--green)}.toolbar{display:flex;height:52px;margin:22px 0;max-width:760px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:white}.filters,.siteTabs{display:flex;gap:12px;margin:14px 0;flex-wrap:wrap}.filters .active,.siteTabs .active{background:var(--purple);color:white}.siteTabs span{background:#ffffff33;border-radius:999px;padding:2px 7px;margin-left:5px}.mainGrid{display:grid;grid-template-columns:1fr 410px;gap:18px}.sortRow{display:flex;justify-content:space-between;align-items:center;margin:10px 0 16px}.sortRow select{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{background:white;border-radius:14px;overflow:hidden;border:1px solid var(--line);box-shadow:0 10px 20px #0000000a}.photoWrap{position:relative;background:#f8fafc;display:flex;align-items:center;justify-content:center}.card img{width:100%;height:420px;object-fit:contain;display:block;background:#f8fafc}.badge{position:absolute;left:9px;bottom:9px;background:var(--red);color:white;padding:7px 9px;border-radius:7px;font-weight:800;font-size:12px}.heart{position:absolute;right:9px;top:9px;background:#fff;border:1px solid #ddd;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}.cardBody{padding:12px}.price{font-size:24px;font-weight:900}.row{display:flex;justify-content:space-between;gap:8px}.city{font-size:13px;color:#475467}.source{font-size:12px;margin-top:10px}.score{border:1px solid #bbf7d0;background:#f0fdf4;border-radius:9px;padding:5px 8px;font-size:12px;color:#15803d;text-align:center}.viewBtn{display:block;width:100%;border:0;background:var(--purple);color:#fff;border-radius:9px;margin-top:12px;padding:12px;font-weight:900;text-align:center;text-decoration:none}.map{position:relative;min-height:560px;border-radius:16px;overflow:hidden;background:linear-gradient(45deg,#d9f99d,#bae6fd);background-image:linear-gradient(40deg,#ffffff66 9%,#0000 10%),linear-gradient(140deg,#ffffff99 8%,#0000 9%);background-size:80px 80px}.zoom{position:absolute;right:20px;top:20px;background:white;border-radius:10px;padding:8px 15px;font-size:24px;line-height:1.5;box-shadow:0 10px 24px #0002}.mapCard{position:absolute;left:26px;bottom:34px;background:white;border-radius:16px;box-shadow:0 16px 40px #0003;display:grid;grid-template-columns:115px 1fr;gap:12px;padding:14px;width:300px}.mapCard img{width:115px;height:95px;object-fit:contain;border-radius:12px;background:#f8fafc}.redText{color:red;margin:4px 0}@media(max-width:900px){body{width:100%}.topbar{height:58px;padding:0 14px}.brand strong{font-size:18px}.ghost{display:none}.home{display:block;height:auto;padding-bottom:20px}.heroText{padding:28px 18px}.heroText h1{font-size:38px}.searchBox{width:100%;display:grid;height:auto}.searchBox input,.searchBox select,.searchBox button{height:48px;border:0;border-bottom:1px solid var(--line)}.heroMap{display:none}.features{margin:0 18px;grid-template-columns:1fr 1fr;padding:16px}.results{padding:14px}.resultsHeader{display:block}.resultsHeader h2{font-size:26px}.stat{display:inline-block;margin:5px 3px;padding:10px 12px}.toolbar{max-width:100%;height:auto;display:grid}.toolbar input,.toolbar select,.toolbar button{height:44px}.mainGrid{display:block}.map{display:none}.cards{grid-template-columns:1fr}.card{display:grid;grid-template-columns:130px 1fr}.card img{height:220px}.viewBtn{display:none}.badge{font-size:11px}.price{font-size:21px}.siteTabs{overflow:auto;flex-wrap:nowrap}.filters{overflow:auto;flex-wrap:nowrap}.filters button,.siteTabs button{white-space:nowrap}}
.heart.saved{color:#ef4444}.emptyState{background:white;border:1px solid var(--line);border-radius:14px;padding:28px;color:var(--muted)}

.metaLine{font-size:12px;color:#344054;margin-top:4px;line-height:1.25}.managerTag{display:inline-block;background:#fee2e2;color:#b91c1c;border:1px solid #fecaca;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900;margin-top:6px;margin-bottom:4px}
.inputError{outline:2px solid #ef4444!important;background:#fff1f2!important}.pagination{display:flex;justify-content:center;align-items:center;gap:14px;margin:22px 0 8px}.pagination button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px 16px;font-weight:900}.pagination button:disabled{opacity:.45}.pagination span{font-weight:800;color:#344054}

.climateTag{display:inline-block;background:#dbeafe;color:#1d4ed8;border:1px solid #93c5fd;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900;margin-top:6px;margin-bottom:4px}


.loadControls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 18px}.loadControls button{border:1px solid #d7dce5;background:#fff;border-radius:10px;padding:9px 12px;font-weight:800;cursor:pointer}.loadControls button:hover{background:#f4f7ff}.loadControls button:disabled{opacity:.55;cursor:not-allowed}.loadControls small{color:#667085;font-weight:700}

.siteTabs em{font-style:normal;font-size:11px;color:#64748b;margin-left:6px}.siteTabs .active em{color:#e0e7ff}.siteTabs button{min-width:108px;text-align:center}

/* V66 real map */
.map{background:#e5eef8;position:relative}.auctionMap{position:absolute;inset:0;z-index:1}.mapFallback{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;background:#ffffffee;border:1px solid var(--line);border-radius:12px;padding:12px 16px;color:#475467;font-weight:700;box-shadow:0 10px 24px #0002}.mapCard{z-index:3}.auctionPin{background:transparent;border:0}.auctionPin span{display:block;background:var(--purple);color:#fff;border:2px solid #fff;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:900;box-shadow:0 8px 18px #0004;white-space:nowrap}.leaflet-popup-content{font-family:Inter,Arial,sans-serif}.leaflet-popup-content a{color:var(--purple);font-weight:900}.leaflet-control-attribution{font-size:10px}
@media(max-width:900px){.auctionMap{display:none}}

/* V67 map square sizing fix */
.mainGrid{align-items:start}
.map{
  width:410px;
  height:410px;
  min-height:0;
  align-self:start;
  position:sticky;
  top:16px;
}
.auctionMap{height:100%;width:100%}
.mapCard{
  left:14px;
  bottom:14px;
  width:calc(100% - 28px);
  max-width:360px;
}
@media(max-width:1100px){
  .mainGrid{grid-template-columns:1fr 360px}
  .map{width:360px;height:360px}
  .mapCard{grid-template-columns:86px 1fr;font-size:12px}
  .mapCard img{width:86px;height:72px}
}
@media(max-width:900px){
  .map{display:none}
}

/* V69 one full-search loading popup */
.globalLoader{position:fixed;inset:0;z-index:99999;background:rgba(248,251,255,.86);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center}.globalLoader.hidden{display:none}.globalLoaderBox{width:min(420px,calc(100vw - 36px));background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 80px #02081733;padding:26px;text-align:center}.globalLoaderBox h3{margin:8px 0 8px;font-size:22px}.globalLoaderBox p{margin:0 0 18px;color:#475467;font-weight:700}.loaderSpinner{width:42px;height:42px;border-radius:50%;border:4px solid #e5e7eb;border-top-color:var(--purple);margin:0 auto 10px;animation:spin .9s linear infinite}.loaderBar{height:12px;background:#eef2ff;border-radius:999px;overflow:hidden;margin:14px 0 10px}.loaderBar span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--blue),var(--purple));transition:width .25s ease}.globalLoaderBox b{font-size:18px;color:var(--purple)}@keyframes spin{to{transform:rotate(360deg)}}

/* V71 cleanup: remove map sections, ST manual load buttons, and top stat cards */
.home{display:block;min-height:auto;background:radial-gradient(circle at 70% 20%,#e0f2fe 0,#fff 45%);padding-bottom:56px}.heroText{padding:60px 54px 0}.heroText p{max-width:680px}.heroMap,.pin,.phonePreview,.map,.auctionMap,.mapFallback,.mapCard,.loadControls,.stat{display:none!important}.features{grid-template-columns:repeat(5,1fr);margin:0 54px 0}.resultsHeader{display:block}.mainGrid{display:block}.cards{grid-template-columns:repeat(3,1fr)}
@media(max-width:900px){.home{padding-bottom:20px}.heroText{padding:28px 18px}.features{grid-template-columns:1fr 1fr;margin:0 18px}.cards{grid-template-columns:1fr}.mainGrid{display:block}}

/* v72: make sure hidden sections actually stay hidden after the no-map cleanup overrides */
.hidden,
.home.hidden,
.features.hidden,
.results.hidden {
  display: none !important;
}

/* Phase 1 fixed multi-photo thumbnails: 5 thumbnails total below the main image; thumbnail #1 is the main/original image */
.photoWrap{display:block;background:#f8fafc}.mainPhotoFrame{position:relative;background:#f8fafc;display:flex;align-items:center;justify-content:center}.card .mainPhoto{width:100%;height:420px;object-fit:contain;display:block;background:#f8fafc}.photoThumbsWrap{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px;background:#fff;border-top:1px solid var(--line);max-width:100%;min-height:64px}.photoThumbs{display:flex;gap:7px;overflow:hidden;justify-content:center;align-items:center;max-width:100%}.photoThumb{flex:0 0 auto;width:54px;height:46px;border:2px solid transparent;border-radius:8px;padding:0;background:#f8fafc;overflow:hidden;cursor:pointer}.photoThumb.active{border-color:var(--purple)}.photoThumb img{width:100%;height:100%;object-fit:cover;display:block;background:#f8fafc}.photoWrap .badge{z-index:2}.photoWrap .heart{z-index:4}.thumbArrow{width:28px;height:46px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#475467;font-size:26px;line-height:1;font-weight:900;display:grid;place-items:center;cursor:pointer;flex:0 0 auto}.thumbArrow:disabled{opacity:.3;cursor:default}.thumbArrow.invisible{visibility:hidden;pointer-events:none}.photoThumb.blank{display:none}@media(max-width:900px){.card .mainPhoto{height:220px}.photoThumbsWrap{padding:6px;gap:5px;min-height:50px}.photoThumbs{gap:5px}.photoThumb{width:42px;height:36px}.thumbArrow{width:24px;height:36px;font-size:22px}}

/* Storage auction cinematic loading popup */
.globalLoaderBox.storageThemeLoader{
  width:min(560px,calc(100vw - 28px));
  padding:24px 24px 20px;
  border-radius:24px;
  position:relative;
  overflow:hidden;
  border:1px solid #c7d2fe;
  background:
    radial-gradient(circle at top right,#dbeafe 0,#ffffff 35%),
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
.storageThemeLoader:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent 0 35%,#ffffff88 45%,transparent 55% 100%);
  transform:translateX(-110%);
  animation:loaderShine 4s linear infinite;
  pointer-events:none;
}
.storageThemeLoader > *{position:relative;z-index:1}
.auctionScene{
  position:relative;
  height:200px;
  margin:-4px 0 10px;
  border-radius:18px;
  overflow:hidden;
  background:linear-gradient(180deg,#eff6ff 0%,#dbeafe 42%,#bfdbfe 43%,#dbeafe 100%);
  border:1px solid #dbeafe;
}
.auctionScene:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:42px;
  background:linear-gradient(180deg,#6b728000 0%,#9ca3af55 45%,#cbd5e1 100%);
}
.storageUnitVisual{
  position:absolute;
  left:50%;
  bottom:32px;
  transform:translateX(-50%);
  width:275px;
  height:132px;
  border-radius:12px 12px 4px 4px;
  border:2px solid #94a3b8;
  background:#ffffff;
  box-shadow:0 12px 24px #0f172a1f;
  overflow:hidden;
}
.unitHeader{
  position:absolute;
  left:12px;top:8px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  color:#475569;
  z-index:3;
}
.unitInterior{
  position:absolute;
  inset:22px 12px 10px;
  background:linear-gradient(180deg,#f8fafc 0%,#eef2ff 100%);
  border-radius:6px;
  overflow:hidden;
}
.unitDoor{
  position:absolute;
  left:0;right:0;top:0;
  height:58%;
  background:repeating-linear-gradient(180deg,#94a3b8 0 8px,#cbd5e1 8px 16px);
  border-bottom:3px solid #64748b;
  box-shadow:0 12px 18px #02081730;
  transform-origin:top;
  animation:doorLift 2.8s ease-in-out infinite;
}
.box,.chair{
  position:absolute;
  display:block;
  bottom:0;
  border-radius:4px;
}
.box{background:linear-gradient(180deg,#d6b388,#b7794c);border:1px solid #8b5e3c}
.b1{left:16px;width:42px;height:32px}
.b2{left:64px;width:36px;height:46px}
.b3{right:24px;width:56px;height:38px}
.chair{right:98px;width:28px;height:52px;border:2px solid #64748b;background:transparent;border-bottom-width:7px;border-radius:6px 6px 2px 2px}
.auctionCrowd{
  position:absolute;
  left:20px;
  right:84px;
  bottom:12px;
  height:72px;
}
.person{
  position:absolute;
  bottom:0;
  width:24px;
  height:44px;
  background:#1e293b;
  border-radius:10px 10px 6px 6px;
  transform-origin:bottom center;
  animation:bidBob 1.8s ease-in-out infinite;
}
.person:before{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  top:-14px;
  width:20px;height:20px;border-radius:50%;
  background:#334155;
}
.person:after{
  content:"";
  position:absolute;
  right:-9px;top:10px;
  width:11px;height:18px;border-radius:3px;
  background:#f8fafc;border:2px solid #94a3b8;
}
.p1{left:2%;animation-delay:0s}.p2{left:18%;height:48px;animation-delay:.15s}.p3{left:36%;height:42px;animation-delay:.3s}.p4{left:56%;height:50px;animation-delay:.12s}.p5{left:75%;height:45px;animation-delay:.25s}
.auctioneerStand{
  position:absolute;
  right:10px;
  bottom:18px;
  width:120px;
  height:135px;
}
.auctioneer{
  position:absolute;
  right:26px;
  bottom:16px;
  width:38px;height:54px;
  background:#6d28d9;
  border-radius:12px 12px 8px 8px;
}
.auctioneer:before{
  content:"";
  position:absolute;
  left:50%;top:-18px;transform:translateX(-50%);
  width:24px;height:24px;border-radius:50%;background:#1f2937;
}
.auctioneer:after{
  content:"";
  position:absolute;
  left:-18px;top:18px;
  width:22px;height:6px;border-radius:6px;background:#1f2937;
  transform:rotate(-20deg);
}
.gavel{
  position:absolute;
  right:50px;top:48px;
  width:40px;height:8px;border-radius:8px;background:#6b4423;
  transform-origin:right center;
  animation:gavelTap 1.6s ease-in-out infinite;
}
.gavel:before{
  content:"";
  position:absolute;left:-2px;top:-6px;
  width:14px;height:18px;border-radius:4px;background:#8b5e34;
}
.speechBubble{
  position:absolute;
  right:0;top:0;
  min-width:112px;
  padding:8px 12px;
  background:#ffffff;
  color:#111827;
  border:2px solid #c7d2fe;
  border-radius:16px;
  font-weight:900;
  box-shadow:0 10px 24px #0f172a1f;
  text-align:center;
}
.speechBubble:after{
  content:"";
  position:absolute;
  right:24px;bottom:-11px;
  width:18px;height:18px;background:#fff;
  border-right:2px solid #c7d2fe;border-bottom:2px solid #c7d2fe;
  transform:rotate(45deg);
}
.storageThemeLoader h3{margin:6px 0 8px;font-size:24px}
.storageThemeLoader p{margin:0 0 12px;color:#334155;font-weight:800}
.storageThemeLoader .loaderBar{
  height:16px;
  border:1px solid #c7d2fe;
  background:#e0e7ff;
  margin:12px 0 8px;
  box-shadow:inset 0 1px 4px #ffffff;
}
.storageThemeLoader .loaderBar span{
  background:linear-gradient(90deg,#2563eb 0%,#6d28d9 58%,#8b5cf6 100%);
  transition:width .12s linear;
  position:relative;
}
.storageThemeLoader .loaderBar span:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent 0 35%,#ffffff88 50%,transparent 65% 100%);
  animation:barSheen 1.4s linear infinite;
}
.loaderMeta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.loaderMeta b{font-size:20px;color:#4c1d95}
#globalLoaderStageHint{font-size:13px;color:#475569;font-weight:900}
.storageThemeLoader .loaderHint{
  display:block;
  color:#667085;
  font-weight:800;
  line-height:1.35;
  margin-top:8px;
}
.stage-once .speechBubble,.stage-once .loaderMeta b{color:#1d4ed8}
.stage-twice .speechBubble,.stage-twice .loaderMeta b{color:#6d28d9}
.stage-sold .speechBubble,.stage-sold .loaderMeta b{color:#15803d}
.stage-sold .speechBubble{border-color:#86efac}
.stage-sold .unitDoor{animation-duration:1.4s}
.stage-sold .gavel{animation-duration:.9s}
@keyframes loaderShine{to{transform:translateX(110%)}}
@keyframes doorLift{0%,100%{transform:translateY(0)}50%{transform:translateY(-34px)}}
@keyframes bidBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes gavelTap{0%,100%{transform:rotate(10deg)}50%{transform:rotate(-18deg)}}
@keyframes barSheen{from{transform:translateX(-120%)}to{transform:translateX(120%)}}
@media(max-width:900px){
  .globalLoaderBox.storageThemeLoader{padding:18px 16px 16px}
  .auctionScene{height:170px}
  .storageUnitVisual{width:220px;height:116px}
  .auctioneerStand{transform:scale(.88);transform-origin:bottom right;right:2px}
  .auctionCrowd{right:60px;left:12px}
  .speechBubble{min-width:96px;padding:7px 10px;font-size:13px}
  .storageThemeLoader h3{font-size:21px}
  .loaderMeta{align-items:flex-start;flex-direction:column}
  #globalLoaderStageHint{font-size:12px}
}

/* v8f loader sequence refinement: auctioneer first, then unit opens, then bidding, then sold */
.storageThemeLoader .auctionCrowd,
.storageThemeLoader .person{
  transition:opacity .35s ease, transform .35s ease, filter .35s ease;
}
.storageThemeLoader .storageUnitVisual{
  transition:transform .45s ease, opacity .35s ease, box-shadow .35s ease;
}
.storageThemeLoader .unitDoor{
  transition:transform .55s ease;
}
.storageThemeLoader .gavel,
.storageThemeLoader .speechBubble{
  transition:all .3s ease;
}

.stage-intro .auctionCrowd{
  opacity:0;
  transform:translateY(20px) scale(.96);
}
.stage-intro .storageUnitVisual{
  opacity:.92;
  transform:translateX(-50%) scale(.96);
  box-shadow:0 8px 18px #0f172a14;
}
.stage-intro .unitDoor{
  transform:translateY(0);
  animation:none;
}
.stage-intro .gavel{animation:gavelTap 2.2s ease-in-out infinite}
.stage-intro .speechBubble,
.stage-intro .loaderMeta b{color:#2563eb}

.stage-open .auctionCrowd{
  opacity:1;
  transform:translateY(0) scale(1);
}
.stage-open .storageUnitVisual{
  opacity:1;
  transform:translateX(-50%) scale(1);
}
.stage-open .unitDoor{
  transform:translateY(-32px);
  animation:none;
}
.stage-open .person{
  animation:crowdArrive 1.4s ease-in-out infinite;
}
.stage-open .speechBubble,
.stage-open .loaderMeta b{color:#2563eb}

.stage-once .auctionCrowd,
.stage-twice .auctionCrowd,
.stage-sold .auctionCrowd{
  opacity:1;
  transform:translateY(0) scale(1);
}
.stage-once .unitDoor,
.stage-twice .unitDoor{
  transform:translateY(-36px);
  animation:none;
}
.stage-once .person,
.stage-twice .person{
  animation:bidRaise 1.5s ease-in-out infinite;
}
.stage-once .p2,.stage-twice .p2{animation-delay:.15s}
.stage-once .p3,.stage-twice .p3{animation-delay:.35s}
.stage-once .p4,.stage-twice .p4{animation-delay:.55s}
.stage-once .p5,.stage-twice .p5{animation-delay:.75s}
.stage-once .speechBubble,
.stage-once .loaderMeta b{color:#4f46e5}
.stage-twice .speechBubble,
.stage-twice .loaderMeta b{color:#7c3aed}
.stage-twice .gavel{animation:gavelTap 1.05s ease-in-out infinite}

.stage-sold .unitDoor{
  transform:translateY(0);
  animation:none;
}
.stage-sold .gavel{animation:none; transform:rotate(0deg)}
.stage-sold .speechBubble,
.stage-sold .loaderMeta b{color:#15803d}
.stage-sold .speechBubble{border-color:#86efac;background:#f0fdf4}
.stage-sold .person{
  animation:none;
  opacity:.34;
  transform:translateY(0) scale(.95);
  filter:saturate(.7);
}
.stage-sold .p4{
  opacity:1;
  background:#10b981;
  transform:translateY(-10px) scale(1.12);
  filter:none;
  animation:winnerCelebrate .82s ease-in-out infinite;
}
.stage-sold .p4:before{
  background:#065f46;
  box-shadow:0 0 0 4px #bbf7d0;
}
.stage-sold .p4:after{
  content:"";
  right:-14px;
  top:2px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#fde047;
  border:2px solid #fef3c7;
  box-shadow:0 0 0 4px #fff7ed;
}

@keyframes crowdArrive{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-2px) scale(1.01)}
}
@keyframes bidRaise{
  0%,100%{transform:translateY(0) rotate(0deg)}
  30%{transform:translateY(-2px) rotate(-1deg)}
  55%{transform:translateY(-7px) rotate(1deg)}
  100%{transform:translateY(0) rotate(0deg)}
}
@keyframes winnerCelebrate{
  0%,100%{transform:translateY(-8px) scale(1.08)}
  50%{transform:translateY(-16px) scale(1.16)}
}

/* v8f loader polish: crowd in front, valuable items, and sold closes door fully */
.storageThemeLoader .storageUnitVisual{
  bottom:40px;
  z-index:2;
}
.storageThemeLoader .unitInterior{
  inset:22px 10px 10px;
  z-index:1;
  background:linear-gradient(180deg,#f8fafc 0%,#eef2ff 70%,#e2e8f0 100%);
}
.storageThemeLoader .unitDoor{
  z-index:3;
  height:100%;
  background:
    linear-gradient(180deg,#e2e8f0 0%,#cbd5e1 8%,#94a3b8 100%),
    repeating-linear-gradient(180deg,#94a3b8 0 8px,#cbd5e1 8px 16px);
  background-blend-mode:multiply;
  border-bottom:4px solid #64748b;
  box-shadow:0 12px 18px #02081730;
}
.storageThemeLoader .auctionCrowd{
  left:18px;
  right:18px;
  bottom:4px;
  height:90px;
  z-index:4;
}
.storageThemeLoader .auctioneerStand{z-index:5}
.storageThemeLoader .person{
  width:26px;
  height:48px;
  box-shadow:0 4px 12px #0f172a22;
}
.storageThemeLoader .person:after{
  right:-7px;
  top:7px;
  width:12px;
  height:20px;
  border-radius:4px;
}
.storageThemeLoader .auctionCrowd .p1{left:0%;height:42px}
.storageThemeLoader .auctionCrowd .p2{left:14%;height:52px}
.storageThemeLoader .auctionCrowd .p3{left:28%;height:44px}
.storageThemeLoader .auctionCrowd .p4{left:63%;height:54px}
.storageThemeLoader .auctionCrowd .p5{left:80%;height:46px}
.storageThemeLoader .box,
.storageThemeLoader .chair,
.storageThemeLoader .gameConsole,
.storageThemeLoader .gameStack,
.storageThemeLoader .cardBinder,
.storageThemeLoader .cardSlab,
.storageThemeLoader .collectibleBall,
.storageThemeLoader .antiqueVase,
.storageThemeLoader .coinChest{
  position:absolute;
  display:block;
  bottom:0;
}
.storageThemeLoader .box{background:linear-gradient(180deg,#deb98d,#b7794c);border:1px solid #8b5e3c;border-radius:4px}
.storageThemeLoader .b1{left:12px;width:34px;height:24px}
.storageThemeLoader .b2{left:52px;width:30px;height:38px}
.storageThemeLoader .b3{right:20px;width:42px;height:30px}
.storageThemeLoader .b4{left:94px;width:26px;height:20px}
.storageThemeLoader .chair{right:78px;width:26px;height:46px;border:2px solid #64748b;background:transparent;border-bottom-width:7px;border-radius:6px 6px 2px 2px}
.storageThemeLoader .gameConsole{left:124px;width:24px;height:18px;background:#111827;border-radius:4px;border:2px solid #6b7280;bottom:3px}
.storageThemeLoader .gameConsole:before,
.storageThemeLoader .gameConsole:after{content:"";position:absolute;top:5px;width:4px;height:4px;border-radius:50%;background:#f8fafc}
.storageThemeLoader .gameConsole:before{left:4px}
.storageThemeLoader .gameConsole:after{right:4px}
.storageThemeLoader .gameStack{left:152px;width:16px;height:30px;bottom:2px;background:linear-gradient(180deg,#1d4ed8 0 33%,#7c3aed 33% 66%,#ef4444 66% 100%);border:1px solid #4338ca;border-radius:3px}
.storageThemeLoader .cardBinder{left:176px;width:16px;height:42px;bottom:2px;background:linear-gradient(180deg,#ec4899,#7c3aed);border-radius:3px;border:1px solid #6d28d9}
.storageThemeLoader .cardSlab{left:196px;width:14px;height:24px;bottom:4px;background:#ffffff;border:2px solid #cbd5e1;border-radius:3px;box-shadow:0 0 0 1px #e2e8f0 inset}
.storageThemeLoader .cardSlab:before{content:"";position:absolute;left:2px;right:2px;top:3px;height:8px;background:linear-gradient(90deg,#facc15,#60a5fa,#fb7185);border-radius:2px}
.storageThemeLoader .collectibleBall{left:214px;width:18px;height:18px;bottom:5px;border-radius:50%;background:linear-gradient(180deg,#ef4444 0 48%,#ffffff 48% 52%,#ffffff 100%);border:2px solid #1f2937}
.storageThemeLoader .collectibleBall:before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:5px;height:5px;border-radius:50%;background:#fff;border:1px solid #1f2937}
.storageThemeLoader .antiqueVase{right:70px;width:18px;height:34px;bottom:4px;background:linear-gradient(180deg,#f8d9a0,#c58f3d);border:1px solid #9a6a21;border-radius:8px 8px 6px 6px}
.storageThemeLoader .antiqueVase:before{content:"";position:absolute;left:3px;right:3px;top:-5px;height:10px;border:2px solid #9a6a21;border-bottom:0;border-radius:8px 8px 0 0}
.storageThemeLoader .coinChest{right:94px;width:24px;height:16px;bottom:5px;background:linear-gradient(180deg,#8b5e34,#6b4423);border:1px solid #5b3a1d;border-radius:3px}
.storageThemeLoader .coinChest:before{content:"";position:absolute;left:2px;right:2px;top:-7px;height:10px;background:linear-gradient(180deg,#a16207,#854d0e);border:1px solid #713f12;border-bottom:0;border-radius:12px 12px 0 0}
.storageThemeLoader .coinChest:after{content:"";position:absolute;right:-6px;top:-6px;width:10px;height:10px;border-radius:50%;background:#facc15;border:1px solid #eab308;box-shadow:-4px 4px 0 #fde047}

.stage-intro .unitDoor{transform:translateY(0) !important}
.stage-open .unitDoor{transform:translateY(-88px) !important}
.stage-once .unitDoor,
.stage-twice .unitDoor{transform:translateY(-92px) !important}
.stage-sold .unitDoor{transform:translateY(0) !important}
.stage-sold .person{opacity:.34;transform:translateY(0) scale(.95)}
.stage-sold .p4{opacity:1 !important;transform:translateY(-12px) scale(1.14) !important}

@media(max-width:900px){
  .storageThemeLoader .auctionCrowd{left:10px;right:8px;height:82px}
  .storageThemeLoader .storageUnitVisual{width:222px;height:118px;bottom:34px}
  .storageThemeLoader .unitInterior{inset:20px 8px 8px}
  .storageThemeLoader .auctionCrowd .p4{left:60%}
}


/* loader-only tune: raise bubble and show more bidders clearly */
.storageThemeLoader .auctioneerStand{right:6px !important; width:116px !important; z-index:6 !important}
.storageThemeLoader .speechBubble{top:-28px !important; right:-6px !important; z-index:8 !important}
.storageThemeLoader .speechBubble:after{right:26px !important}
.storageThemeLoader .auctionCrowd{
  left:10px !important;
  right:auto !important;
  width:148px !important;
  bottom:4px !important;
  height:92px !important;
  z-index:5 !important;
}
.storageThemeLoader .person{
  width:18px !important;
  opacity:1 !important;
}
.storageThemeLoader .person:before{
  width:16px !important;
  height:16px !important;
  top:-12px !important;
}
.storageThemeLoader .person:after{
  width:9px !important;
  height:15px !important;
  right:-5px !important;
  top:8px !important;
}
.storageThemeLoader .auctionCrowd .p1{left:0px !important;height:40px !important}
.storageThemeLoader .auctionCrowd .p2{left:20px !important;height:48px !important}
.storageThemeLoader .auctionCrowd .p3{left:42px !important;height:43px !important}
.storageThemeLoader .auctionCrowd .p4{left:64px !important;height:52px !important}
.storageThemeLoader .auctionCrowd .p5{left:86px !important;height:45px !important}
.storageThemeLoader .auctionCrowd .p6{left:108px !important;height:49px !important}
.storageThemeLoader .auctionCrowd .p7{left:130px !important;height:42px !important}
.stage-once .p6,.stage-twice .p6{animation-delay:.95s}
.stage-once .p7,.stage-twice .p7{animation-delay:1.15s}
@media(max-width:900px){
  .storageThemeLoader .speechBubble{top:-24px !important; right:-4px !important}
  .storageThemeLoader .auctionCrowd{width:124px !important; left:8px !important}
  .storageThemeLoader .person{width:16px !important}
  .storageThemeLoader .auctionCrowd .p1{left:0px !important}
  .storageThemeLoader .auctionCrowd .p2{left:18px !important}
  .storageThemeLoader .auctionCrowd .p3{left:36px !important}
  .storageThemeLoader .auctionCrowd .p4{left:54px !important}
  .storageThemeLoader .auctionCrowd .p5{left:72px !important}
  .storageThemeLoader .auctionCrowd .p6{left:90px !important}
  .storageThemeLoader .auctionCrowd .p7{left:108px !important}
}


/* Real Firebase login/signup UI */
.topbarActions{display:flex;align-items:center;gap:10px}.authPrimaryBtn{border:0;background:var(--blue);color:#fff;border-radius:10px;padding:10px 16px;font-weight:900;cursor:pointer}.authHeaderBtn,.accountBtn{cursor:pointer}.accountBtn{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.authModal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:18px}.authModal.hidden{display:none!important}.authBackdrop{position:absolute;inset:0;background:rgba(2,8,23,.62);backdrop-filter:blur(4px)}.authPanel{position:relative;width:min(440px,calc(100vw - 28px));background:#fff;border-radius:22px;box-shadow:0 28px 90px rgba(2,8,23,.38);padding:26px;border:1px solid #dbe3ef}.authClose{position:absolute;right:14px;top:12px;border:0;background:#f1f5f9;border-radius:999px;width:34px;height:34px;font-size:24px;line-height:1;cursor:pointer}.authPanel h2{margin:0 34px 8px 0;font-size:28px;letter-spacing:-.03em}.authPanel p{margin:0 0 18px;color:#475467;line-height:1.4}.authTabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#f1f5f9;border-radius:12px;padding:5px;margin-bottom:14px}.authTabs button{border:0;border-radius:9px;padding:10px;font-weight:900;background:transparent;cursor:pointer;color:#475467}.authTabs button.active{background:#fff;color:var(--blue);box-shadow:0 4px 12px rgba(15,23,42,.08)}.oauthBtn{width:100%;height:46px;border-radius:12px;border:1px solid var(--line);background:#fff;font-weight:900;cursor:pointer;margin:8px 0;font-size:15px}.googleBtn{color:#111827}.appleBtn{background:#050505;color:#fff;border-color:#050505}.authDivider{display:flex;align-items:center;gap:10px;margin:14px 0;color:#667085;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.authDivider:before,.authDivider:after{content:"";height:1px;background:#e5e7eb;flex:1}.authForm{display:grid;gap:12px}.authForm label{display:grid;gap:6px;font-weight:900;color:#344054;font-size:13px}.authForm input{height:46px;border:1px solid var(--line);border-radius:12px;padding:0 13px;font-size:15px}.authSubmit{height:48px;border:0;border-radius:12px;background:linear-gradient(90deg,var(--blue),var(--purple));color:#fff;font-size:16px;font-weight:900;cursor:pointer;margin-top:4px}.authSubmit:disabled,.oauthBtn:disabled{opacity:.65;cursor:wait}.authMessage{border-radius:12px;padding:11px 12px;margin:0 0 12px;font-weight:800;font-size:13px;line-height:1.35}.authMessage.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.authMessage.success{background:#ecfdf5;color:#065f46;border:1px solid #bbf7d0}.resetPassword{border:0;background:transparent;color:var(--blue);font-weight:900;margin:12px auto 0;display:block;cursor:pointer}@media(max-width:900px){.topbarActions{gap:6px}.authPrimaryBtn,.authHeaderBtn,.accountBtn{padding:8px 10px;font-size:12px}.brand small{display:none}.authPanel{padding:22px 18px}.authPanel h2{font-size:24px}}
.topbarActions .authHeaderBtn,.topbarActions .accountBtn{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:900px){#homeBtn{display:none!important}.topbarActions .authHeaderBtn,.topbarActions .accountBtn{display:inline-flex!important}.topbar{gap:8px}.brand{min-width:0}.brand strong{white-space:nowrap}.authPrimaryBtn{display:inline-flex;align-items:center;justify-content:center}}

/* Real account + watchlist UI */
.watchlistBtn{cursor:pointer;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.watchlistBtn span{background:#ffffff22;border:1px solid #ffffff22;border-radius:999px;padding:1px 7px;font-size:12px;font-weight:900}
.accountPanel{width:min(520px,calc(100vw - 28px))}
.watchlistPanel{width:min(780px,calc(100vw - 28px));max-height:88vh;overflow:auto}
.accountSub{color:#475467;font-weight:700}
.accountDetails{display:grid;gap:10px;margin:14px 0 18px}
.accountDetails div{display:grid;grid-template-columns:150px 1fr;gap:12px;border:1px solid var(--line);border-radius:12px;padding:12px;background:#f8fafc}
.accountDetails b{font-size:13px;color:#475467}
.accountDetails span{font-weight:900;color:#0f172a;overflow-wrap:anywhere}
.tinyText{font-size:12px;color:#475467!important}
.dangerBtn{background:#ef4444!important;margin-top:10px}
.watchlistList{display:grid;gap:12px;margin-top:14px}
.watchItem{display:grid;grid-template-columns:110px 1fr;gap:13px;border:1px solid var(--line);border-radius:14px;padding:12px;background:#fff;box-shadow:0 8px 20px #00000008}
.watchItem img{width:110px;height:92px;object-fit:contain;border-radius:10px;background:#f8fafc;border:1px solid #eef2f7}
.watchInfo{display:grid;gap:5px;min-width:0}
.watchInfo b{font-size:16px;line-height:1.25}
.watchInfo span{font-size:13px;color:#475467}
.watchInfo strong{font-size:14px;color:#111827}
.watchActions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.watchActions a,.watchActions button{border:0;border-radius:10px;padding:9px 12px;font-weight:900;text-decoration:none;cursor:pointer;font-size:13px}
.watchActions a{background:var(--purple);color:#fff}
.watchActions button{background:#fee2e2;color:#b91c1c}
.topbarActions .authHeaderBtn,.topbarActions .accountBtn,.topbarActions .watchlistBtn{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:900px){
  .topbar{height:auto;min-height:58px;flex-wrap:wrap;padding:8px 12px}
  .topbarActions{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
  .topbarActions .authHeaderBtn,.topbarActions .accountBtn,.topbarActions .watchlistBtn{display:inline-flex!important;padding:8px 9px;font-size:12px}
  .watchlistBtn span{padding:0 6px;font-size:11px}
  .authPrimaryBtn{display:inline-flex;align-items:center;justify-content:center;padding:8px 9px;font-size:12px}
  .accountDetails div{grid-template-columns:1fr;gap:4px}
  .watchItem{grid-template-columns:86px 1fr;padding:10px}
  .watchItem img{width:86px;height:76px}
}
.mainVideo{width:100%;height:420px;object-fit:contain;background:#0f172a;display:block}.videoThumb{position:relative;display:grid;place-items:center;background:#111827;color:#fff}.videoThumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.75}.videoThumb .playMini{position:relative;z-index:2;width:24px;height:24px;border-radius:999px;background:rgba(15,23,42,.82);display:grid;place-items:center;font-size:12px;line-height:1;padding-left:2px}.videoThumb.active{border-color:var(--purple)}@media(max-width:900px){.mainVideo{height:220px}.videoThumb .playMini{width:20px;height:20px;font-size:10px}}


/* Enlarged main image / media lightbox */
.mainPhotoFrame .enlargeableMainPhoto{cursor:zoom-in}.mediaExpandHint{position:absolute;right:52px;top:10px;z-index:5;border:0;border-radius:999px;width:34px;height:34px;background:rgba(15,23,42,.72);color:#fff;font-size:18px;font-weight:900;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 18px rgba(15,23,42,.22)}.mediaExpandHint:hover{background:rgba(15,23,42,.88)}.mediaLightbox{position:fixed;inset:0;z-index:100001;display:flex;align-items:center;justify-content:center;padding:22px}.mediaLightbox.hidden{display:none!important}.mediaLightboxBackdrop{position:absolute;inset:0;background:rgba(2,8,23,.82);backdrop-filter:blur(5px)}.mediaLightboxPanel{position:relative;width:min(1100px,calc(100vw - 32px));height:min(86vh,760px);display:flex;align-items:center;justify-content:center}.mediaLightboxClose{position:absolute;right:-4px;top:-48px;width:42px;height:42px;border:0;border-radius:999px;background:#fff;color:#111827;font-size:32px;line-height:1;cursor:pointer;font-weight:800;box-shadow:0 14px 35px rgba(0,0,0,.28);z-index:2}.mediaLightboxContent{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.mediaLightboxImage,.mediaLightboxVideo{max-width:100%;max-height:100%;object-fit:contain;border-radius:14px;background:#0f172a;box-shadow:0 24px 70px rgba(0,0,0,.42)}.mediaLightboxImage{background:#fff}.lightboxOpen{overflow:hidden}@media(max-width:900px){.mediaExpandHint{right:46px;top:8px;width:30px;height:30px;font-size:16px}.mediaLightbox{padding:14px}.mediaLightboxPanel{width:calc(100vw - 20px);height:82vh}.mediaLightboxClose{right:0;top:-46px}}

/* Mobile card media layout fix: stack image above info and keep 5 thumbnails visible */
@media(max-width:900px){
  .cards{grid-template-columns:1fr!important;gap:14px!important}
  .card{display:block!important;grid-template-columns:none!important;width:100%!important;overflow:hidden!important}
  .photoWrap{display:block!important;width:100%!important;max-width:100%!important;background:#f8fafc!important}
  .mainPhotoFrame{display:flex!important;width:100%!important;max-width:100%!important;align-items:center!important;justify-content:center!important;background:#f8fafc!important}
  .card .mainPhoto,.card .mainVideo{width:100%!important;height:260px!important;max-width:100%!important;object-fit:contain!important;display:block!important;background:#f8fafc!important}
  .card .mainVideo{background:#0f172a!important}
  .photoThumbsWrap{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:100%!important;min-height:54px!important;padding:7px 8px!important;gap:5px!important;background:#fff!important;border-top:1px solid var(--line)!important;overflow:visible!important}
  .photoThumbs{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;overflow:hidden!important;max-width:235px!important;min-width:0!important;flex:0 1 auto!important}
  .photoThumb{display:block!important;flex:0 0 42px!important;width:42px!important;height:36px!important;min-width:42px!important;max-width:42px!important;padding:0!important;border-radius:8px!important;overflow:hidden!important}
  .photoThumb.videoThumb{display:grid!important;place-items:center!important}
  .photoThumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
  .thumbArrow{display:grid!important;place-items:center!important;flex:0 0 24px!important;width:24px!important;height:36px!important;font-size:22px!important}
  .thumbArrow.invisible{visibility:hidden!important;display:grid!important}
  .cardBody{display:block!important;padding:12px!important;width:100%!important}
}

/* Mobile: keep View Auction visible and make source tabs obvious/swipeable */
.siteTabsHint{display:none}
@media(max-width:900px){
  .card .viewBtn,
  .viewBtn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:46px!important;
    margin-top:14px!important;
    padding:13px 14px!important;
    border-radius:11px!important;
    font-size:15px!important;
    line-height:1.1!important;
    text-align:center!important;
  }

  .siteTabsHint{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    margin:12px 0 7px!important;
    color:#475467!important;
    font-size:12px!important;
    font-weight:900!important;
    letter-spacing:.01em!important;
  }

  .siteTabs{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:2px 14px 10px 0!important;
    margin:0 0 14px!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
    mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 30px),transparent 100%)!important;
    -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 30px),transparent 100%)!important;
  }
  .siteTabs::-webkit-scrollbar{display:none!important}
  .siteTabs button{
    flex:0 0 auto!important;
    width:max-content!important;
    min-width:max-content!important;
    max-width:none!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    padding:10px 14px!important;
    border-radius:999px!important;
    font-size:13px!important;
    line-height:1!important;
  }
  .siteTabs span{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:22px!important;
    height:20px!important;
    margin-left:6px!important;
    padding:0 6px!important;
    border-radius:999px!important;
  }
}


/* Loader end-scene polish: keep motion alive at 92%+ so it never feels frozen */
.storageThemeLoader .unitLock{
  position:absolute;
  left:50%;
  top:58%;
  width:22px;
  height:18px;
  border-radius:4px;
  background:linear-gradient(180deg,#facc15,#d97706);
  border:2px solid #92400e;
  box-shadow:0 5px 12px #0f172a33;
  z-index:6;
  opacity:0;
  transform:translate(-50%,-40%) scale(.45) rotate(-8deg);
  pointer-events:none;
}
.storageThemeLoader .unitLock:before{
  content:"";
  position:absolute;
  left:4px;
  right:4px;
  top:-13px;
  height:14px;
  border:3px solid #92400e;
  border-bottom:0;
  border-radius:12px 12px 0 0;
  background:transparent;
}
.storageThemeLoader .unitLock:after{
  content:"";
  position:absolute;
  left:50%;
  top:7px;
  width:4px;
  height:7px;
  border-radius:4px;
  background:#78350f;
  transform:translateX(-50%);
}
.stage-sold .unitLock{
  animation:lockAppearOnDoor 1.65s ease-out forwards, lockTinyBounce 1.8s ease-in-out 1.65s infinite;
}
.stage-sold .auctioneerStand{
  animation:auctioneerStepToDoor 1.65s ease-out forwards, auctioneerIdleAfterLock 1.8s ease-in-out 1.65s infinite;
}
.stage-sold .auctioneer:after{
  animation:auctioneerLockArm 1.65s ease-out forwards;
}
.stage-sold .auctionCrowd .person{
  opacity:.78 !important;
  filter:saturate(.75);
  animation:bidderWalkAwayLeft 5.8s ease-in-out infinite !important;
}
.stage-sold .auctionCrowd .p1{animation-name:bidderWalkAwayLeft !important;animation-delay:0s !important}
.stage-sold .auctionCrowd .p2{animation-name:bidderWalkAwayLeft !important;animation-delay:.22s !important}
.stage-sold .auctionCrowd .p3{animation-name:bidderWalkAwayLeft !important;animation-delay:.42s !important}
.stage-sold .auctionCrowd .p4{animation-name:winnerWalkAway !important;animation-delay:.1s !important;background:#10b981 !important;filter:none !important}
.stage-sold .auctionCrowd .p5{animation-name:bidderWalkAwayRight !important;animation-delay:.18s !important}
.stage-sold .auctionCrowd .p6{animation-name:bidderWalkAwayRight !important;animation-delay:.36s !important}
.stage-sold .auctionCrowd .p7{animation-name:bidderWalkAwayRight !important;animation-delay:.54s !important}
.stage-sold .gavel{animation:gavelFinalTap 1.65s ease-out forwards !important}
@keyframes auctioneerLockDoor{
  0%{opacity:0;transform:translate(0,0) scale(1)}
  35%{opacity:1;transform:translate(-26px,2px) scale(1)}
  72%{opacity:1;transform:translate(-44px,2px) scale(1)}
  100%{opacity:1;transform:translate(-36px,2px) scale(1)}
}
@keyframes auctioneerIdleAfterLock{
  0%,100%{transform:translate(-36px,2px) scale(1)}
  50%{transform:translate(-36px,0) scale(1)}
}
@keyframes auctioneerLockArm{
  0%{left:-18px;top:18px;transform:rotate(-20deg)}
  45%{left:-22px;top:26px;transform:rotate(-5deg)}
  75%,100%{left:-24px;top:30px;transform:rotate(18deg)}
}
@keyframes lockAppearOnDoor{
  0%{opacity:0;transform:translate(-50%,-40%) scale(.45) rotate(-8deg)}
  42%{opacity:0;transform:translate(-50%,-40%) scale(.45) rotate(-8deg)}
  70%{opacity:1;transform:translate(-50%,-50%) scale(1.08) rotate(4deg)}
  100%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(0)}
}
@keyframes lockTinyBounce{
  0%,100%{transform:translate(-50%,-50%) scale(1)}
  50%{transform:translate(-50%,-52%) scale(1.03)}
}
@keyframes bidderWalkAwayLeft{
  0%{opacity:.9;transform:translate(0,0) scale(1)}
  35%{opacity:.75;transform:translate(-12px,1px) scale(.96)}
  70%{opacity:.35;transform:translate(-46px,7px) scale(.82)}
  100%{opacity:.18;transform:translate(-62px,10px) scale(.74)}
}
@keyframes bidderWalkAwayRight{
  0%{opacity:.9;transform:translate(0,0) scale(1)}
  35%{opacity:.75;transform:translate(12px,1px) scale(.96)}
  70%{opacity:.35;transform:translate(46px,7px) scale(.82)}
  100%{opacity:.18;transform:translate(62px,10px) scale(.74)}
}
@keyframes winnerWalkAway{
  0%{opacity:1;transform:translateY(-12px) scale(1.12)}
  25%{opacity:1;transform:translateY(-18px) scale(1.16)}
  65%{opacity:.72;transform:translate(24px,2px) scale(.95)}
  100%{opacity:.34;transform:translate(54px,8px) scale(.78)}
}
@keyframes gavelFinalTap{
  0%{transform:rotate(10deg)}
  35%{transform:rotate(-22deg)}
  58%{transform:rotate(6deg)}
  100%{transform:rotate(0deg)}
}
@media(max-width:900px){
  .storageThemeLoader .unitLock{width:19px;height:16px;top:59%}
  .stage-sold .auctionCrowd .person{animation-duration:5.4s !important}
}

/* Card info structure for updated mobile layout */
.cardInfoGrid{display:grid;grid-template-columns:1fr;gap:12px}
.cardPrimary,.cardMeta{display:grid;align-content:start}
.cardPrimary{gap:7px}
.cardMeta{gap:5px}
.cardPrimary .priceBlock small{display:block;color:#475467;font-weight:700;margin-top:3px}
.unitTitle{display:block;font-size:18px;line-height:1.2;font-weight:900}
.metaLabel{font-weight:900;color:#344054}
.mobileEndsBadge{display:none}
.cardPrimary .managerTag,.cardPrimary .climateTag{margin-right:6px}
.cardMeta .source{margin-top:2px}

/* Mobile listing card layout requested: main image left, vertical thumbs right, info below split in two columns, ending time above bid */
@media(max-width:900px){
  .card{
    border-radius:18px!important;
    overflow:hidden!important;
  }
  .photoWrap{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 84px!important;
    gap:12px!important;
    align-items:stretch!important;
    padding:14px 14px 10px!important;
    background:#fff!important;
  }
  .mainPhotoFrame{
    position:relative!important;
    min-width:0!important;
    min-height:290px!important;
    border:1px solid #e8edf5!important;
    border-radius:16px!important;
    overflow:hidden!important;
    background:#f8fafc!important;
  }
  .card .mainPhoto,
  .card .mainVideo{
    width:100%!important;
    height:100%!important;
    min-height:290px!important;
    max-width:100%!important;
    object-fit:contain!important;
    display:block!important;
    background:#f8fafc!important;
  }
  .card .mainVideo{background:#0f172a!important}
  .photoWrap .badge{display:none!important}
  .photoThumbsWrap{
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    align-items:stretch!important;
    width:84px!important;
    min-width:84px!important;
    max-width:84px!important;
    min-height:290px!important;
    padding:0!important;
    gap:8px!important;
    background:transparent!important;
    border-top:0!important;
    overflow:hidden!important;
  }
  .photoThumbs{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:8px!important;
    width:100%!important;
    max-width:none!important;
    flex:1 1 auto!important;
    overflow:hidden!important;
  }
  .photoThumb{
    flex:0 0 58px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:58px!important;
    min-height:58px!important;
    border-radius:14px!important;
    background:#f8fafc!important;
    overflow:hidden!important;
    border:2px solid transparent!important;
  }
  .photoThumb img{border-radius:12px!important}
  .thumbArrow{
    width:100%!important;
    height:30px!important;
    min-height:30px!important;
    flex:0 0 30px!important;
    border-radius:999px!important;
    font-size:0!important;
    color:transparent!important;
    padding:0!important;
    position:relative!important;
  }
  .thumbArrow::before{
    position:absolute!important;
    inset:0!important;
    display:grid!important;
    place-items:center!important;
    font-size:20px!important;
    line-height:1!important;
    color:#344054!important;
    font-weight:900!important;
  }
  .thumbArrow[data-dir="-1"]::before{content:"⌃"!important}
  .thumbArrow[data-dir="1"]::before{content:"⌄"!important}
  .thumbArrow.invisible{display:none!important}
  .cardBody{
    display:block!important;
    padding:0 14px 14px!important;
    width:100%!important;
  }
  .cardInfoGrid{
    display:grid!important;
    grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)!important;
    gap:0!important;
    border-top:1px solid var(--line)!important;
    padding-top:14px!important;
    align-items:start!important;
  }
  .cardPrimary{
    gap:8px!important;
    padding-right:14px!important;
    border-right:1px solid var(--line)!important;
  }
  .cardMeta{
    gap:8px!important;
    padding-left:14px!important;
  }
  .mobileEndsBadge{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    align-self:flex-start!important;
    max-width:100%!important;
    padding:10px 12px!important;
    border-radius:12px!important;
    background:#ef4444!important;
    color:#fff!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:900!important;
    white-space:nowrap!important;
  }
  .cardPrimary .price{font-size:42px!important;line-height:.96!important}
  .cardPrimary .priceBlock small{font-size:14px!important;line-height:1.2!important}
  .unitTitle{font-size:20px!important;line-height:1.16!important}
  .cardMeta .metaLine,
  .cardMeta .city,
  .cardMeta .source{
    margin:0!important;
    font-size:15px!important;
    line-height:1.35!important;
    color:#1f2937!important;
    overflow-wrap:anywhere!important;
  }
  .cardMeta .source{font-size:14px!important;color:#111827!important}
  .cardPrimary .managerTag,
  .cardPrimary .climateTag{
    margin-top:0!important;
    margin-bottom:0!important;
    width:max-content!important;
    max-width:100%!important;
  }
  .card .viewBtn,
  .viewBtn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:58px!important;
    margin-top:16px!important;
    padding:14px 16px!important;
    border-radius:16px!important;
    font-size:18px!important;
    line-height:1.1!important;
    text-align:center!important;
  }
}

@media(max-width:520px){
  .cardPrimary .price{font-size:34px!important}
  .unitTitle{font-size:18px!important}
  .cardMeta .metaLine,
  .cardMeta .city,
  .cardMeta .source{font-size:14px!important}
}

/* Mobile: move manager/climate tags above unit size in the right-side details column */
.mobileMetaTags{display:none}
@media(max-width:900px){
  .cardPrimary > .managerTag,
  .cardPrimary > .climateTag{display:none!important}
  .mobileMetaTags{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    margin:0 0 2px!important;
  }
  .mobileMetaTags .managerTag,
  .mobileMetaTags .climateTag{
    display:inline-flex!important;
    width:auto!important;
    max-width:100%!important;
    margin:0!important;
    align-items:center!important;
    font-size:11px!important;
    line-height:1.1!important;
    padding:5px 8px!important;
  }
}


/* Keep manager/climate pills only as wide as their text */
.managerTag,
.climateTag,
.mobileMetaTags .managerTag,
.mobileMetaTags .climateTag,
.cardMeta .managerTag,
.cardMeta .climateTag,
.cardPrimary .managerTag,
.cardPrimary .climateTag{
  display:inline-flex!important;
  width:fit-content!important;
  max-width:100%!important;
  align-self:flex-start!important;
  justify-self:flex-start!important;
  flex:0 0 auto!important;
  white-space:normal!important;
}

.mobileMetaTags{
  align-items:flex-start!important;
  justify-content:flex-start!important;
}


/* Desktop: match the mobile info layout, but keep desktop photos/thumbnails unchanged */
@media(min-width:901px){
  .photoWrap .badge{
    display:none!important;
  }

  .cardBody{
    display:block!important;
    padding:14px!important;
    width:100%!important;
  }

  .cardInfoGrid{
    display:grid!important;
    grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)!important;
    gap:0!important;
    border-top:1px solid var(--line)!important;
    padding-top:14px!important;
    align-items:start!important;
  }

  .cardPrimary{
    gap:8px!important;
    padding-right:14px!important;
    border-right:1px solid var(--line)!important;
  }

  .cardMeta{
    gap:8px!important;
    padding-left:14px!important;
  }

  .mobileEndsBadge{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    align-self:flex-start!important;
    max-width:100%!important;
    padding:9px 11px!important;
    border-radius:11px!important;
    background:#ef4444!important;
    color:#fff!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:900!important;
    white-space:nowrap!important;
  }

  .cardPrimary .price{
    font-size:34px!important;
    line-height:.98!important;
  }

  .cardPrimary .priceBlock small{
    font-size:14px!important;
    line-height:1.2!important;
  }

  .unitTitle{
    font-size:19px!important;
    line-height:1.16!important;
  }

  .cardMeta .metaLine,
  .cardMeta .city,
  .cardMeta .source{
    margin:0!important;
    font-size:14px!important;
    line-height:1.35!important;
    color:#1f2937!important;
    overflow-wrap:anywhere!important;
  }

  .cardMeta .source{
    font-size:13px!important;
    color:#111827!important;
  }

  .cardPrimary > .managerTag,
  .cardPrimary > .climateTag{
    display:none!important;
  }

  .mobileMetaTags{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    margin:0 0 2px!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
  }

  .mobileMetaTags .managerTag,
  .mobileMetaTags .climateTag{
    display:inline-flex!important;
    width:fit-content!important;
    max-width:100%!important;
    margin:0!important;
    align-items:center!important;
    align-self:flex-start!important;
    justify-self:flex-start!important;
    font-size:11px!important;
    line-height:1.1!important;
    padding:5px 8px!important;
  }
}


/* Remove duplicate enlarge image button; users can click the photo itself */
.mediaExpandHint{display:none!important}


/* Mobile: show manager/climate pills only above unit size, not under Unit # */
@media(max-width:900px){
  .cardPrimary > .managerTag,
  .cardPrimary > .climateTag{
    display:none!important;
  }
  .cardMeta .mobileMetaTags{
    display:flex!important;
  }
}


/* Clickable StorageAuctionFinder logo/brand */
.brandHome{
  border:0;
  background:transparent;
  color:inherit;
  padding:0;
  cursor:pointer;
  text-align:left;
  font:inherit;
}
.brandHome:hover strong,
.brandHome:focus-visible strong{
  text-decoration:underline;
  text-underline-offset:4px;
}
.brandHome:focus-visible{
  outline:2px solid #93c5fd;
  outline-offset:4px;
  border-radius:12px;
}


/* Cleaner home feature cards, especially on mobile */
.features{
  grid-template-columns:repeat(4,1fr)!important;
}
@media(max-width:900px){
  .features{
    margin:18px 14px 0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  .features div{
    background:#fff!important;
    border:1px solid var(--line)!important;
    border-radius:14px!important;
    padding:14px 16px!important;
    box-shadow:0 8px 20px #0f172a0d!important;
  }
  .features b{
    display:block!important;
    font-size:15px!important;
    margin-bottom:3px!important;
  }
  .features p{
    margin:0!important;
    font-size:13px!important;
    line-height:1.35!important;
  }
  .heroText p{
    max-width:320px!important;
    font-size:16px!important;
    line-height:1.4!important;
  }
}


/* StorageAuctionFinder header logo */
.brandHome{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-width:0!important;
}
.brandLogoImg{
  display:block;
  width:clamp(230px, 28vw, 400px);
  height:auto;
  max-height:64px;
  object-fit:contain;
}
@media(max-width:900px){
  .brandLogoImg{
    width:min(62vw, 255px);
    max-height:50px;
  }
  .topbar{
    gap:10px;
  }
  .topbarActions{
    gap:8px;
  }
}


/* Final generated StorageAuctionFinder header logo sizing */
.brandLogoImg{
  width:clamp(240px, 30vw, 430px)!important;
  max-height:58px!important;
  object-fit:contain!important;
}
@media(max-width:900px){
  .brandLogoImg{
    width:min(64vw, 250px)!important;
    max-height:46px!important;
  }
}


/* Header sizing override for StorageAuctionFinder logo v3 */
.brandLogoImg{
  width:clamp(220px, 28vw, 390px)!important;
  max-height:60px!important;
  object-fit:contain!important;
}
@media(max-width:900px){
  .brandLogoImg{
    width:min(62vw, 235px)!important;
    max-height:46px!important;
  }
}


/* Keep account/watchlist hidden until login state explicitly shows them */
.topbarActions .hidden,
.accountBtn.hidden,
.watchlistBtn.hidden{
  display:none!important;
}


/* Make the small auction-card watchlist heart fill the circle more */
.heart{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  font-size:26px!important;
  line-height:1!important;
  font-weight:900!important;
}
@media(max-width:900px){
  .heart{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
    font-size:24px!important;
  }
}

/* Mobile media layout: main photo full width with 4 thumbnails underneath */
@media(max-width:900px){
  .photoWrap{
    display:block!important;
    grid-template-columns:none!important;
    gap:0!important;
    width:100%!important;
    max-width:100%!important;
    padding:14px 14px 10px!important;
    background:#fff!important;
  }
  .mainPhotoFrame{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:320px!important;
    border:1px solid #e8edf5!important;
    border-radius:16px!important;
    overflow:hidden!important;
    background:#f8fafc!important;
  }
  .card .mainPhoto,
  .card .mainVideo{
    width:100%!important;
    height:320px!important;
    min-height:320px!important;
    max-width:100%!important;
    object-fit:contain!important;
    display:block!important;
    background:#f8fafc!important;
  }
  .card .mainVideo{background:#0f172a!important}
  .photoThumbsWrap{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:54px!important;
    padding:8px 0 0!important;
    margin:0!important;
    gap:6px!important;
    background:#fff!important;
    border-top:0!important;
    overflow:hidden!important;
  }
  .photoThumbs{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    width:auto!important;
    max-width:calc(100% - 58px)!important;
    min-width:0!important;
    flex:0 1 auto!important;
    overflow:hidden!important;
  }
  .photoThumb{
    display:block!important;
    flex:0 0 52px!important;
    width:52px!important;
    min-width:52px!important;
    max-width:52px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    border-radius:10px!important;
    background:#f8fafc!important;
    overflow:hidden!important;
    border:2px solid transparent!important;
    padding:0!important;
  }
  .photoThumb img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:8px!important;display:block!important}
  .photoThumb.videoThumb{display:grid!important;place-items:center!important}
  .thumbArrow{
    display:grid!important;
    place-items:center!important;
    flex:0 0 24px!important;
    width:24px!important;
    min-width:24px!important;
    max-width:24px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    border-radius:10px!important;
    font-size:22px!important;
    line-height:1!important;
    color:#344054!important;
    padding:0!important;
    position:static!important;
  }
  .thumbArrow::before{content:none!important;display:none!important}
  .thumbArrow.invisible{visibility:hidden!important;display:grid!important}
  .photoWrap .badge{display:none!important}
}


/* Mobile photo swipe only */
@media(max-width:900px){
  .mainPhotoFrame{
    touch-action:pan-y!important;
    user-select:none!important;
  }
  .mainPhotoFrame .mainPhoto,
  .mainPhotoFrame .mainVideo{
    -webkit-user-drag:none!important;
    user-select:none!important;
  }
}


/* Text-only header logo */
.brandTextLogo{
  display:inline-block;
  color:#fff;
  font-weight:900;
  font-size:clamp(20px, 2.2vw, 30px);
  line-height:1;
  letter-spacing:-0.04em;
  white-space:nowrap;
}
.brandHome:hover .brandTextLogo,
.brandHome:focus-visible .brandTextLogo{
  text-decoration:none;
}
@media(max-width:900px){
  .brandTextLogo{
    font-size:clamp(16px, 4.8vw, 22px);
    letter-spacing:-0.05em;
  }
}
@media(max-width:380px){
  .brandTextLogo{
    font-size:16px;
  }
}

/* Keep background refresh text from changing card height or causing scroll jumps. */
.countdown{min-height:34px}
@media(max-width:900px){
  .mobileEndsBadge{min-height:34px!important}
}

/* Force text-only header logo to white. */
.brand .brandTextLogo{color:#fff!important}
