*{box-sizing:border-box}
:root{--bg:#f8f9fc;--text:#172127;--muted:#75818a;--line:#e6e9ef;--blue:#a8d8ff;--cyan:#9fe5df;--pink:#f5c5d7;--yellow:#ffe3a3;--purple:#d8c8ff;--green:#9fdfc5;--white:#fff}
html{scroll-behavior:smooth;overflow-x:hidden}body{margin:0;overflow-x:hidden;background:var(--bg);color:var(--text);font-family:"DM Sans",sans-serif}button,select{font:inherit}.app{min-height:0}.hidden{display:none!important}
.header{height:72px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.88);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.logo{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none;font:800 20px Manrope;letter-spacing:-.04em}.logo-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#a9ddff,#b9e8df);font:italic 800 22px Georgia}.header-right{display:flex;align-items:center;gap:28px}.status{display:flex;align-items:center;gap:9px;color:#78848c;font-size:13px}.status-dot{width:9px;height:9px;border-radius:50%;background:#8bd0b1}.header-link{border:0;background:none;color:#53616a;font-size:14px;font-weight:600;cursor:pointer}.header-link:hover{text-decoration:underline}
main{max-width:1440px;margin:auto;padding:0 42px}.upload-page{max-width:1080px;margin:auto;padding:68px 0 80px;position:relative;overflow:clip}.intro{text-align:center;max-width:820px;margin:auto;position:relative;z-index:1}.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:800;color:#89939b;margin-bottom:20px}.intro h1{font:800 clamp(54px,7vw,94px)/.94 Manrope;letter-spacing:-.065em;margin:0}.intro h1 span{background:linear-gradient(90deg,#63b9e9,#62c8c1,#ad92e8);-webkit-background-clip:text;background-clip:text;color:transparent}.intro p{max-width:690px;margin:28px auto 0;color:#65717a;font-size:19px;line-height:1.6}.dropzone{z-index:3;height:330px;margin:58px auto 0;max-width:960px;border:2px dashed #bfd3e2;border-radius:34px;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;position:relative;overflow:hidden;box-shadow:0 24px 70px rgba(75,104,130,.09);transition:border-color .2s,background-color .2s,box-shadow .2s}.dropzone:before,.dropzone:after{content:"";position:absolute;border-radius:50%}.dropzone:before{width:240px;height:240px;background:#e5f7f5;left:-100px;bottom:-130px}.dropzone:after{width:220px;height:220px;background:#f2eafd;right:-90px;top:-120px}.dropzone>*{position:relative;z-index:1}.dropzone input{display:none}.dropzone:hover,.dropzone.drag{border-color:#6abfc2;background-color:#f9ffff;box-shadow:0 26px 74px rgba(75,104,130,.11)}.upload-symbol{width:74px;height:74px;border-radius:24px;background:linear-gradient(135deg,#c7e9ff,#c5eee7);display:grid;place-items:center;color:#398fa4;font-size:38px;font-weight:700;margin-bottom:22px}.drop-title{font:800 25px Manrope;letter-spacing:-.03em}.drop-subtitle{margin-top:9px;color:#87929a;font-size:15px}.choose-btn{margin-top:24px;padding:15px 24px;border-radius:15px;background:#172127;color:#fff;font-size:15px;font-weight:700}.formats{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:20px 0 0;color:#849099;font-size:12px}.formats span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 12px}.how-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px}.how-card{min-height:115px;padding:20px;border-radius:22px;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:14px;align-content:center}.how-card b{grid-row:1/3;width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.75);display:grid;place-items:center;font-size:18px}.how-card strong{font:800 18px Manrope}.how-card span{color:#68757d;font-size:14px;margin-top:4px}.color-blue{background:#e4f3ff}.color-pink{background:#fde9f0}.color-yellow{background:#fff4d5}
.results{padding:64px 0 120px}.results-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:30px}.results-hero h2{font:800 clamp(44px,6vw,76px)/.95 Manrope;letter-spacing:-.06em;margin:0}.results-hero p{font-size:18px;color:#68757d;margin:18px 0 0}.big-count{display:flex;align-items:center;gap:14px;background:#e2f5ee;border-radius:24px;padding:17px 23px;min-width:150px}.big-count strong{font:800 44px Manrope;letter-spacing:-.06em}.big-count span{font-size:13px;font-weight:700;color:#55766b;line-height:1.15}.help-box{display:flex;align-items:center;gap:16px;margin:32px 0 28px;padding:18px 22px;border-radius:20px;background:linear-gradient(90deg,#e8f8f0,#f2fbf8);border:1px solid #d8eee6}.help-icon{width:42px;height:42px;flex:none;border-radius:14px;background:#9fdfc5;display:grid;place-items:center;font-size:22px;font-weight:800}.help-box strong{display:block;font-size:15px}.help-box span{display:block;color:#718078;font-size:13px;margin-top:4px}.controls{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:12px}.tabs{display:flex;gap:5px;background:#edf0f3;padding:5px;border-radius:14px}.tab{border:0;background:transparent;padding:11px 15px;border-radius:10px;color:#77838b;font-size:13px;font-weight:700;cursor:pointer}.tab.active{background:#fff;color:#172127;box-shadow:0 2px 8px rgba(30,45,55,.08)}.controls-right{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.amount{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:0 13px;height:46px}.amount span{color:#7b8790;font-size:12px}.amount select{border:0;outline:0;background:transparent;font-weight:800;color:#172127}.secondary-btn,.main-btn{height:46px;border:0;border-radius:13px;padding:0 17px;font-weight:800;font-size:13px;cursor:pointer}.secondary-btn{background:#eef1f4;color:#44515a}.main-btn{background:#172127;color:#fff;box-shadow:0 9px 24px rgba(23,33,39,.15)}.main-btn:hover{transform:translateY(-1px)}.main-btn:disabled{opacity:.6;cursor:wait}.small-info{display:flex;gap:9px;align-items:center;color:#8a949b;font-size:12px;margin:0 0 18px}.small-info i{width:4px;height:4px;border-radius:50%;background:#b9c2c8}.photo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.photo-card{position:relative;aspect-ratio:4/5;border-radius:18px;overflow:hidden;background:#e9edf0;box-shadow:0 6px 20px rgba(40,55,65,.06)}.photo-card img{width:100%;height:100%;object-fit:cover;display:block;cursor:zoom-in;transition:.2s}.photo-card:hover img{transform:scale(1.025)}.photo-card.not-selected{opacity:.68}.photo-card.not-selected:hover{opacity:1}.card-top{position:absolute;left:12px;top:12px;right:12px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.chosen-label{padding:8px 11px;border-radius:999px;background:#a5dfc7;color:#214b3c;font-size:11px;font-weight:800}.photo-number{padding:7px 9px;border-radius:999px;background:rgba(255,255,255,.85);backdrop-filter:blur(6px);font-size:11px;color:#536069}.card-bottom{position:absolute;left:10px;right:10px;bottom:10px;display:flex;justify-content:center}.choose-btn-card{width:100%;border:0;border-radius:12px;padding:11px 10px;background:rgba(255,255,255,.94);color:#263239;font-size:12px;font-weight:800;cursor:pointer;backdrop-filter:blur(7px)}.choose-btn-card.add{background:#172127;color:#fff}.bottom-action{position:sticky;bottom:18px;z-index:5;margin:30px auto 0;max-width:700px;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 16px 14px 22px;border-radius:20px;background:rgba(255,255,255,.94);border:1px solid #e2e6eb;box-shadow:0 15px 45px rgba(35,50,60,.14);backdrop-filter:blur(15px)}.bottom-action div{display:flex;flex-direction:column}.bottom-action strong{font-size:15px}.bottom-action span{font-size:12px;color:#7e8991;margin-top:2px}.lightbox{position:fixed;inset:0;background:rgba(16,24,29,.96);z-index:20;display:grid;place-items:center;padding:40px}.lightbox img{max-width:90vw;max-height:82vh;object-fit:contain}.close-btn{position:fixed;right:24px;top:20px;width:48px;height:48px;border:0;border-radius:50%;background:#fff;font-size:28px;cursor:pointer}.lightbox-info{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:16px;color:#fff;font-size:13px}.lightbox-info button{border:0;border-radius:999px;padding:10px 14px;font-weight:800;cursor:pointer}
@media(max-width:1100px){.photo-grid{grid-template-columns:repeat(4,1fr)}.controls{align-items:flex-start;flex-direction:column}.controls-right{width:100%}.results-hero{align-items:flex-start;flex-direction:column}}
@media(max-width:720px){.header{height:72px;padding:0 18px}.header-right{gap:10px}.status{display:none}main{padding:0 18px}.upload-page{padding:55px 0}.intro h1{font-size:50px}.intro p{font-size:16px}.hero-color{display:none}.dropzone{height:290px;margin-top:38px}.drop-title{font-size:20px}.how-row{grid-template-columns:1fr}.results{padding:40px 0 100px}.results-hero h2{font-size:48px}.big-count{width:100%}.controls-right{display:grid;grid-template-columns:1fr 1fr}.amount{grid-column:1/-1}.controls-right .main-btn{grid-column:1/-1}.photo-grid{grid-template-columns:repeat(2,1fr);gap:9px}.photo-card{border-radius:13px}.bottom-action{left:0;right:0;margin-left:0;margin-right:0}.bottom-action .main-btn{padding:0 12px}.tab{padding:10px 11px;font-size:12px}.tabs{width:100%;justify-content:space-between}}


/* CURATE — static camera decoration. No animation, no JS movement, no layout impact. */
#heroField{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
  pointer-events:none;
  z-index:0;
}

