@keyframes homeFadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes heroFadeIn{0%{opacity:0}to{opacity:1}}@keyframes tileEnter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes navProgressSlide{0%{transform:translateX(-100%)}to{transform:translateX(350%)}}@keyframes dialogBackdropIn{0%{opacity:0}to{opacity:1}}@keyframes dialogBackdropOut{0%{opacity:1}to{opacity:0}}@keyframes dialogContentIn{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes dialogContentOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(16px)}}@keyframes gbc-spin{to{transform:rotate(360deg)}}@keyframes gbc-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes up-spin{to{transform:rotate(360deg)}}@keyframes up-shimmer{to{transform:translateX(100%)}}@keyframes up-pop{0%{transform:scale(.5);opacity:.4}60%{transform:scale(1.15)}to{transform:scale(1);opacity:1}}@keyframes bbi-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes undoToastIn{to{opacity:1;transform:translateY(0)}}@keyframes undoToastOut{to{opacity:0;transform:translateY(8px)}}@keyframes undoToastIndeterminate{0%{transform:translateX(-100%)}to{transform:translateX(250%)}}@keyframes pj-viewer-zoom-in{0%{transform:scale(.94);opacity:0}to{transform:scale(1);opacity:1}}@keyframes pj-viewer-fade-out{0%{opacity:1}to{opacity:0}}:root{--primary-accent:#458b60;--primary-accent-hover:color-mix(in srgb, var(--primary-accent), #000 12%);--border-subtle:rgba(0, 0, 0, 0.08);--border-light:rgba(0, 0, 0, 0.05);--bg-white:#ffffff;--bg-subtle:#f0f0f0;--bg-hover:#e5e5e5;--bg-active:#f3f3f3;--text-primary:#000000;--text-muted:#9a9a9a;--text-disabled:#999999;--header-height:60px;--gap:1rem;--radius-standard:12px;--radius-full:40px;--theme-border-color:#ebebeb;--theme-border-color-hover:#d4d4d4;--button-text-color-alt:#3d3d3d;--cell-max:240px;--shadow-inset-highlight:0 1px 0 0 rgba(255, 255, 255, 0.1) inset}*,::after,::before{box-sizing:border-box}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;outline:0}button{cursor:pointer;border:0;background:0 0;padding:0;transition:background-color .2s ease,color .2s ease,opacity .2s ease,transform .2s ease}.album-grid{display:grid;gap:var(--gap);grid-template-columns:repeat(auto-fill,minmax(180px,1fr));justify-content:center;max-width:none;margin:0;padding:1rem 0}@media (max-width:1200px){.album-grid{padding:1rem}}@media (max-width:900px){.album-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}}@media (max-width:500px){.album-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}.icon-svg{width:1em;height:1em;display:inline-block;vertical-align:middle;flex-shrink:0;fill:currentColor}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}html{height:100%}body{min-height:100%;margin:0;font-family:system-ui,-apple-system,sans-serif;min-width:370px;position:relative;letter-spacing:normal;color:var(--text-primary);touch-action:manipulation}.hidden{display:none!important}.sidebar{position:absolute;z-index:1150}.sidebar,.sort-menu{top:calc(100% + 9px);background:color-mix(in srgb,var(--topbar-bg),black 30%);color:#fff;border-radius:16px;box-shadow:0 6px 18px rgba(0,0,0,.18);opacity:0;visibility:hidden;transform:translateY(-12px);pointer-events:none;overflow:hidden;padding:8px;box-sizing:border-box;transition:opacity .22s ease,transform .22s ease,background-color .2s ease,visibility 0s linear .22s}.sidebar.open,.sort-menu.open{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;transition:opacity .22s ease,transform .22s ease}.sidebar,.sidebar-content{display:flex;flex-direction:column}.sidebar{left:9px;width:min(260px,calc(100vw - 18px));max-height:calc(100vh - 90px)}.sidebar-content{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent}.sort-menu{position:fixed;top:auto;right:auto;width:max-content;max-width:calc(100vw - 18px);z-index:2200}.category-nav ul,.sort-menu ul{list-style:none;padding:0;margin:0}.sort-menu .sort-menu-item .icon-svg{width:1.3rem;height:1.3rem;font-size:1.3rem;flex-shrink:0}.sort-menu .sort-menu-item span{flex-shrink:0;padding-left:5px}.main-content{display:flex;flex-direction:column;align-items:center;min-height:100vh;padding:0}.main-content>*{width:100%;max-width:1400px}.top-bar{position:sticky;top:0;height:62px;width:100%;display:flex;justify-content:space-between;align-items:center;padding:0 9px;flex-shrink:0;user-select:none;background:0 0;z-index:1000}html:not(.nh) #scroll-sentinel,html:not(.nh) .album-grid{display:none!important}.top-bar-left,.top-bar-right{display:flex;align-items:center;flex:1}.top-bar-left{justify-content:flex-start;gap:9px}.top-bar-right{justify-content:flex-end;gap:9px}.top-bar-center{position:relative;flex:0 1 350px;width:100%;height:100%}.top-bar-center .header-search,.top-bar-center .top-bar-logo-link{position:absolute;inset:0;display:flex;align-items:center;transition:opacity .22s ease,transform .22s cubic-bezier(.4,0,.2,1)}.top-bar-center .header-search{inset:0 8px}.top-bar-logo-link{justify-content:center;gap:8px;cursor:pointer;padding:0 16px}.top-bar-center[data-mode=search] .top-bar-logo-link{opacity:0;transform:translateY(-4px);pointer-events:none}.top-bar-center[data-mode=logo] .header-search{opacity:0;transform:translateY(4px);pointer-events:none}.top-bar svg.top-bar-logo{display:block;width:40px;height:26px;object-fit:contain;flex-shrink:0;fill:var(--primary-accent)}.logo-text{display:flex;align-items:center;font-size:1.35rem}.jungle-word,.photo-word{display:block;width:auto;overflow:visible}.photo-word{height:.85em;margin-top:-.055em}.jungle-word{height:1.1em;margin-top:.15em}.home-category{width:100%!important}.category-nav{flex-grow:1;overflow-y:auto;padding:0;scrollbar-width:none}.category-nav li a,.category-nav li button,.sort-menu-item{display:flex;gap:.3rem;align-items:center;height:44px;width:100%;padding:0 .8rem;background:0 0;border:0;border-radius:12px;text-align:left;font-size:.9rem;color:rgba(255,255,255,.85);cursor:pointer;overflow:hidden;white-space:nowrap;box-sizing:border-box;user-select:none;text-decoration:none;transition:background-color .2s ease,color .2s ease}.category-nav li a:not(.active):hover,.category-nav li button:not(.active):hover,.sort-menu-item:not(.active):hover{background:rgba(255,255,255,.05);color:#fff}.category-nav li a.active,.category-nav li button.active,.sort-menu-item.active{color:#fff;font-weight:600;background:rgba(255,255,255,.15);box-shadow:var(--shadow-inset-highlight)}.category-nav .icon{display:inline-flex;align-items:center;justify-content:center;text-align:center;flex-shrink:0;width:1.3rem;height:1.3rem;font-size:1.3rem}.sidebar-folder-avatar{width:23px;height:23px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#eee;opacity:0;transition:opacity .25s ease}.sidebar-folder-avatar.loaded{opacity:1}.category-name{padding-left:5px;flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:1}.category-toggle-btn{color:rgba(255,255,255,.9)!important;font-size:.85rem!important;text-transform:none;padding:10px .8rem!important;border-top:1px solid rgba(255,255,255,.1)!important;border-radius:0!important;display:flex;align-items:center;justify-content:space-between;font-weight:500}.category-toggle-btn .category-name{font-weight:600}.category-toggle-btn .icon-svg{font-size:1.4rem}.collapsible-content{overflow:hidden;max-height:0}.collapsible-content[aria-hidden=false]{max-height:none}ul.category-items{margin:0;padding:0;list-style:none}.album-grid-wrapper{position:relative;width:100%;margin:0;padding:1rem 1rem 0;box-sizing:border-box;overflow:clip;flex:1;display:flex;flex-direction:column}@media (max-width:1200px){.album-grid-wrapper{padding:0}}.empty-state,.not-found-page{display:flex;align-items:center;justify-content:center;flex:1;user-select:none}.empty-state{grid-column:1/-1;color:#999;font-size:1rem;padding:3rem 1rem}.not-found-page{flex-direction:column;width:100%;gap:18px}.not-found-logo{width:80px;height:auto;display:block}.not-found-title{color:#999;font-size:1.4rem;font-weight:500;margin:0}.go-back-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;margin:1rem 0 0;padding:0 20px 0 14px;background:var(--primary-accent);color:#fff;border-radius:var(--radius-full);text-decoration:none;font-size:.9rem;font-weight:500;border:0;cursor:pointer;transition:background-color .15s ease}.go-back-btn:hover{background:var(--primary-accent-hover)}html.dark .go-back-btn,html.vdl,html.vdl body{background:#000}html.dark .go-back-btn:hover{background:#222}.go-back-btn .icon-svg{font-size:1.25rem}.nh .home-landing{display:none}.home-branding-wrapper,.home-landing{display:flex;flex-direction:column;align-items:center}.home-landing{justify-content:center;flex:1;width:100%;user-select:none;gap:12px;padding:5rem 2rem;box-sizing:border-box}.home-branding-wrapper{gap:16px}.home-description{max-width:360px;text-align:center;font-size:1.1rem;line-height:1.6;color:#555;margin:12px 0;opacity:0;animation:homeFadeIn .6s ease .15s forwards}.home-branding{display:flex;flex-direction:column;align-items:center;gap:3px;opacity:0;animation:homeFadeIn .6s ease forwards}.home-logo{width:80px;height:auto;object-fit:contain}svg.home-logo{display:block}.home-logo-text{display:flex;align-items:center;font-size:1.9rem}.features-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;width:100%;max-width:680px;margin-top:40px}.feature-tile{border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:16px;display:flex;flex-direction:row;align-items:flex-start;text-align:left;background:0 0;gap:12px;box-sizing:border-box;opacity:0}.feature-tile:nth-child(1){animation:homeFadeIn .6s ease .45s forwards}.feature-tile:nth-child(2){animation:homeFadeIn .6s ease .6s forwards}.feature-tile:nth-child(3){animation:homeFadeIn .6s ease .75s forwards}.feature-tile:nth-child(4){animation:homeFadeIn .6s ease .9s forwards}@media (max-width:600px){.features-grid{grid-template-columns:1fr}}.feature-icon-wrapper{display:flex;align-items:center;justify-content:flex-start;flex-shrink:0}.feature-icon-wrapper .icon-svg{font-size:2rem;color:#333}.feature-content{display:flex;flex-direction:column}.feature-tile h3{margin:0 0 6px;font-size:1rem;font-weight:400;color:#000}.feature-tile p{margin:0;font-size:.9rem;color:#6a6a6a;line-height:1.6}@media (max-width:450px){.feature-tile h3{font-size:.95rem}.feature-tile p{font-size:.85rem}}.home-explore-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 14px 12px 20px;background:var(--primary-accent);color:#fff;border:0;border-radius:40px;font-size:.95rem;font-weight:500;cursor:pointer;opacity:0;animation:homeFadeIn .6s ease .3s forwards;transition:background-color .2s ease,transform .2s ease}.home-explore-btn .icon-svg{font-size:1.4rem}.tile,.tile-inner{position:relative;width:100%}.tile{display:block;text-decoration:none;color:inherit;aspect-ratio:1/1.3;transition:transform .2s ease-in-out;z-index:955;cursor:pointer}.tile-inner{height:100%;overflow:hidden;border-radius:15px;background-color:rgba(var(--avg-color),1);transition:box-shadow .2s ease-in-out}.album-cover,.tile-fade{position:absolute;inset:0}.album-cover{width:100%;height:100%;object-fit:cover;z-index:1;opacity:0;transition:opacity .3s ease-in-out;-webkit-user-drag:none;user-drag:none}.tile-fade{z-index:2;pointer-events:none;background:linear-gradient(to top,rgba(var(--avg-color),1) 0%,rgba(var(--avg-color),.85) 18%,rgba(var(--avg-color),0) 55%)}.album-cover.loaded{opacity:1}.album-cover.broken{visibility:hidden}.info,.info h3{color:#fff;line-height:20px}.info{position:absolute;bottom:0;left:0;right:0;z-index:3;padding:12px 14px 14px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;pointer-events:none}.info h3{margin:0;font-size:.9rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word;word-break:break-word}.info h3 .title{font-weight:500;opacity:1}.tile-count{font-size:.75rem;color:rgba(255,255,255,.85);line-height:16px}@media (max-width:900px){.info{padding:10px 10px 12px}}.category-nav::-webkit-scrollbar{width:0;height:0}.category-nav:hover{scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.1) transparent}.category-nav:hover::-webkit-scrollbar{width:6px;height:6px}.category-nav::-webkit-scrollbar-track{background:0 0;border-radius:3px}.category-nav::-webkit-scrollbar-thumb{background-color:transparent;border-radius:3px}.category-nav:hover::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3)}.category-toggle-btn:hover{background:0 0!important}.category-toggle-btn .icon-svg{transition:transform .3s cubic-bezier(.4,0,.2,1)}.category-toggle-btn[aria-expanded=true] .icon-svg{transform:rotate(180deg)}.collapsible-content{transition:max-height .3s cubic-bezier(.4,0,.2,1)}.category-name{transition:opacity .2s ease}.home-explore-btn:hover{background:var(--primary-accent-hover)}.grid-header{display:flex;align-items:center;margin:0}.page-header{margin:0}.grid-header{grid-column:1/-1;padding:0}.page-header{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;z-index:1000}.album-grid-wrapper>.top-bar{position:sticky;top:0;margin:0 auto;width:100%;background:var(--topbar-bg);border-radius:15px 15px 0 0;z-index:2100;opacity:0;transition:opacity .2s ease,top .2s cubic-bezier(.4,0,.2,1),margin .2s cubic-bezier(.4,0,.2,1),width .2s cubic-bezier(.4,0,.2,1),background-color .2s ease,border-radius .2s cubic-bezier(.4,0,.2,1)}:root{--topbar-bg:rgb(var(--page-color, 50, 50, 50))}html:not(.nh) .main-content{--topbar-bg:var(--primary-accent)}html.past-header .main-content{--topbar-bg:rgb(48 48 48)}html.dark .main-content{--topbar-bg:color-mix(in srgb, rgb(var(--page-color, 50, 50, 50)), black 10%)}html.dark:not(.nh) .main-content{--topbar-bg:#313131}html.dark.past-header .main-content{--topbar-bg:#464646}html.scrolled .album-grid-wrapper>.top-bar{border-radius:0}@media (max-width:1200px){.album-grid-wrapper>.top-bar{border-radius:0}}html.past-header .album-grid-wrapper>.top-bar{width:min(400px,100%);top:.5rem;border-radius:31px}html:not(.nh) .album-grid-wrapper>.top-bar{width:min(400px,100%);border-radius:31px;width:min(400px,calc(100% - 2rem));top:1rem}html.past-header .album-grid-wrapper>.top-bar{background:rgba(0,0,0,.4);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}html[style*="--page-color"] .album-grid-wrapper>.top-bar{opacity:1}.album-hero-text .header-action-btn,.top-bar .back-btn,.top-bar .header-action-btn{background:rgba(255,255,255,.15);box-shadow:var(--shadow-inset-highlight);color:#fff;border:0;border-radius:50%;width:44px;height:44px;padding:0;font-size:.95rem;font-weight:500;transition:background-color .2s ease}.album-hero-text .header-action-btn:hover,.top-bar .back-btn:hover,.top-bar .header-action-btn:hover{background:rgba(255,255,255,.25);border:0}.top-bar .back-btn.active{background:rgba(255,255,255,.35)!important;border:0!important;color:#fff!important}.top-bar svg path,html.dark .home-branding svg path{fill:#fff}.grid-header h2,.page-header h1{font-size:2rem;text-transform:none;color:var(--text-color);margin:0;opacity:.8;z-index:2}.grid-header h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}.page-header h1{white-space:normal;overflow:visible;text-overflow:clip}.photo-count{color:var(--text-muted);font-size:.95rem;font-weight:400;opacity:.7}.photo-count .parent-link{color:inherit;text-decoration:none;cursor:pointer}.photo-count .parent-link:hover{text-decoration:underline}.back-btn,.header-action-btn{position:relative;width:44px;height:44px;border-radius:50%;border:1px solid #ddd;display:flex;align-items:center;justify-content:center;color:#000;flex-shrink:0}.copy-toast{position:absolute;right:calc(100% + 12px);top:50%;transform:translateY(calc(-50% + 5px));background:#fff;color:#000;padding:12px 18px;border-radius:20px;font-size:.85rem;font-weight:500;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .25s ease,transform .25s ease;z-index:1000}.copy-toast.show{opacity:1;transform:translateY(-50%)}.back-btn{margin:0}.back-btn:hover,.header-action-btn:hover{background:#fafafa;border:1px solid #d4d4d4}.back-btn.active{background:#ffeae3!important;border:1px solid #ffeae3!important;color:var(--primary-accent)!important}.back-btn .icon-svg,.header-action-btn .icon-svg{font-size:1.3rem}.page-header .name{color:#000;font-weight:400;max-width:700px;display:inline-block}.page-header:has(.album-hero){padding:0;gap:0}.album-hero{position:relative;width:100%;aspect-ratio:2/1;max-height:500px;border-radius:0;display:flex;align-items:flex-end;justify-content:center;background-color:rgba(var(--avg-color),1);animation:heroFadeIn .18s ease-out both}.album-hero-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;-webkit-user-drag:none;user-drag:none;opacity:0;transition:opacity .18s ease-in-out;transform:translateZ(0);will-change:transform}.album-hero-cover.loaded{opacity:1}.album-hero-cover.broken{display:none}.folder-hero{width:100%;display:flex;flex-direction:column;align-items:center;opacity:0}.folder-hero:has(.folder-hero-cover.broken),.folder-hero:has(.folder-hero-cover.loaded){animation:heroFadeIn .18s ease-out forwards}.folder-hero-cover-wrap{position:relative;width:100%;aspect-ratio:2/1;max-height:300px;overflow:hidden;border-radius:0 0 15px 15px;background-color:rgba(var(--page-color, 240, 240, 240),1)}.folder-hero-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .18s ease-in-out;-webkit-user-drag:none;user-drag:none;transform:translateZ(0);will-change:transform}.folder-hero-cover.loaded{opacity:1}.folder-hero-cover.broken{display:none}@media (min-width:1000px){.album-hero{max-height:none}.folder-hero-cover-wrap{aspect-ratio:10/3;max-height:none}}.folder-hero-meta{width:100%;display:flex;flex-direction:column;align-items:center;padding:0 1rem 3rem;text-align:center;gap:.5rem}.folder-hero-avatar-wrap{width:150px;height:150px;border:5px solid #fff;border-radius:50%;background-color:rgb(var(--page-color, 50, 50, 50));box-sizing:border-box;position:relative;z-index:2;cursor:pointer;display:flex;align-items:center;justify-content:center}.folder-hero-avatar-row{--avatar-half:75px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:1rem;width:100%;margin-top:calc(-1*var(--avatar-half));color:var(--text-muted);font-size:.95rem}.folder-album-count,.folder-photo-count{display:flex;flex-direction:column;align-items:center;line-height:1}.folder-count-number{font-size:1.3rem;font-weight:400;color:#000;margin-bottom:.3rem}.folder-count-label{font-size:.75rem;font-weight:500;color:var(--text-muted)}.folder-hero-avatar-row .folder-album-count,.folder-hero-avatar-row .folder-photo-count{transform:translateY(calc(var(--avatar-half)/2))}.folder-hero-avatar-row .folder-album-count{justify-self:end}.folder-hero-avatar-row .folder-photo-count{justify-self:start}.folder-hero-avatar{width:100%;height:100%;border-radius:50%;object-fit:cover;background-color:#fff;opacity:0;transition:opacity .25s ease}.folder-hero-avatar.loaded{opacity:1}.folder-hero-meta:not(:has(.folder-hero-avatar-wrap)){padding-top:3rem}.folder-hero-meta h1{margin:0;font-size:2rem;font-weight:500;line-height:1.2;color:#000;opacity:1;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;max-width:100%;min-width:0}.folder-hero-meta h1 .name{overflow-wrap:break-word;word-break:break-word;min-width:0}.folder-hero-meta h1>.icon-svg{flex:0 0 auto;transform:translateY(.08em)}.folder-hero-counts{width:100%;display:flex;justify-content:center;align-items:baseline;gap:2.5rem;color:var(--text-muted);font-size:.95rem;opacity:1}.folder-hero-counts .folder-album-count,.folder-hero-counts .folder-photo-count{flex:0 0 auto}.folder-hero-description{margin:.75rem 0;max-width:330px;color:var(--text-muted);font-size:.95rem;line-height:1.45;white-space:pre-line;overflow-wrap:break-word;word-break:break-word}.folder-hero-link{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;height:44px;margin-top:.3rem;padding:0 20px 0 14px;background:rgb(var(--page-color, 100, 100, 100));color:#fff;border-radius:var(--radius-full);text-decoration:none;font-size:.9rem;font-weight:500}.folder-hero-link>.icon-svg{font-size:1.3rem}.folder-hero-link:hover{background:color-mix(in srgb,rgb(var(--page-color, 100, 100, 100)),black 10%)}.avatar-overlay{position:fixed;inset:0;z-index:5000;pointer-events:auto}.avatar-overlay-backdrop{position:absolute;inset:0;background-color:transparent;transition:background-color .32s ease}.avatar-overlay.open .avatar-overlay-backdrop{background-color:rgba(0,0,0,.9)}.avatar-overlay-img{position:fixed;border-radius:50%;object-fit:cover;cursor:pointer;z-index:5001;transition:top .32s cubic-bezier(.4,0,.2,1),left .32s cubic-bezier(.4,0,.2,1),width .32s cubic-bezier(.4,0,.2,1),height .32s cubic-bezier(.4,0,.2,1)}@media (max-width:1200px){.folder-hero-cover-wrap{border-radius:0}}@media (min-width:800px){.folder-hero-avatar-wrap{width:200px;height:200px}.folder-hero-avatar-row{--avatar-half:100px}}@media (max-width:600px){.folder-hero-cover-wrap{aspect-ratio:3/2}.folder-hero-meta h1{font-size:1.5rem}}.album-hero-fade{position:absolute;inset:0;z-index:2;background:linear-gradient(to top,rgba(var(--avg-color),1) 0%,rgba(var(--avg-color),.85) 18%,rgba(var(--avg-color),0) 55%);pointer-events:none}@media (max-width:1000px){.album-hero-fade{background:linear-gradient(to top,rgba(var(--avg-color),1) 0%,rgba(var(--avg-color),.85) 25%,rgba(var(--avg-color),0) 70%)}}.album-hero-text{position:relative;z-index:3;width:100%;padding:1rem;text-align:center;color:#fff;display:flex;flex-direction:column;align-items:center;gap:1rem}.album-hero-text h1{margin:0;font-size:2.2rem;font-weight:500;line-height:1.15;color:#fff;opacity:1}.album-hero-text .name{color:#fff;max-width:700px;display:inline-block;overflow-wrap:break-word;word-break:break-word}.album-hero-text .album-meta-row{width:100%;display:grid;grid-template-columns:1fr minmax(0,auto) 1fr;align-items:center;gap:12px}.album-hero-text .album-meta-row>.album-license-btn{justify-self:start}.album-hero-text .album-meta-row>.album-breadcrumb{justify-self:center}.album-hero-text .album-meta-row>.album-sort-btn{justify-self:end}.album-hero-text .album-meta-row .album-breadcrumb{color:#fff;opacity:1;font-size:1.2rem;min-width:0;max-width:100%;overflow:hidden}.album-hero-text .album-meta-row .album-breadcrumb .parent-link,.album-hero-text .album-meta-row .album-breadcrumb .parent-link:focus,.album-hero-text .album-meta-row .album-breadcrumb .parent-link:hover,.album-hero-text .album-meta-row .album-breadcrumb .parent-link:visited{color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:14px;vertical-align:middle;max-width:100%;min-width:0}.album-hero-text .album-meta-row .album-breadcrumb .parent-link>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.parent-link-image{width:33px;height:33px;border-radius:50%;object-fit:cover;flex:0 0 auto;background-color:#333;opacity:0;transition:opacity .25s ease}.parent-link-image.loaded{opacity:1}.album-hero-text .album-meta-row>.album-license-btn{position:relative}.album-hero-text .album-meta-row>.album-license-btn .copy-toast{position:absolute;top:50%;left:calc(100% + 1rem);right:auto;bottom:auto;background:color-mix(in srgb,var(--topbar-bg),black 30%);color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.18);transform:translate(-5px,-50%);white-space:normal;text-align:left;padding:12px 16px;border-radius:14px;min-width:180px;max-width:260px;font-weight:400;z-index:10}.album-hero-text .album-meta-row>.album-license-btn .copy-toast.show{opacity:1;transform:translate(0,-50%)}@media (hover:hover){.album-hero-text .album-meta-row>.album-license-btn:hover .copy-toast{opacity:1;transform:translate(0,-50%)}}.license-toast-title{font-weight:600;font-size:.9rem;color:#fff;margin-bottom:8px}.license-toast-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.license-toast-list li{display:flex;align-items:center;gap:6px;font-size:.78rem;line-height:1.3}.license-toast-text{margin:0;font-size:.78rem;color:rgba(255,255,255,.85);line-height:1.4}.license-bullet-icon{width:.9rem;height:.9rem;flex-shrink:0;fill:currentColor}.license-toast-list li,.license-toast-no .license-bullet-icon,.license-toast-ok .license-bullet-icon{color:rgba(255,255,255,.85)}@media (max-width:600px){.album-hero{border-radius:0;aspect-ratio:3/2}.album-hero-text h1{font-size:1.65rem}}@media (max-width:480px){.album-hero{aspect-ratio:4/3}}.header-search,.header-search .search-icon{display:flex;align-items:center}.header-search .search-icon{position:absolute;left:14px;justify-content:center;color:#888;pointer-events:none}.header-search .search-icon .icon-svg{font-size:1.4rem;color:#000}.header-search-input{appearance:none;-webkit-appearance:none;height:44px;border-radius:22px;border:0;background:rgba(255,255,255,.15);box-shadow:var(--shadow-inset-highlight);color:#fff;transition:background-color .2s ease;width:100%;padding:0 46px;font-size:15px;font-family:inherit}.header-search-input::-webkit-search-cancel-button,.header-search-input::-webkit-search-decoration,.header-search-input::-webkit-search-results-button{-webkit-appearance:none;display:none}.header-search-input:focus,.header-search-input:hover{border:0;background:rgba(255,255,255,.25)}.header-search-input::placeholder{color:rgba(255,255,255,.65)}.search-clear-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;border:0;background:0 0;display:flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;transition:background-color .2s ease}.search-clear-btn:hover{background:rgba(255,255,255,.15);color:#fff}.search-clear-btn .icon-svg{font-size:1.2rem}.album-view .album-grid{display:block;padding:3px 0;margin:0;max-width:none;font-size:0;line-height:0}.album-grid-wrapper.album-view{margin:0}.tile.tile-enter{animation:tileEnter .32s cubic-bezier(.4,0,.2,1) backwards;animation-delay:calc(var(--i, 0)*18ms)}@media (prefers-reduced-motion:reduce){.album-hero,.folder-hero,.tile.tile-enter{animation:none}}::view-transition-new(root),::view-transition-old(root){animation-duration:.22s;animation-timing-function:cubic-bezier(.4,0,.2,1)}.nav-progress{position:fixed;top:0;left:0;width:100%;height:2px;pointer-events:none;z-index:3500;opacity:0;transition:opacity .18s ease;overflow:hidden}.album-view .photo-item img.fully-loaded,.nav-progress.active{opacity:1}.nav-progress::before{content:"";position:absolute;top:0;left:0;height:100%;width:40%;background:var(--primary-accent);border-radius:0 2px 2px 0;transform:translateX(-100%);animation:navProgressSlide 1.1s cubic-bezier(.4,0,.2,1) infinite}@media (prefers-reduced-motion:reduce){.nav-progress::before{animation:none;transform:translateX(0);width:100%;opacity:.5}}.album-view .tile{display:inline-block;vertical-align:top;margin:0;overflow:hidden}.tile:hover{z-index:960;transform:scale(1.01)}.tile:hover .tile-inner{box-shadow:0 3px 12px rgba(var(--avg-color, 100, 100, 100),.4)}.album-view .tile:hover{transform:none}.album-view .photo-item{display:block;border:0;padding:0;background:#f5f5f5;cursor:pointer;position:relative;overflow:hidden;width:100%;height:100%}html.dark .album-view .photo-item{background:#2e2e2e}.album-view .image-container{position:absolute;inset:0}.album-view .photo-item img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity .3s ease-in-out;opacity:0;transform:translateZ(0);will-change:transform}.album-view .photo-item img.broken{visibility:hidden}.action-btn{background:0 0;border:0;color:#fff;cursor:pointer;min-width:48px;padding:0 16px;height:48px;display:inline-flex;align-items:center;text-decoration:none;font-size:.9rem;font-weight:400;gap:8px;border-radius:24px}.action-btn .icon-svg{font-size:24px}body.admin-mode .category-items:not(:empty){min-height:20px;border-radius:12px;transition:background .2s ease}.sidebar-ghost{opacity:.4;background:color-mix(in srgb,var(--primary-accent),white 88%)!important}.theme-button{color:var(--button-text-color-alt);background:var(--bg-white);display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:0 1rem;border-radius:24px;height:48px;font-size:.9rem;text-decoration:none;font-weight:500}.theme-button[hidden]{display:none}.theme-button:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.blue-btn{color:#fff!important;background:var(--primary-accent)!important}.blue-btn:hover{background:var(--primary-accent-hover)!important}.white-btn{color:#000!important;background:#fff;border:1px solid #efefef}.white-btn:hover{border:1px solid #ddd}.dialog-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;max-width:none;background:rgba(0,0,0,.4);display:none;justify-content:center;align-items:center;z-index:2200;animation:dialogBackdropIn .2s ease both}.dialog-content{background:var(--bg-white);padding:0 2rem 2.5rem;border-radius:24px;margin:1rem;width:100%;max-width:420px;max-height:calc(100vh - 2rem);overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;display:flex;flex-direction:column;align-items:center;position:relative;box-shadow:0 20px 40px rgba(0,0,0,.12);border:1px solid var(--border-light);animation:dialogContentIn .24s cubic-bezier(.22,1,.36,1) both}.dialog-backdrop.dialog-closing{display:flex!important;animation:dialogBackdropOut .2s ease both}.dialog-backdrop.dialog-closing .dialog-content{animation:dialogContentOut .2s ease both}@media (prefers-reduced-motion:reduce){.dialog-backdrop,.dialog-backdrop.dialog-closing,.dialog-backdrop.dialog-closing .dialog-content,.dialog-content{animation:none!important}}#confirmDialog{z-index:2300}.confirm-dialog-content{padding:1.9rem 1.9rem 1.6rem;max-width:360px;text-align:center}.confirm-dialog-title{margin:0 0 10px;font-size:1.15rem}.confirm-dialog-title.no-msg{margin-bottom:22px}.auth-card p,.confirm-dialog-message{margin:0 0 22px;color:#666;line-height:1.5;font-size:.95rem}.confirm-dialog-actions{display:flex;gap:10px;width:100%}.confirm-dialog-actions .theme-button{flex:1}.confirm-dialog-actions .delete-btn{display:block}.close-btn,.dialog-header{background:var(--bg-white);display:flex;align-items:center}.close-btn{position:absolute;top:15px;right:15px;height:40px;width:40px;justify-content:center;border-radius:50%;border:1px solid var(--theme-border-color)}.close-btn:hover{color:#000}.dialog-header{position:sticky;top:0;z-index:3;align-self:stretch;margin:0-2rem 1.25rem;padding:1.5rem 2rem 1rem;border-radius:24px 24px 0 0;border-bottom:1px solid var(--border-light);flex-direction:column}.dialog-header h2{margin:0;padding:0 56px;width:100%;box-sizing:border-box;text-align:center}.dialog-content h2{margin-top:0;margin-bottom:.5rem;text-align:center;color:#1a1a1a;font-size:1.5rem;font-weight:600}#drop-overlay .drop-overlay-inner,.dialog-delete-btn{position:absolute;display:flex;align-items:center;justify-content:center}.dialog-delete-btn{top:15px;left:15px;height:40px;width:40px;padding:0;border-radius:50%;border:1px solid var(--theme-border-color);background:var(--bg-white);color:#e23636;cursor:pointer;transition:border-color .15s ease}.close-btn:hover,.dialog-delete-btn:hover{border:1px solid var(--theme-border-color-hover)}.dialog-delete-btn .icon-svg{width:22px;height:22px;fill:currentColor}.sortable-ghost{opacity:.4;filter:grayscale(100%)}#drop-overlay,#globalBusyChip{position:fixed;pointer-events:none}#drop-overlay{top:0;left:0;right:0;bottom:0;background:color-mix(in srgb,var(--primary-accent) 92%,#04150c);color:#fff;font-size:2rem;font-weight:600;z-index:9999;opacity:0;transition:opacity .2s}#drop-overlay .drop-overlay-inner{inset:24px;border:3px dashed rgba(255,255,255,.75);border-radius:24px;flex-direction:column;gap:14px}#drop-overlay .drop-overlay-icon{width:84px;height:84px;opacity:.95}#drop-overlay.active{opacity:1;pointer-events:all}#globalBusyChip{left:20px;bottom:20px;z-index:1000;display:flex;align-items:center;gap:10px;padding:8px 14px 8px 12px;background:rgba(31,41,55,.92);color:#f5f7fa;font-size:.85rem;border-radius:999px;box-shadow:0 4px 18px rgba(0,0,0,.25);animation:gbc-fade-in 120ms ease-out}#globalBusyChip .gbc-spinner{width:14px;height:14px;border-radius:50%;border:2px solid rgba(245,247,250,.25);border-top-color:#f5f7fa;animation:gbc-spin .8s linear infinite}#batchBackgroundIndicator{position:fixed;right:.5rem;bottom:.5rem;z-index:4000;min-width:240px;max-width:320px;background:#1a1a1a;color:#fff;border-radius:14px;padding:12px 16px;box-shadow:0 8px 24px rgba(0,0,0,.25);cursor:pointer;user-select:none;display:flex;flex-direction:column;gap:6px;transition:transform .15s ease}#batchBackgroundIndicator:hover{transform:translateY(-2px)}#batchBackgroundIndicator[hidden]{display:none}#batchBackgroundIndicator.is-success{background:#458b60}#batchBackgroundIndicator.is-error{background:#8b1f1f}#batchBackgroundIndicator .bbi-title{font-size:.9rem;font-weight:600;line-height:1.2}#batchBackgroundIndicator .bbi-text{font-size:.78rem;line-height:1.3;color:rgba(255,255,255,.8)}#batchBackgroundIndicator .bbi-bar{width:100%;height:4px;background:rgba(255,255,255,.2);border-radius:2px;overflow:hidden}#batchBackgroundIndicator .bbi-bar-fill{width:0%;height:100%;background:#fff;transition:width .2s}#batchThumbsGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:6px;width:100%;max-height:260px;overflow-y:auto;margin-bottom:12px;padding:4px 0}.batch-thumb{position:relative;aspect-ratio:1;border-radius:6px;overflow:hidden;background:#f4f4f4}.batch-thumb canvas,.batch-thumb img{width:100%;height:100%;object-fit:cover;display:block}.batch-thumb::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.55);pointer-events:none;transition:background .2s}.batch-thumb.is-uploading::after{background:rgba(30,100,200,.25)}.batch-thumb.is-ok::after{background:0 0}.batch-thumb.is-failed::after{background:rgba(200,40,40,.35)}.batch-thumb.is-cancelled::after{background:rgba(0,0,0,.5)}.batch-thumb-status{position:absolute;top:3px;right:3px;width:18px;height:18px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;font-size:12px;line-height:18px;text-align:center;z-index:2;display:none}.batch-thumb.is-cancelled .batch-thumb-status,.batch-thumb.is-committing .batch-thumb-status,.batch-thumb.is-failed .batch-thumb-status,.batch-thumb.is-ok .batch-thumb-status,.batch-thumb.is-uploading .batch-thumb-status{display:flex;align-items:center;justify-content:center}.batch-thumb.is-ok .batch-thumb-status{background:#458b60}.batch-thumb.is-failed .batch-thumb-status{background:#8b1f1f}.batch-thumb.is-committing .batch-thumb-status,.batch-thumb.is-uploading .batch-thumb-status{background:#222}.up-arrow,.up-ic,.up-spinner{display:inline-block;flex:none}.up-arrow,.up-ic{width:1em;height:1em;stroke-width:2.5}.up-spinner{box-sizing:border-box;width:.95em;height:.95em;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:up-spin 1.4s linear infinite}.upload-title{display:inline-flex;align-items:center;gap:8px}#modalTitle .upload-title .up-ic,#modalTitle .upload-title .up-spinner{color:#000}#modalTitle .upload-title .up-ic{stroke-width:2.8}#batchBackgroundIndicator .up-ic{stroke-width:2.8;width:1.25em;height:1.25em}.batch-added-toast{align-self:stretch;margin-bottom:12px;padding:8px 12px;background:color-mix(in srgb,var(--primary-accent) 9%,#fff);border:1px solid color-mix(in srgb,var(--primary-accent) 35%,#fff);border-radius:8px;font-size:.85rem;color:color-mix(in srgb,var(--primary-accent) 75%,#000)}.upload-loading-text{margin-bottom:20px}.batch-current-file{width:100%;margin-bottom:8px}.batch-file-name{font-size:.92rem;color:#1a1a1a;word-break:break-all;margin-bottom:4px}.batch-file-phase{font-size:.8rem;color:#888}.upload-track{width:100%;background:#ededed;border-radius:999px;overflow:hidden;position:relative}.upload-track-sm{height:6px;margin-bottom:14px}.upload-track-hero{height:14px;margin-top:10px}.upload-fill{position:relative;width:0%;height:100%;background:var(--primary-accent);border-radius:inherit}#batchFileProgressBar{transition:width .15s}.batch-eta,.upload-pct{margin-top:8px;width:100%;text-align:center}.upload-pct{font-size:1rem;font-weight:700;letter-spacing:.2px;color:#1a1a1a;font-variant-numeric:tabular-nums}.batch-eta{font-size:.85rem;color:#555}.batch-failures{width:100%;margin-top:16px;max-height:160px;overflow-y:auto;border:1px solid #f0d4d4;border-radius:10px;background:#fff8f8;padding:4px 10px;font-size:.82rem;color:#7a2a2a}.batch-fail-banner{text-align:center;padding:10px 4px;line-height:1.4}.batch-fail-row{display:flex;align-items:center;gap:10px;padding:7px 2px;border-bottom:1px solid #f3e2e2}.batch-fail-row:last-child{border-bottom:none}.batch-fail-thumb{flex:0 0 30px;width:30px;height:30px;border-radius:6px;background:#eee2e2;object-fit:cover}.batch-fail-name,.batch-fail-reason{min-width:0;white-space:nowrap;overflow:hidden}.batch-fail-name{flex:1;font-weight:500;color:#5d2424}.batch-fail-reason{flex:0 1 auto;color:#a05b5b;font-size:.78rem;text-overflow:ellipsis}.batch-fail-retry{flex:0 0 auto;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:1px solid #dfc0c0;border-radius:50%;background:0 0;color:#7a2a2a;cursor:pointer;padding:0}.batch-fail-retry:hover{background:#f6e3e3}.batch-fail-retry svg{width:15px;height:15px;display:block}.batch-fail-retry:disabled{opacity:.4;cursor:default}.batch-button-row{width:100%;margin-top:16px;gap:8px;flex-direction:row}.batch-button-row .theme-button{flex:1}.green-outline-btn{color:var(--primary-accent)!important;background:0 0!important;border:1.5px solid var(--primary-accent)!important}.green-outline-btn:hover{background:color-mix(in srgb,var(--primary-accent) 9%,transparent)!important}.upload-done-btn{margin-top:20px;width:100%}#batchBackgroundIndicator .bbi-text,#batchEta{font-variant-numeric:tabular-nums}#uploadProgressBar{transition:width .25s ease-out}#batchBackgroundIndicator .bbi-bar.is-processing,#uploadProgressContainer.is-processing{position:relative}#batchBackgroundIndicator .bbi-bar.is-processing::after,#uploadProgressContainer.is-processing::after{content:"";position:absolute;inset:0;transform:translateX(-100%);animation:up-shimmer 1.2s ease-in-out infinite}#uploadProgressContainer.is-processing::after{background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent)}#batchBackgroundIndicator .bbi-bar.is-processing::after{background:linear-gradient(90deg,transparent,rgba(0,0,0,.3),transparent)}.batch-thumb-status .up-arrow,.batch-thumb-status .up-ic{width:11px;height:11px;stroke-width:3.2}.batch-thumb.is-ok .batch-thumb-status{animation:up-pop .28s ease-out}#batchBackgroundIndicator:not([hidden]){animation:bbi-in .16s ease-out}#batchBackgroundIndicator .bbi-expand{position:absolute;top:10px;right:12px;width:14px;height:14px;opacity:.5;pointer-events:none}#batchBackgroundIndicator:hover .bbi-expand{opacity:.85}#batchBackgroundIndicator .bbi-expand svg{width:100%;height:100%;display:block}#batchBackgroundIndicator .bbi-title{padding-right:18px}@media (prefers-reduced-motion:reduce){#batchBackgroundIndicator .bbi-bar.is-processing::after,#batchBackgroundIndicator:not([hidden]),#uploadProgressContainer.is-processing::after,.batch-thumb.is-ok .batch-thumb-status,.up-spinner{animation:none}#uploadProgressBar{transition:none}}#undoToasts,.admin-empty-state{display:flex;flex-direction:column}.admin-empty-state{grid-column:1/-1;align-items:center;justify-content:center;text-align:center;padding:60px 24px;min-height:280px;border:2px dashed #d8d8d8;border-radius:16px;background:#fafafa;cursor:pointer;transition:border-color .15s ease,background-color .15s ease;margin:16px;font-size:1rem;line-height:normal}.admin-empty-state:hover{border-color:var(--primary-accent);background:#f5fbff}.admin-empty-icon{width:56px;height:56px;color:#b8b8b8;margin-bottom:12px}.admin-empty-icon .icon-svg{width:100%;height:100%}.admin-empty-heading{font-size:1.1rem;font-weight:500;color:#1a1a1a;margin-bottom:6px}.admin-empty-sub{font-size:.9rem;color:#888;max-width:360px}#undoToasts{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:5000;gap:8px;pointer-events:none}.undo-toast{pointer-events:all;background:#1a1a1a;color:#fff;border-radius:12px;padding:12px 14px 12px 16px;min-width:320px;max-width:480px;display:flex;align-items:center;gap:14px;box-shadow:0 8px 24px rgba(0,0,0,.3);opacity:0;transform:translateY(8px);animation:undoToastIn .18s ease forwards}.undo-toast.is-dismissing{animation:undoToastOut .2s ease forwards}.undo-toast-text{flex:1;min-width:0;font-size:.9rem}.undo-toast-progress{width:80px;height:4px;background:rgba(255,255,255,.2);border-radius:2px;overflow:hidden;flex-shrink:0}.undo-toast-progress-fill{height:100%;width:100%;background:#fff;transition:width .1s linear}.undo-toast.is-committing .undo-toast-progress-fill{animation:undoToastIndeterminate 1s linear infinite;width:40%}.undo-toast.is-committing.is-real-progress .undo-toast-progress-fill{animation:none;transition:width .18s linear}.undo-toast-btn{flex-shrink:0;background:0 0;border:1px solid rgba(255,255,255,.4);color:#fff;border-radius:8px;padding:6px 12px;font-size:.82rem;cursor:pointer;transition:border-color .15s ease,background-color .15s ease}.undo-toast-btn:hover{border-color:#fff;background:rgba(255,255,255,.1)}.undo-toast.is-committing .undo-toast-btn{display:none}.undo-toast.is-error{background:#5a1a1a}.toast,.toast-icon{display:flex;align-items:center}.toast{pointer-events:all;background:#1a1a1a;color:#fff;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:14px 14px 14px 18px;min-width:280px;max-width:480px;gap:12px;box-shadow:0 10px 30px rgba(0,0,0,.35);opacity:0;transform:translateY(8px);animation:undoToastIn .18s ease forwards}.toast.is-dismissing{animation:undoToastOut .2s ease forwards}.toast.is-error{background:#5a1a1a;border-color:rgba(255,255,255,.12)}.toast-icon{flex-shrink:0;color:#ff9b9b}.toast-icon svg{width:22px;height:22px;fill:currentColor}.toast-text{flex:1;min-width:0;font-size:.9rem;line-height:1.35;white-space:pre-wrap}.toast-close{flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:0 0;border:0;color:rgba(255,255,255,.7);font-size:1.3rem;line-height:1;padding:0;cursor:pointer;border-radius:50%;transition:background-color .15s ease,color .15s ease}.toast-close:hover{background:rgba(255,255,255,.12);color:#fff}#folderFields,.admin-form{display:flex;flex-direction:column;width:100%}#folderFields{gap:1.25rem}.admin-form input,.admin-form select{width:100%;box-sizing:border-box;padding:14px 16px;margin:5px 0;border:1.5px solid #eee;border-radius:12px;font-size:16px;color:#1a1a1a;transition:border-color .2s ease,background-color .2s ease;background:#fcfcfc}.admin-form input:focus,.admin-form select:focus{outline:0;border-color:var(--primary-accent);background:#fff;box-shadow:0 0 0 4px rgba(0,185,244,.1)}.admin-form input::placeholder{color:#aaa}.admin-btn-row{display:flex;gap:12px;margin-top:.5rem;width:100%}.admin-btn-row.stacked,.users-list{flex-direction:column;gap:8px}.admin-btn-row.stacked>.theme-button{width:100%;flex:none}.users-list{display:flex}.user-row-wrap{border:1.5px solid #eee;border-radius:12px;background:#fcfcfc;overflow:hidden}.user-row{display:grid;grid-template-columns:1fr auto auto auto;gap:8px;align-items:center;padding:10px 10px 10px 14px}.user-edit{padding:6px 14px 14px;border-top:1px solid var(--border-light)}.user-edit[hidden]{display:none}.user-edit .admin-form{margin-top:6px}.user-edit .field-label{background:#fcfcfc}.user-edit .admin-btn-row{margin-top:.75rem}.user-row-main{display:flex;flex-direction:column;gap:2px;min-width:0}.user-row-email{font-weight:600;color:#1a1a1a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-row-email .user-tag{font-weight:400;color:#888}.user-row-email .user-tag.disabled{color:#c0392b}.user-row-meta{font-size:.82rem;color:#888}.user-row-btn{height:38px;width:38px;display:flex;align-items:center;justify-content:center;padding:0;border-radius:50%;border:1.5px solid #eee;background:#fff;color:#555;cursor:pointer;transition:border-color .15s ease,color .15s ease,background-color .15s ease}.user-row-btn:hover:not(:disabled){border-color:#d4d4d4;color:#1a1a1a}.user-row-btn:disabled{opacity:.5;cursor:not-allowed}.user-row-btn .icon-svg{width:20px;height:20px;fill:currentColor}.user-row-btn.danger{color:#e23636}.user-row-btn.danger:hover:not(:disabled){border-color:#e23636;color:#e23636}.add-user-details{border-top:1px solid var(--border-light);padding-top:6px}.add-user-details>summary{cursor:pointer;font-weight:600;color:#1a1a1a;padding:8px 2px;list-style:none}.add-user-details>summary::-webkit-details-marker{display:none}.add-user-details>summary::before{content:"+";display:inline-block;width:1em;font-weight:400;color:#888}.add-user-details[open]>summary::before{content:"–"}.add-user-details .admin-form{margin-top:8px}.users-form-error{color:#c0392b;font-size:.85rem;min-height:1.1em}.admin-form .file-input-label{font-size:14px;color:#555;margin-top:12px;margin-bottom:4px}.admin-form input[type=file]{padding:10px 12px;font-size:14px}.admin-form .file-picker{margin:12px 0 4px}.admin-form .field-label,.admin-form .file-picker-label{display:inline-block;align-self:flex-start;width:fit-content;position:relative;left:12px;margin:0;padding:0 6px;background:var(--bg-white);font-size:13px;line-height:1;color:#1a1a1a;z-index:1}.admin-form .field-label{top:14px}.admin-form .file-picker-label{top:9px}.required-mark{color:#e23636;margin-left:3px;font-weight:600}.admin-form .char-counter{display:block;width:100%;text-align:right;margin:4px 4px 0 0;font-size:.75rem;color:#888;font-variant-numeric:tabular-nums}.admin-form .char-counter.over{color:#c0392b}html.dark .admin-form .char-counter{color:#888}html.dark .admin-form .char-counter.over{color:#f87171}.admin-form .file-picker-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.admin-form .file-picker-zone{position:relative;display:flex;align-items:center;gap:14px;padding:12px;border:1.5px dashed #d8d8d8;border-radius:14px;background:#fcfcfc;cursor:pointer;transition:border-color .15s ease,background-color .15s ease;min-height:88px}.admin-form .file-picker-input:focus-visible+.file-picker-zone,.admin-form .file-picker-zone:hover{border-color:var(--primary-accent);background:#f5fbff}.admin-form .file-picker-zone.dragover{border-color:var(--primary-accent);background:#ecf6fe}.admin-form .file-picker-preview{flex-shrink:0;width:72px;height:72px;border-radius:10px;background:#ececec center/cover no-repeat;overflow:hidden;position:relative}.admin-form .file-picker-preview::after{content:"+";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#b8b8b8;font-size:28px;font-weight:300;line-height:1}.admin-form .file-picker-preview.has-image::after{content:none}.admin-form .file-picker-cta{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.admin-form .file-picker-cta-label{color:#1a1a1a;font-weight:500;font-size:.92rem}.admin-form .file-picker-cta-help{color:#888;font-size:.8rem}.admin-form .file-picker-clear{position:absolute;top:50%;right:12px;transform:translateY(-50%);margin:0;padding:0;width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #d6d6d6;color:#555;cursor:pointer;transition:color .15s ease,border-color .15s ease,background-color .15s ease;z-index:2}.admin-form .file-picker-clear[hidden]{display:none}.admin-form .file-picker-clear:hover{color:#c00;border-color:#f0c0c0;background:#fff5f5}.admin-form .file-picker-clear .icon-svg{width:16px;height:16px;fill:currentColor}.admin-form .file-picker-zone:has(.file-picker-clear:not([hidden])) .file-picker-cta{padding-right:36px}.admin-form .file-picker-zone:has(.file-picker-clear:not([hidden])) .file-picker-cta-help{display:none}.admin-form .album-cover-preview-zone{cursor:default;padding:8px;justify-content:center}.admin-form .album-cover-preview-zone:hover{border-color:#d8d8d8;background:#fcfcfc}.admin-form .album-cover-preview-img{display:block;max-width:100%;max-height:220px;object-fit:contain;border-radius:8px}.admin-form .file-picker[hidden]{display:none}.admin-form .checkbox-row{display:flex;align-items:center;gap:12px;margin:8px 0 4px;padding:12px 16px;min-height:44px;font-size:15px;color:#1a1a1a;cursor:pointer;user-select:none;background:#fcfcfc;border:1.5px solid #eee;border-radius:12px;transition:background-color .15s ease,border-color .15s ease}.admin-form .checkbox-row:hover{background:#f5f5f5;border-color:#ddd}.admin-form .checkbox-row:has(input[type=checkbox]:checked){background:#eef4ff;border-color:var(--primary-accent)}.admin-form .checkbox-row input[type=checkbox]{width:20px;height:20px;margin:0;padding:0;flex-shrink:0;accent-color:var(--primary-accent);cursor:pointer}.tags-section{margin:12px 0 4px}.tags-section-label{font-size:14px;color:#555;margin-bottom:6px;font-weight:500}.tags-list{display:flex;flex-direction:column;gap:4px;max-height:220px;overflow-y:auto;border:1.5px solid #eee;border-radius:12px;padding:4px;background:#fcfcfc}.tags-list .tag-row{display:flex;align-items:center;gap:12px;min-height:44px;padding:6px 12px;border-radius:8px;cursor:pointer;user-select:none;background:0 0;transition:background-color .15s ease}.tags-list .tag-row:hover{background:rgba(0,0,0,.04)}.tags-list .tag-row input[type=checkbox]{width:18px;height:18px;margin:0;flex-shrink:0;accent-color:var(--primary-accent);cursor:pointer}.tags-list .tag-row .tag-name{flex:1;min-width:0;font-size:14px;color:#1a1a1a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tags-list .tag-row .tag-count{flex-shrink:0;font-size:12px;color:#888;font-variant-numeric:tabular-nums}.tags-list .tag-row:has(input[type=checkbox]:checked){background:color-mix(in srgb,var(--primary-accent),transparent 90%)}.tags-list .tag-row:has(input[type=checkbox]:checked):hover{background:color-mix(in srgb,var(--primary-accent),transparent 84%)}.tags-list .tag-row.is-hidden .tag-name{opacity:.65;font-style:italic}.tags-empty,.tags-loading{font-size:13px;color:#888;padding:12px 4px}html.dark .tags-list{background:#1a1a1a;border-color:#333}html.dark .tags-list .tag-row{color:#ddd}html.dark .tags-list .tag-row .tag-name{color:#e6e6e6}html.dark .tags-list .tag-row .tag-count{color:#999}html.dark .tags-list .tag-row:hover{background:rgba(255,255,255,.06)}.admin-mode .is-hidden-folder>.nav-btn .category-name{opacity:.55;font-style:italic}.admin-mode .is-hidden-folder>.nav-btn .category-name::after{content:" (hidden)";font-size:.85em;opacity:.75}.delete-btn{background-color:#ff4d4d!important;color:#fff!important;border:0!important;flex:1;display:none;font-weight:500}.delete-btn:hover{background-color:#f33!important}.save-btn{flex:2;font-weight:600}.save-btn[aria-busy=true]{opacity:.65;cursor:progress}.save-btn[aria-busy=true]::before{content:"";display:inline-block;width:14px;height:14px;margin-right:8px;border-radius:50%;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;animation:gbc-spin .8s linear infinite;vertical-align:-2px}.save-btn:disabled:not([aria-busy=true]){opacity:.55;cursor:not-allowed}body.admin-mode .reorderable .tile{cursor:grab}body.admin-mode .reorderable .tile:active{cursor:grabbing}body.admin-mode .album-sort-btn{opacity:.4;pointer-events:none;cursor:default}.sidebar-account{flex-grow:0;flex-shrink:0;overflow:visible;padding-bottom:8px;margin-bottom:10px;border-bottom:1px solid rgba(255,255,255,.14)}body.role-user .sidebar-account{border-bottom:none;margin-bottom:0}.sidebar-account .icon-svg-wrap{display:contents}.sidebar-account .sidebar-account-identity{display:flex;gap:.3rem;align-items:center;height:44px;width:100%;padding:0 .8rem;border-radius:12px;font-size:.9rem;color:#fff;font-weight:600;overflow:hidden;white-space:nowrap;box-sizing:border-box;user-select:none;cursor:default}.sidebar-account .sidebar-account-identity .icon-svg-wrap[hidden],.sidebar-account .sidebar-account-identity .sidebar-folder-avatar[hidden]{display:none}body.role-user #sbStorageBtn{cursor:default}body.role-user #sbStorageBtn:hover{background:0 0;color:rgba(255,255,255,.85)}.license-radios{border:1.5px solid #eee;border-radius:12px;padding:8px 6px;margin:5px 0;background:#fcfcfc}.license-radios legend{padding:0 6px}.license-option{display:flex;align-items:center;gap:10px;padding:8px 10px;cursor:pointer;border-radius:8px;transition:background-color .15s ease}.license-option:hover{background:#f0f0f0}.license-option input[type=radio]{accent-color:var(--primary-accent, #458b60);width:18px;height:18px;margin:0;cursor:pointer;flex-shrink:0}.license-option-text,.license-radios legend{font-size:14px;color:#1a1a1a}.license-option:has(input[type=radio]:checked),html.dark .dialog-content .license-option:has(input[type=radio]:checked){background:rgba(69,139,96,.08)}.license-option:has(input[type=radio]:checked) .license-option-text{-webkit-text-stroke:.4px currentColor}html.dark .license-radios{border-color:#2a2a2a;background:#1d1d1d}html.dark .license-option-text,html.dark .license-radios legend{color:#f0f0f0}html.dark .license-option:hover{background:#2a2a2a}html.dark .license-option:has(input[type=radio]:checked){background:rgba(69,139,96,.18)}.auth-wrap{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}.auth-card,.auth-card input[type=email]{width:100%;box-sizing:border-box;color:#1a1a1a}.auth-card{max-width:300px;padding:36px 32px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px;text-align:center}.auth-card .auth-logo{width:80px;height:auto;display:block;margin:0 auto 20px;color:#000}.auth-card h1{margin:0 0 10px;font-weight:400;font-size:2rem;color:#000;text-align:center}.auth-card label{display:block;text-align:left;font-size:.82rem;color:#666;margin:14px 0 6px}.auth-card input[type=email]{padding:12px 14px;border:1.5px solid #e0e0e0;border-radius:10px;font-size:1rem;background:#fafafa;transition:border-color .15s ease,background-color .15s ease}.auth-card input[type=email]:focus{outline:0;border-color:var(--primary-accent);background:#fff}.auth-card .auth-btn{width:100%;margin-top:18px;padding:16px 20px;border:0;border-radius:999px;background:var(--primary-accent);color:#fff;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .15s ease}.auth-card .auth-btn:hover:not(:disabled){background:var(--primary-accent-hover)}.auth-card .auth-btn:disabled{opacity:.55;cursor:not-allowed}.auth-card .auth-msg{font-size:.88rem}.auth-card .auth-msg.err,.auth-card .auth-msg.muted,.auth-card .auth-msg.ok{margin-top:14px;min-height:1.2em}.auth-card .auth-msg.ok,html.dark .auth-card .auth-msg.ok{color:#458b60}.auth-card .auth-msg.err{color:#c0392b}.auth-card .auth-msg.muted{color:#666}html.dark .auth-card{background:#1d1d1d;color:#f0f0f0;border-color:rgba(255,255,255,.08)}html.dark .auth-card .auth-logo,html.dark .auth-card h1,html.dark .feature-tile h3{color:#fff}html.dark .auth-card label,html.dark .auth-card p{color:#aaa}html.dark .auth-card input[type=email]{background:#2a2a2a;border-color:#3a3a3a;color:#f0f0f0}html.dark .auth-card input[type=email]:focus{background:#2f2f2f}html.dark .auth-card .auth-msg.err{color:#f87171}html.dark .auth-card .auth-msg.muted{color:#aaa}.fullscreen-viewer{position:fixed;top:0;left:0;z-index:3000;display:flex;justify-content:center;align-items:center;min-width:370px}.backdrop,.content,.fullscreen-viewer{width:100%;height:100%}.backdrop{position:absolute;top:0;left:0;background-color:#000;cursor:pointer;z-index:10}.content{position:relative;display:flex;align-items:center;justify-content:center;z-index:20}.fullscreen-viewer img,.image-wrapper{user-select:none;top:0;left:0;right:0;bottom:0}.image-wrapper{touch-action:pan-y;-webkit-user-drag:none;z-index:5}.fullscreen-viewer img{position:absolute;display:block;max-width:100%;max-height:100%;opacity:1;transition:transform .3s ease,opacity .3s ease;pointer-events:none;margin:auto}.control,.image-wrapper,.photo-layer{position:absolute;display:flex;justify-content:center;align-items:center}.photo-layer{inset:0;pointer-events:none}#fullscreenLarge{z-index:2}#fullscreenThumb{z-index:1}.fullscreen-viewer.entering .image-wrapper{animation:pj-viewer-zoom-in .3s ease-out;transform-origin:center center}.fullscreen-viewer.closing{animation:pj-viewer-fade-out .14s ease-out forwards;pointer-events:none}.control{top:50%;transform:translateY(-50%);background:rgb(34 34 34);box-shadow:var(--shadow-inset-highlight);color:#fff;border:0;border-radius:50%;width:48px;height:48px;cursor:pointer;transition:background-color .2s ease,opacity .3s ease;z-index:100}::view-transition-group(viewer-actions),::view-transition-group(viewer-close),::view-transition-group(viewer-copy),::view-transition-group(viewer-meta),::view-transition-group(viewer-next),::view-transition-group(viewer-prev){z-index:1000}.control:hover,.next:hover,.prev:hover{background:#333}.close,.copy{top:15px;transform:none}.close{right:15px;view-transition-name:viewer-close}.copy{left:15px;view-transition-name:viewer-copy}.prev{left:15px;view-transition-name:viewer-prev}.next{right:15px;view-transition-name:viewer-next}.actions-top,.download-btn{display:flex;align-items:center;height:48px}.actions-top{position:absolute;top:15px;min-width:48px;left:50%;transform:translateX(-50%);gap:10px;transition:opacity .3s ease;z-index:100;view-transition-name:viewer-actions}.download-btn{gap:4px;padding:0 12px 0 16px;background:rgb(34 34 34);box-shadow:var(--shadow-inset-highlight);border-radius:24px;color:#fff;text-decoration:none;transition:background-color .2s ease,opacity .3s ease}.download-btn span{padding:0 10px 0 0;font-size:.9rem}.download-btn .icon-svg{font-size:24px}.download-btn:not(:disabled):hover{background:#333}.fullscreen-viewer .copy .copy-toast{right:auto;left:0;top:calc(100% + 12px);transform:translate(0,-5px)}.fullscreen-viewer .copy .copy-toast.show{transform:translate(0,0)}.viewer-meta{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);padding:6px 14px;background:rgb(34 34 34);box-shadow:var(--shadow-inset-highlight);color:rgba(255,255,255,.85);border-radius:14px;font-size:.72rem;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:100;transition:opacity .3s ease;pointer-events:none;view-transition-name:viewer-meta}.viewer-meta .meta-uploaded{color:rgba(255,255,255,.5)}@media (max-width:600px){.viewer-meta{font-size:.68rem;padding:5px 12px;bottom:12px}}.fullscreen-viewer.controls-hidden .actions-top,.fullscreen-viewer.controls-hidden .copy,.fullscreen-viewer.controls-hidden .next,.fullscreen-viewer.controls-hidden .prev,.fullscreen-viewer.controls-hidden .viewer-meta{opacity:0;pointer-events:none}.fullscreen-viewer .icon-svg{font-size:24px}.fullscreen-viewer .next .icon-svg,.fullscreen-viewer .prev .icon-svg{font-size:26px}html.vdl .album-grid-wrapper,html.vdl .sidebar,html.vdl .top-bar{visibility:hidden}:root{color-scheme:light}html.dark{color-scheme:dark}.empty-state,.feature-icon-wrapper .icon-svg,.feature-tile,.feature-tile h3,.folder-hero-avatar-row,.folder-hero-avatar-wrap,.folder-hero-counts,.folder-hero-description,.folder-hero-link,.folder-hero-meta h1,.home-branding svg path,.home-description,.page-header .name,.page-header h1,.photo-count,body{transition:background-color .25s ease,color .25s ease,border-color .25s ease,fill .25s ease}html.dark body{background:#202020;color:#e8e8e8}html.dark .album-hero-text .album-meta-row>.album-license-btn .copy-toast,html.dark .sidebar,html.dark .sort-menu{background:color-mix(in srgb,rgb(var(--page-color, 50, 50, 50)),black 20%)}html.dark:not(.nh) .sidebar{background:#262626}html.dark .empty-state,html.dark .folder-hero-avatar-row,html.dark .folder-hero-counts,html.dark .folder-hero-description,html.dark .photo-count{color:#999}html.dark .folder-count-number,html.dark .folder-hero-meta h1,html.dark .page-header .name,html.dark .page-header h1{color:#e8e8e8}html.dark .folder-count-label{color:#999}html.dark .folder-hero-link{background:#464646}html.dark .folder-hero-link:hover{background:color-mix(in srgb,#464646,white 10%)}html.dark .feature-tile p,html.dark .home-description{color:#b0b0b0}html.dark .feature-tile{border-color:rgba(255,255,255,.12)}html.dark .feature-icon-wrapper .icon-svg{color:#fff}html.dark .home-explore-btn{background:#fff;color:#2e2e2e}html.dark .home-explore-btn:hover{background:#e8e8e8}html.dark .folder-hero-avatar-wrap{border-color:#202020}html.dark .tile:hover .tile-inner{box-shadow:0 3px 12px rgba(0,0,0,.5)}html.dark .dialog-backdrop,html.dark .dialog-content{color-scheme:light;color:#1a1a1a}html.dark .dialog-content *{color-scheme:light}html.dark .dialog-content .admin-form .char-counter{color:#888}html.dark .dialog-content .admin-form .char-counter.over{color:#c0392b}html.dark .dialog-content .license-radios{border-color:#eee;background:#fcfcfc}html.dark .dialog-content .license-option-text,html.dark .dialog-content .license-radios legend,html.dark .dialog-content .tags-list .tag-row .tag-name{color:#1a1a1a}html.dark .dialog-content .license-option:hover{background:#f5f5f5}html.dark .dialog-content .tags-list{background:#fcfcfc;border-color:#eee}html.dark .dialog-content .tags-list .tag-row{background:0 0;border-color:#eee}html.dark .dialog-content .tags-list .tag-row .tag-count{color:#888}html.dark .dialog-content .tags-list .tag-row:hover{background:rgba(0,0,0,.04)}