:root{--ink:#17293a;--muted:#788697;--accent:#3678f5;--line:#e6ebf1}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#f8fafc;color:var(--ink);font:15px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid #548cff}button{border:0}a{color:inherit;text-decoration:none}aside{position:fixed;width:260px;inset:0 auto 0 0;background:#111e2d;color:#c5d1df;padding:36px 24px;display:flex;flex-direction:column;overflow:auto}.brand{display:flex;align-items:center;gap:14px;font-size:35px;color:#86b6ff;margin-bottom:54px}.brand span{font-size:17px;line-height:1.3;letter-spacing:-.4px;color:white}.brand b{font-weight:450}aside small{font-size:10px;letter-spacing:2px;color:#72859a;margin:12px 10px}aside button{background:none;color:inherit;text-align:left;width:100%;padding:13px 12px;border-radius:10px;font-size:14px}aside button:hover,aside button.active{background:#263b52;color:white}aside i{float:right;font-style:normal;color:#8ca9c8}.storage{margin-top:auto;padding:24px 12px 15px;border-top:1px solid #2a3849}.storage span{font-size:12px}.storage strong{display:block;color:white;font-size:24px;margin-top:8px}.storage p{font-size:11px;color:#8193a8;margin:0}.quiet{color:#93a8bd}main{margin-left:260px;padding:0 50px;max-width:1700px}header{height:91px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px}.breadcrumb,.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#8292a3}.outline,.primary,.danger{display:inline-flex;align-items:center;justify-content:center;min-height:45px;border-radius:11px;padding:11px 19px;font-size:13px;font-weight:650;gap:8px}.outline{background:white;border:1px solid #dce4ec;color:#344c65}.primary{background:var(--accent);color:white;border:1px solid var(--accent);box-shadow:0 5px 15px #3678f51c}.danger{background:#fff0f0;color:#b63737}.hero{position:relative;min-height:365px;padding:55px 0 43px;overflow:hidden}.hero h1{font-size:clamp(38px,4.3vw,62px);letter-spacing:-2.5px;line-height:1.08;margin:18px 0}.hero em{font-style:normal;color:#8b9bac}.hero p{font-size:14px;color:#728296;margin-bottom:24px}.hero-art{position:absolute;right:25px;top:56px;width:330px;height:270px}.frame{position:absolute;padding:11px 11px 32px;background:white;border-radius:8px;box-shadow:0 18px 45px #152c4720;width:196px;height:225px}.f1{transform:rotate(-12deg);left:0;top:15px}.f2{transform:rotate(11deg);right:0;top:34px}.landscape,.sunset{height:100%;border-radius:4px;position:relative;overflow:hidden}.landscape{background:linear-gradient(#b8d6e1 48%,#64909c 49%,#335a61 75%,#173c45)}.landscape:after{content:'';position:absolute;width:200px;height:180px;left:-20px;top:60px;background:#436977;clip-path:polygon(0 100%,40% 0,65% 55%,85% 20%,100% 100%)}.sunset{background:linear-gradient(#b2bccb,#eccab3 48%,#9baab0 49%,#738a93)}.sunset:after{content:'';position:absolute;width:48px;height:48px;border-radius:50%;background:#fff1d3;top:46px;left:77px;box-shadow:0 0 35px #ffecce}.hero-art>span{position:absolute;bottom:0;right:25px;font-size:10px;color:#8795a7;letter-spacing:1px}.library{border-top:1px solid var(--line);padding-top:30px}.section-head{display:flex;justify-content:space-between;align-items:center}.section-head h2{font-size:26px;letter-spacing:-.8px;margin:6px 0 23px}.private{font-size:11px;color:#6f8e81;background:#eaf3ed;border-radius:20px;padding:7px 13px}.tools{display:flex;gap:14px;margin-bottom:22px}.search{display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:white;border-radius:10px;padding:9px 14px;flex:1;font-size:22px}.search input{border:0;width:100%;background:none;font-size:13px;min-width:0}select{border:1px solid var(--line);border-radius:10px;background:white;padding:10px;color:#566b80;font-size:12px}.drop{display:flex;flex-wrap:wrap;gap:15px;align-items:center;padding:25px;border:1px dashed #b4c7e1;border-radius:16px;background:#f0f5fc}.drop.drag{background:#deebff;border-color:#3678f5}.upload-symbol{font-size:28px;background:white;color:#3678f5;border-radius:12px;width:48px;height:48px;text-align:center}.drop strong{font-size:14px}.drop p{font-size:12px;color:#7b8da2;margin:4px 0}.drop button{margin-left:auto}.drop label{font-size:12px;color:#60758c}.drop small{width:100%;font-size:10px;color:#8695a8}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.photo{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;position:relative}.photo .image-button{display:block;width:100%;padding:0;background:#e8edf3}.photo img{width:100%;height:210px;display:block;object-fit:cover}.photo .caption{padding:13px 15px}.caption strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}.caption span{font-size:11px;color:#8b98a8}.heart{position:absolute;top:10px;right:10px;width:35px;height:35px;border-radius:50%;background:#ffffffeb;font-size:19px;color:#4975b2}.empty{text-align:center;padding:60px 10px 75px}.empty>span{font-size:45px;color:#9fb6d0}.empty h3{font-size:21px;letter-spacing:-.5px;margin:16px 0 5px}.empty p{font-size:13px;color:#8a98aa;margin-bottom:23px}#status{font-size:13px;color:#547193;min-height:20px}footer{padding:30px 0;display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.2px;border-top:1px solid var(--line);color:#8e9caf;margin-top:30px}dialog{border:1px solid var(--line);border-radius:20px;padding:28px;max-width:480px;width:calc(100% - 28px);color:var(--ink)}dialog::backdrop{background:#111e2dc9}dialog h2{margin-top:0}dialog input{display:block;width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;margin-top:8px}.dialog-actions{display:flex;gap:10px;margin-top:25px}#viewer{width:calc(100% - 32px);max-width:1250px;background:#111e2d;color:white;padding:16px}#full{display:block;width:100%;height:65vh;object-fit:contain;margin:15px 0}.viewer-bar,.viewer-bottom{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.viewer-bar span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.viewer-bottom{justify-content:center}body:has(dialog[open]){overflow:hidden}#more{display:block;margin:25px auto}@media(min-width:1450px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){aside{width:220px;padding:30px 18px}main{margin-left:220px;padding:0 28px}.hero-art{right:-75px;opacity:.65;transform:scale(.8)}.hero h1,.hero p,.hero>.primary{position:relative;z-index:1}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){aside{position:static;width:100%;padding:18px 20px;display:block}.brand{margin:0 0 20px;font-size:28px}.brand span{font-size:16px}aside small,.storage,aside form,#newAlbum,#albums{display:none}nav{display:flex;gap:8px}nav button{width:auto;flex:1;font-size:12px;padding:10px}nav i{margin-left:10px}main{margin:0;padding:0 20px}header{height:70px}.breadcrumb{font-size:8px;letter-spacing:1px}header button{font-size:11px;padding:9px 12px}.hero{padding-top:32px;min-height:350px}.hero h1{font-size:43px;letter-spacing:-1.8px}.hero-art{transform:scale(.55);right:-125px;top:103px;opacity:.45}.hero p{font-size:13px;max-width:255px}.section-head h2{font-size:23px}.private{font-size:9px}.tools{flex-wrap:wrap}.search{flex-basis:100%}.tools>select{width:100%}.drop{padding:18px;gap:12px}.drop>div{flex:1}.drop p{font-size:11px}.drop>button{width:100%}.drop label{width:100%;display:flex;justify-content:space-between;align-items:center}.drop small{font-size:9px}.grid{gap:12px}.photo img{height:155px}.caption{padding:10px!important}.caption strong{font-size:11px}.caption span{font-size:9px}footer{font-size:8px;gap:10px;flex-wrap:wrap}.viewer-bar span{order:3;flex-basis:100%}.viewer-bottom>*{flex:1;font-size:11px;padding:9px}#full{height:55vh}}
@media(max-width:700px){#newAlbum{display:block;width:auto;margin-top:10px;padding:7px 10px;font-size:12px}#albums{display:flex;gap:6px;overflow:auto;margin-top:12px}#albums button{white-space:nowrap;width:auto;background:#1c3045;padding:7px 11px;font-size:11px}}

#accountDialog label{display:block;margin:15px 0;font-size:13px}@media(max-width:700px){#accountButton{display:block;width:auto;padding:8px 10px;font-size:12px}aside form{display:block}aside form button{font-size:12px;padding:8px 10px;width:auto}}
/* Refined gallery layout */
:root{--accent:#4777ee;--ink:#20314a;--muted:#7d8ba0;--line:#e8edf5}body{background:#f5f7fb}aside{width:238px;padding:30px 18px;background:#132135}.brand{gap:11px;margin-bottom:42px}.brand-avatar{width:48px;height:48px;border-radius:15px;object-fit:cover}.brand span{font-size:16px}.brand b{color:#97aecb}aside button{min-height:46px;margin:3px 0;padding:12px 14px;border-radius:13px}aside button.active{background:#345383;box-shadow:inset 3px 0 #90b8ff}aside small{font-size:9px;letter-spacing:1.7px}.storage{margin-top:auto}.storage strong{font-size:22px}main{margin-left:238px;padding:0 42px}header{height:112px;border:0;gap:20px}.header-title strong{display:block;font-size:22px;letter-spacing:-.6px}.header-title>span{font-size:12px;color:#8b97aa}.header-actions{display:flex;align-items:center;gap:10px}.primary,.outline,.danger{min-height:46px;border-radius:13px;font-size:13px;padding:12px 18px}.outline{border:1px solid #e0e7f1;box-shadow:0 2px 4px #23375203}.primary{box-shadow:0 5px 14px #4777ee24}.account-circle{width:46px;height:46px;border-radius:50%;background:#e5edff;color:#4777ee;font-size:25px;border:1px solid #d5e1fb}.mobile-brand{display:none}.library{padding:27px 28px 30px;background:white;border:1px solid #e8edf4;border-radius:24px;box-shadow:0 8px 35px #21344e04}.section-head h2{font-size:28px;margin:7px 0 25px;font-weight:650}.private{background:#f0f6f3;color:#668a7a;font-size:10px}.tools{gap:12px;margin-bottom:20px}.search{background:#f6f8fc;border-color:#edf0f6;min-height:48px;border-radius:13px;color:#8698af}.search input{font-size:13px}.tools>select{border-radius:13px;min-height:48px;padding:11px 15px}.drop{padding:19px 20px;background:#f9fbff;border-color:#d8e3f4;border-radius:17px;gap:14px}.upload-symbol{width:44px;height:44px;border-radius:13px;background:#edf3ff;font-size:25px;line-height:44px}.drop strong{font-size:13px;font-weight:650}.drop p{font-size:11px}.drop small{font-size:10px}.grid{gap:20px;margin-top:15px;grid-template-columns:repeat(3,minmax(0,1fr))}.photo{border:0;border-radius:17px;background:#f8fafd;box-shadow:0 2px 7px #22375008;transition:transform .18s,box-shadow .18s}.photo:hover{transform:translateY(-3px);box-shadow:0 12px 25px #22375014}.photo img{height:240px;background:linear-gradient(110deg,#edf1f7,#f7f9fc,#edf1f7);object-fit:cover}.photo .caption{padding:14px 15px 17px}.caption strong{font-weight:600;font-size:12px}.caption span{display:block;margin-top:4px;font-size:10px}.heart{box-shadow:0 3px 9px #172a4020;color:#4777ee;width:36px;height:36px;top:12px;right:12px}.empty{padding:60px 10px}.empty>span{display:inline-grid;place-items:center;width:80px;height:80px;border-radius:25px;background:#f0f5ff;color:#799ee8;font-size:40px}.empty h3{font-weight:600}.upload-progress{background:#f0f5ff;border:1px solid #dce7fc;padding:16px 18px;border-radius:15px;margin-top:18px}.upload-progress>div{display:flex;justify-content:space-between;gap:12px;font-size:12px}.upload-progress span{color:#7186a6}.upload-progress progress{width:100%;height:7px;display:block;margin:12px 0 8px;accent-color:#4777ee}.upload-progress p{font-size:11px;color:#7084a0;overflow-wrap:anywhere;margin:0}footer{border:0;margin-top:0;padding:26px 5px;font-size:9px}.mobile-nav{display:none}#mobileAlbumList{display:grid;gap:10px;margin:20px 0}#mobileAlbumList button{text-align:left;padding:15px 18px;background:#f2f6fd;border-radius:12px;color:#375473}.album-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.album-heading h2{margin:0;font-size:22px}#accountDialog label{margin:20px 0}#accountEmail{color:#7084a0;overflow-wrap:anywhere}dialog{box-shadow:0 24px 80px #13213530;border:0;border-radius:23px}dialog input{min-height:46px;border-radius:12px}#viewer{border-radius:20px}.viewer-bar .outline,.viewer-bottom .outline{background:#22344d;border-color:#354a68;color:#e5edfa}#viewer .primary{background:#4777ee}button:hover,a.primary:hover{filter:brightness(.97)}@media(min-width:1450px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.photo img{height:250px}}@media(max-width:1100px){aside{width:215px}main{margin-left:215px;padding:0 25px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-title strong{font-size:19px}.header-title>span{font-size:10px}.library{padding:24px}.photo img{height:230px}}
@media(max-width:700px){body{padding-bottom:90px}aside{display:none}main{margin:0;padding:0 15px}header{height:97px;gap:8px;padding:0 3px}.mobile-brand{display:flex;align-items:center;gap:9px}.mobile-brand img{width:43px;height:43px;object-fit:cover;border-radius:13px}.mobile-brand span{font-size:14px;line-height:1.25;letter-spacing:-.3px}.mobile-brand b{font-weight:450;color:#7d8ca3}.header-title{display:none}.header-actions{gap:6px;margin-left:auto}.header-actions .outline{font-size:10px;padding:9px 10px;min-height:39px;border-radius:11px}.header-actions .primary{font-size:12px;padding:9px 12px;min-height:39px;border-radius:11px}.account-circle{display:none}.library{padding:20px 15px;border-radius:21px}.eyebrow{font-size:8px;letter-spacing:1.5px}.section-head h2{font-size:24px;margin:6px 0 22px;letter-spacing:-.7px}.private{font-size:8px;padding:6px 9px;white-space:nowrap}.tools{flex-wrap:wrap;gap:9px}.search{flex-basis:100%;min-height:46px}.tools>select{width:100%;min-height:42px;font-size:11px}.drop{padding:16px 13px;gap:10px}.drop>div{flex:1}.drop strong{font-size:12px}.drop p{font-size:10px}.drop>button{width:100%;min-height:44px}.drop label{font-size:11px}.drop label select{max-width:75%;padding:9px}.drop small{font-size:8px;line-height:1.5}.upload-symbol{width:36px;height:36px;line-height:36px;border-radius:11px;font-size:23px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo{border-radius:13px}.photo img{height:175px}.photo .caption{padding:10px!important}.caption strong{font-size:10px}.caption span{font-size:8px}.heart{width:30px;height:30px;font-size:17px;top:8px;right:8px}.empty h3{font-size:19px}.empty p{font-size:12px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:15;display:grid;grid-template-columns:repeat(4,1fr);background:#fffffff5;backdrop-filter:blur(16px);border-top:1px solid #e8edf5;padding:9px 10px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -5px 20px #1b304a06}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:none;color:#8a98ac;font-size:9px;min-height:48px;border-radius:12px;padding:4px}.mobile-nav button span{font-size:23px;line-height:1.1}.mobile-nav button.active{background:#edf3ff;color:#4777ee}footer{font-size:7px;padding:22px 7px;gap:8px}.viewer-bottom{gap:7px}.viewer-bottom>*{font-size:10px;min-height:43px}.viewer-bar .outline{font-size:11px}#viewer{width:calc(100% - 16px);padding:12px}#full{height:53vh}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.simple-upload{align-items:center;justify-content:space-between;gap:16px}.simple-upload .add-memory{margin:0;min-height:52px;padding:14px 22px;font-size:14px;flex:1}.simple-upload label{display:flex;align-items:center;gap:12px;margin:0}.upload-choices{display:grid;gap:12px;margin-top:24px}.upload-choices button{width:100%;min-height:50px}@media(max-width:700px){.simple-upload .add-memory{flex-basis:100%;font-size:13px}.simple-upload label{width:100%;justify-content:space-between}.header-actions .outline{font-size:10px;padding:10px 11px}.mobile-brand span{font-size:13px}}

.platform-install{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.platform-install svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.platform-install button{font-size:12px;padding:12px 9px}
