:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#252b27;background:#fff;font-synthesis:none;-webkit-font-smoothing:antialiased;--green: #374e3e;--line: #e9ece8;--muted: #6c756f}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{border:0;background:none;color:inherit;cursor:pointer}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #708d75;outline-offset:4px}svg{flex-shrink:0}.words{display:inline-flex;flex-direction:column;gap:3px;line-height:1.3}.words>[lang=es]{font-size:max(12px,.86em);font-weight:400;opacity:.8}.site-header{max-width:1100px;margin:auto;min-height:82px;padding:15px 30px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px}.brand{font-size:21px;font-weight:650;letter-spacing:-.6px}.icon-button{width:44px;height:44px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;color:var(--muted)}.icon-button:hover:not(:disabled){background:#f2f5f1}.page{max-width:1100px;padding:30px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}h1,h2{margin:0;font-weight:600;letter-spacing:-.5px}h1{font-size:28px}h1 .words{gap:5px}h1 .words>[lang=es]{font-size:17px;color:var(--muted);opacity:1}h2{font-size:23px}h2 .words>[lang=es]{font-size:16px;color:var(--muted);opacity:1}.button{min-height:52px;border-radius:7px;padding:11px 21px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:13px;font-weight:550}.button .words{text-align:left}.primary{background:var(--green);color:#fff;border:1px solid var(--green)}.primary:hover:not(:disabled){background:#263e2e}.secondary{background:#fff;border:1px solid #d5ddd4;color:#3d5141}.secondary:hover:not(:disabled){background:#f5f7f3}.danger{background:#9c403a;color:#fff}.small-link,.small-button{min-height:44px;display:inline-flex;align-items:center;gap:9px;color:var(--muted);font-size:12px;padding:5px 0}.album-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 13px}.album-toolbar .icon-button{margin-right:-8px}.photo-count{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted)}.photo-count .words{font-size:12px;gap:1px}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:21px 14px}.photo-card{min-width:0}.photo-open{display:block;position:relative;padding:0;width:100%;aspect-ratio:4 / 5;overflow:hidden;background:#f0f2ed;border-radius:5px}.photo-open>img{display:block;width:100%;height:100%;object-fit:cover}.photo-missing{display:none;position:absolute;top:0;right:0;bottom:0;left:0;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:var(--muted);font-size:12px;text-align:center;padding:10px}.unavailable>img{opacity:0}.unavailable .photo-missing{display:flex}.photo-actions{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:49px}.heart-button{min-height:44px;padding:8px 3px;display:inline-flex;align-items:center;gap:8px;color:#b95363;font-size:12px}.heart-button>span{color:#5e6560;font-variant-numeric:tabular-nums}.heart-button:hover{color:#a63448}.heart-pop{animation:heart-pop .28s ease-out}.remove-button{min-height:44px;display:inline-flex;align-items:center;gap:5px;color:#995450;font-size:12px;padding:5px 2px}.remove-button .words{gap:1px}.sample-note{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f4f6f1;border-radius:5px;padding:8px 13px;font-size:12px;color:var(--muted);margin-bottom:17px}.sample-note .words{gap:2px}.sample-note .small-link{font-size:12px}.empty-state{min-height:260px;border:1px dashed #dfe4dc;border-radius:7px;padding:30px 20px;display:flex;flex-direction:column;gap:22px;align-items:center;justify-content:center;text-align:center;color:var(--muted)}.empty-state>.words{font-size:16px}.empty-state>p{margin:-7px 0 0;font-size:12px;line-height:1.7;max-width:400px}.skeleton{aspect-ratio:4 / 5;border-radius:5px;background:linear-gradient(90deg,#f0f2ed 25%,#f8f9f6,#f0f2ed 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}.load-more{text-align:center;margin-top:26px}footer{display:flex;justify-content:center;margin:33px 0 10px}footer>a{display:inline-flex;align-items:center;min-height:44px;text-align:center;font-size:12px;color:#7a827c;padding:5px 12px}.upload-dock{display:none}.login-card{max-width:400px;margin:60px auto 90px;border:1px solid var(--line);border-radius:9px;padding:25px}.login-card label{display:block;font-size:13px;margin-bottom:12px}.login-card input{width:100%;height:49px;border-radius:6px;border:1px solid #cbd3c9;background:#fff;padding:10px 13px;font-size:16px}.login-card .button{width:100%}.error-text{font-size:12px;line-height:1.6;color:#a74038}.login-card .error-text{min-height:8px}.notice{position:fixed;z-index:100;left:50%;bottom:24px;transform:translate(-50%);background:#293f31;color:#fff;border-radius:8px;padding:11px 12px 11px 17px;display:flex;align-items:center;gap:15px;width:max-content;max-width:calc(100% - 28px);box-shadow:0 8px 28px #15271b25;font-size:12px;line-height:1.6}.notice>span{max-width:450px}.notice .icon-button{color:#d2dfd2}.undo-button{display:inline-flex;align-items:center;min-height:44px;gap:7px;color:#fff;font-size:12px;padding:4px}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;padding:24px;background:#17271d88;display:flex;align-items:center;justify-content:center;overflow:auto}.dialog{width:530px;max-width:100%;max-height:calc(100dvh - 48px);overflow-y:auto;border-radius:13px;background:#fff;padding:24px 26px 0;outline:0}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:25px}.dialog-header .icon-button{margin:-5px -7px 0 0}.drop-zone{padding:25px 17px;border:1px dashed #cdd8c9;border-radius:7px;background:#f7f9f4;display:flex;align-items:center;flex-direction:column;gap:17px}.drop-zone.dragging{outline:2px solid #8da780;background:#edf4e7}.drop-zone .button{width:100%;max-width:290px}.file-help{color:#788571;font-size:12px;text-align:center}.upload-queue{margin-top:18px}.queue-item{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid var(--line)}.queue-item>img{width:42px;height:47px;object-fit:cover;border-radius:4px}.queue-info{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.queue-status{color:#74816f;font-size:12px;line-height:1.5}.queue-info progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:3px;border:0;border-radius:4px;overflow:hidden}.queue-info progress::-webkit-progress-bar{background:#e2e9dd}.queue-info progress::-webkit-progress-value{background:#6c8c5c}.queue-info progress::-moz-progress-bar{background:#6c8c5c}.success-icon{color:#688954;margin-right:8px}.success-message{display:flex;align-items:center;gap:9px;color:#608247;font-size:12px;margin:23px 0 0}.dialog-bottom{position:sticky;bottom:0;background:#fff;padding:22px 0 23px;margin-top:4px;box-shadow:0 -8px 13px #fffd}.dialog-bottom .button{width:100%}.lightbox-backdrop{background:#111b14f5;padding:15px}.lightbox-backdrop .dialog{width:1200px;background:none;border-radius:0;padding:0;color:#f1f4ee;overflow:hidden;max-height:calc(100dvh - 30px)}.lightbox-top{display:flex;align-items:center;justify-content:space-between;height:55px;padding-bottom:11px}.lightbox-top>span{font-size:12px;color:#cad6c6}.lightbox-top>div{display:flex;align-items:center;gap:7px}.lightbox-backdrop .icon-button{color:#cad6c6}.lightbox-backdrop .icon-button:hover{background:#ffffff15}.lightbox-image{height:calc(100dvh - 175px);min-height:170px;display:flex;align-items:center;justify-content:center}.lightbox-image img{height:100%;width:100%;object-fit:contain}.lightbox-bottom{display:flex;align-items:center;justify-content:center;gap:48px;height:65px}.lightbox-bottom .heart-button{gap:10px}.lightbox-bottom .heart-button>span{color:#e4e9df}.remove-backdrop .dialog{width:430px;padding-bottom:24px}.removal-preview{display:block;height:180px;width:100%;object-fit:contain;background:#f3f5ef;border-radius:5px}.removal-note{font-size:12px;color:var(--muted);line-height:1.7;margin:22px 0}.removal-note .words{gap:8px}.remove-actions{display:flex;gap:12px}.remove-actions .button{flex:1}.spin{animation:spin 1s linear infinite}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position:-200% 0}}@keyframes heart-pop{45%{transform:scale(1.27)}}@media(max-width:850px){.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){body:has(.upload-dock){padding-bottom:calc(96px + env(safe-area-inset-bottom))}.site-header{min-height:70px;padding:12px 20px}.brand{font-size:20px}.page{padding:24px 14px 10px}.page-heading{margin:0 5px 18px;gap:10px}h1{font-size:25px}h1 .words>[lang=es]{font-size:15px}.desktop-add{display:none}.album-toolbar{margin:0 5px 10px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}.photo-open{aspect-ratio:1;border-radius:4px}.photo-actions{min-height:45px}.heart-button{font-size:12px;gap:7px}.heart-button>svg{width:21px;height:21px}.remove-button{font-size:12px;gap:5px}.remove-button>svg{width:16px}.upload-dock{display:block;position:fixed;z-index:10;left:0;right:0;bottom:0;padding:11px 18px calc(12px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.upload-dock .button{width:100%;min-height:57px;font-size:14px}.upload-dock .words{gap:2px}.upload-dock .words>[lang=es]{font-size:12px}.sample-note{margin:0 5px 13px;padding:5px 11px;font-size:12px}.sample-note .small-link{font-size:12px}.empty-state{margin:0 5px;min-height:260px}footer{margin:24px 0 0}.notice{bottom:calc(95px + env(safe-area-inset-bottom));padding:9px 8px 9px 14px;gap:9px;font-size:12px}body:not(:has(.upload-dock)) .notice{bottom:calc(18px + env(safe-area-inset-bottom))}.notice .icon-button{width:44px;min-width:44px}.login-card{margin:40px 5px 55px;max-width:none;padding:22px}.dialog-backdrop{padding:0;align-items:flex-end}.upload-backdrop .dialog{width:100%;max-height:91dvh;padding:23px 21px 0;border-radius:16px 16px 0 0}.dialog-header{margin-bottom:23px}.dialog-header h2{font-size:25px}.dialog-header h2 .words>[lang=es]{font-size:15px}.drop-zone{padding:23px 14px}.drop-zone .button{min-height:58px}.file-help{font-size:12px}.queue-item>img{width:37px;height:43px}.filename,.queue-status,.queue-info .error-text{font-size:12px}.dialog-bottom{padding-bottom:calc(19px + env(safe-area-inset-bottom))}.dialog-bottom .button{min-height:57px}.lightbox-backdrop{padding:12px;align-items:center}.lightbox-backdrop .dialog{max-height:calc(100dvh - 24px);width:100%}.lightbox-image{height:calc(100dvh - 153px)}.lightbox-bottom{height:62px;gap:40px}.remove-backdrop{padding:18px;align-items:center}.remove-backdrop .dialog{border-radius:12px;padding:23px;max-height:calc(100dvh - 36px)}.remove-backdrop .dialog h2{font-size:20px}.remove-backdrop .dialog h2 .words>[lang=es]{font-size:15px}.removal-note{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.queue-preview{width:48px;height:48px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#f2f4f0;color:#7a827c;border-radius:4px;overflow:hidden}.queue-preview img{width:100%;height:100%;object-fit:cover}