.secondary-btn {
  display: none;
}

#heroField .camera{
  --camera-color:#a8d8ff;
  --camera-size:150px;
  position:absolute;
  width:var(--camera-size);
  height:calc(var(--camera-size) * .72);
  border-radius:28%;
  background:var(--camera-color);
  opacity:.42;
  box-shadow:0 18px 55px rgba(100,120,145,.10),inset 0 0 0 1px rgba(255,255,255,.34);
}
#heroField .camera::before{
  content:"";
  position:absolute;
  left:17%;
  top:-8%;
  width:29%;
  height:18%;
  border-radius:45% 45% 20% 20%;
  background:inherit;
}
#heroField .camera::after{
  content:"";
  position:absolute;
  left:12%;
  top:18%;
  width:76%;
  height:64%;
  border:2px solid rgba(255,255,255,.34);
  border-radius:22%;
}
#heroField .camera span{position:absolute;display:block}
#heroField .camera-lens{
  left:50%;top:50%;width:38%;aspect-ratio:1;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:rgba(255,255,255,.24);
  border:8px solid rgba(255,255,255,.34);
  box-shadow:inset 0 0 0 9px rgba(80,110,130,.09),0 0 0 2px rgba(255,255,255,.18);
}
#heroField .camera-lens::after{
  content:"";position:absolute;width:28%;height:28%;right:15%;top:13%;
  border-radius:50%;background:rgba(255,255,255,.55);
}
#heroField .camera-viewfinder{
  right:16%;top:23%;width:11%;height:11%;border-radius:50%;background:rgba(255,255,255,.48);
}
#heroField .camera-flash{
  left:20%;top:25%;width:8%;height:8%;border-radius:3px;background:rgba(255,255,255,.5);
}
#heroField .camera-1{--camera-color:#b7ddf5;--camera-size:116px;left:2vw;top:16vh}
#heroField .camera-2{--camera-color:#efcbd8;--camera-size:92px;left:84vw;top:19vh}
#heroField .camera-3{--camera-color:#f4dfaa;--camera-size:104px;left:2vw;top:68vh}
#heroField .camera-4{--camera-color:#d9cef0;--camera-size:88px;left:87vw;top:70vh}
#heroField .camera-5{--camera-color:#b9ddd2;--camera-size:82px;left:46vw;top:82vh}

.header,main{position:relative;z-index:2}
#lightbox{position:fixed;inset:0;z-index:20}
#heroField{z-index:1}
.dropzone{z-index:3}
@media(max-width:720px){
  #heroField .camera-1{--camera-color:#b7ddf5;--camera-size:82px;left:1vw;top:15vh}
  #heroField .camera-2{--camera-color:#efcbd8;--camera-size:68px;left:82vw;top:21vh}
  #heroField .camera-3{--camera-color:#f4dfaa;--camera-size:74px;left:0vw;top:68vh}
  #heroField .camera-4{--camera-color:#d9cef0;--camera-size:66px;left:84vw;top:70vh}
  #heroField .camera-5{--camera-color:#b9ddd2;--camera-size:62px;left:45vw;top:84vh}
  #heroField .camera{opacity:.32;will-change:transform}
}

/* CURATE logo — restored from the previous stable header style */
.brand-logo{display:flex;align-items:baseline;gap:8px;text-decoration:none;line-height:1}
.brand-logo span,.brand-logo b{font-family:'Syne',sans-serif;font-weight:700;font-size:22px;letter-spacing:-.02em;transition:color .3s ease}
.brand-logo span{color:#172127}
.brand-logo b{color:#c41212}
.brand-logo:hover span{color:#172127}
.brand-logo:hover b{color:#c41212}
@media(max-width:720px){.brand-logo span,.brand-logo b{font-size:19px}}


/* Restored CURATE controls and photo explanations */
.smart-mode{display:flex;align-items:center;gap:9px;min-height:46px;padding:8px 13px;border:1px solid #dcefe8;border-radius:13px;background:#f3faf7;color:#38584f;white-space:nowrap}
.smart-mode-dot{width:9px;height:9px;flex:none;border-radius:50%;background:#8ed0b0;box-shadow:0 0 0 4px #e1f4eb}
.smart-mode b{display:block;font-size:12px;font-weight:800;line-height:1.1}
.smart-mode small{display:block;margin-top:3px;color:#7c8e87;font-size:10px;line-height:1.1}
.trash-btn{border:1px solid #e3e7eb;background:#f6f7f8;color:#65717a;font-size:12px;font-weight:700;cursor:pointer;margin-left:8px;padding:10px 13px;border-radius:12px;line-height:1;transition:.2s}
.trash-btn:hover{background:#fff0f0;border-color:#f0cccc;color:#a94a4a}
.card-reason{position:absolute;left:10px;right:10px;bottom:58px;z-index:2;padding:8px 10px;border-radius:11px;background:rgba(255,255,255,.91);backdrop-filter:blur(8px);box-shadow:0 5px 18px rgba(35,50,60,.10);font-size:10.5px;line-height:1.3;color:#56636b}
.card-reason.keep{background:rgba(239,251,245,.94);color:#356453}
.card-reason.reject{background:rgba(255,247,248,.94);color:#765c63}
.card-reason span{display:block}

@media(max-width:720px){
  .header{gap:8px}
  .header-right{gap:6px;margin-left:auto}
  .trash-btn{margin-left:0;padding:9px 10px;border-radius:11px;font-size:11px;white-space:nowrap}
  .controls-right{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}
  .controls-right .smart-mode{grid-column:1/-1;width:100%;min-width:0}
  .small-info{width:100%;display:flex;flex-wrap:wrap;gap:5px 7px;align-items:center;line-height:1.45;margin-bottom:16px}
  .small-info i{flex:0 0 4px;margin:0 2px}
  .card-reason{left:7px;right:7px;bottom:51px;padding:7px 8px;font-size:9.5px;line-height:1.25;border-radius:9px}
  .card-bottom{left:7px;right:7px;bottom:7px}
  .choose-btn-card{padding:9px 7px;font-size:10px;border-radius:10px}
}
@media(max-width:430px){
  .brand-logo span,.brand-logo b{font-size:17px}
  .trash-btn{font-size:0;width:36px;height:36px;padding:0;display:grid;place-items:center;background:#f1f3f5;border-color:#e3e7eb}
  .trash-btn::before{content:'🗑️';font-size:15px}
  .small-info{font-size:11px;gap:4px 6px}
  .card-reason{font-size:9px;bottom:49px}
}

/* Lightbox: the whole photo card opens the preview; only the selection button stays interactive. */
.photo-card{cursor:zoom-in}
.photo-card .choose-btn-card{cursor:pointer}
.card-reason{pointer-events:none}
.lightbox-info button.remove{background:#a5dfc7;color:#214b3c}
