:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,sans-serif;color:var(--ink);background:var(--paper);--paper: #fef5f8;--ink: #2a1a28;--primary: #c37996;--accent: #f4a8d4;--surface: #fffafd;--muted: #755568;--border: #e9ccda;--rose: #8a455f}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100vh;display:flow-root}body:has(#gate:not([hidden])){background:radial-gradient(ellipse at 50% 24%,#fbe3ef,transparent 610px)}body:has(dialog[open]){overflow:hidden}h1,h2,h3,p{margin:0}button,input{font:inherit}button{color:inherit;cursor:pointer}button:disabled{opacity:.46;cursor:default}:focus-visible{outline:2px solid var(--rose);outline-offset:4px}.shell{width:min(100% - 64px,1160px);margin-inline:auto}.symbols{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.error{color:#95294e;font-size:.88rem;line-height:1.5}.button{min-height:46px;border:1px solid transparent;border-radius:12px;padding:0 16px;background:none;color:inherit;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:.91rem;font-weight:650;white-space:nowrap}.primary{background:var(--primary);color:var(--ink)}.outline{border-color:var(--border);background:var(--surface)}.quiet{color:var(--muted)}@media(hover:hover){.primary:not(:disabled):hover{background:#d58eab}.outline:not(:disabled):hover,.quiet:not(:disabled):hover{background:#f8e3ee}}.gate{width:min(100%,480px);margin:clamp(44px,14svh,138px) auto 48px;padding:34px 42px 39px;border:1px solid var(--border);border-radius:26px;background:var(--surface);box-shadow:0 22px 72px #78345115;text-align:center}.gate-logo{display:block;width:min(75%,244px);height:auto;aspect-ratio:2;object-fit:cover;margin:0 auto 12px}.gate h1{font-size:clamp(28px,3.1vw,36px);line-height:1.2;letter-spacing:-.04em}#gate-form{text-align:left;margin-top:25px}#access-code{width:100%;min-height:52px;padding:0 14px;color:var(--ink);border:1px solid #a67e95;background:var(--paper);border-radius:11px;font-size:1rem}#access-code::placeholder{color:var(--muted)}#access-code[aria-invalid=true]{border-color:#95294e}#login-error{margin-top:7px}.enter{width:100%;margin-top:14px;min-height:52px}.enter .icon{width:18px}.gate-note{margin-top:19px;color:var(--muted);font-size:.8rem}#album{padding:26px 0 50px}#album:has(.selection:not([hidden])){padding-bottom:120px}.album-banner{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:end;justify-content:space-between;gap:22px;min-height:208px;padding:30px 34px 33px;border-radius:22px;border:1px solid var(--border);background:linear-gradient(112deg,#fff0f7 10%,#f8d6e8)}.album-banner:before{content:"";position:absolute;z-index:-1;width:295px;aspect-ratio:1;border-radius:50%;border:1px solid #ba719550;right:5%;top:-121px;box-shadow:0 0 0 28px #c3799618,0 0 0 54px #c379960d}.live{display:flex;align-items:center;gap:9px;color:var(--rose);font-size:.76rem;font-weight:675;letter-spacing:.1em}.live span{width:7px;height:7px;border-radius:50%;background:var(--rose);box-shadow:0 0 0 4px #c379962b}.album-banner h1{font-size:clamp(36px,4.9vw,59px);font-weight:810;letter-spacing:-.07em;line-height:1.15;margin:13px 0 10px}.banner-note{color:var(--muted);font-size:.93rem;line-height:1.5}.album-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}#upload{padding-inline:20px;min-height:50px}.status{border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:12px 16px;margin-top:14px}.status p{font-size:.9rem;line-height:1.6;overflow-wrap:anywhere}.status progress{display:block;width:100%;height:9px;margin-top:8px;accent-color:var(--rose)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:26px 0 14px}.album-count,.tools{display:flex;align-items:center;gap:10px}.album-count h2{font-size:clamp(18px,2.1vw,25px);letter-spacing:-.04em;white-space:nowrap}.album-count span{border-radius:18px;padding:5px 9px;background:#f7e0ec;color:var(--rose);font-size:.76rem;white-space:nowrap}#refresh{padding:0;width:46px}#select[aria-pressed=true]{border-color:var(--rose);color:var(--rose);background:#f8e3ee}#gallery-status,.wechat-tip{color:var(--muted);font-size:.88rem;margin-bottom:14px;line-height:1.5}.empty{display:grid;justify-items:center;gap:12px;border:1px dashed #d2a6bc;border-radius:18px;background:var(--surface);padding:48px 18px;text-align:center}.empty-icon{display:grid;place-items:center;width:57px;height:57px;border-radius:17px;background:#f7e0ec;color:var(--rose)}.empty-icon .icon{width:28px;height:28px}.empty h3{font-size:1.15rem}.empty p{color:var(--muted);font-size:.88rem;line-height:1.6}.empty button{margin-top:6px}.photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.photo{position:relative;display:block;padding:0;width:100%;aspect-ratio:1;overflow:hidden;border-radius:14px;border:0;background:#f5deea;text-align:left}.photo img{display:block;width:100%;height:100%;object-fit:cover}.photo img:not([src]){visibility:hidden}.photo[aria-pressed=true]:after{content:"";position:absolute;inset:0;border:3px solid var(--accent);border-radius:inherit;box-shadow:inset 0 0 0 1px var(--ink);pointer-events:none}.photo-check{display:none;position:absolute;z-index:1;top:9px;right:9px;width:30px;height:30px;border:1.5px solid var(--paper);border-radius:50%;background:#2a1a28aa;align-items:center;justify-content:center}.photo-check .icon{width:17px;height:17px;opacity:0}.photo[aria-pressed] .photo-check{display:flex}.photo[aria-pressed=true] .photo-check{background:var(--accent);color:var(--ink);border-color:var(--accent)}.photo[aria-pressed=true] .photo-check .icon{opacity:1}.more{text-align:center;margin-top:24px}.selection{position:fixed;z-index:2;left:0;right:0;bottom:0;background:var(--surface);border-top:1px solid var(--border);box-shadow:0 -8px 32px #78345117;padding-bottom:env(safe-area-inset-bottom)}.selection-inner{display:flex;align-items:center;justify-content:space-between;width:min(100% - 64px,1160px);min-height:74px;margin:auto;gap:8px}.selection-inner>div{display:flex;align-items:center;gap:8px}.selection-inner strong{font-size:.89rem;white-space:nowrap}dialog{width:min(100% - 32px,1080px);max-width:none;max-height:calc(100% - 32px);max-height:min(94dvh,900px);margin:auto;padding:14px 20px;border:1px solid var(--border);border-radius:18px;background:var(--surface);color:var(--ink)}dialog::backdrop{background:#2a1a28c9}.viewer-top,.viewer-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px}.viewer-top span{color:var(--muted);font-size:.86rem}.viewer-bottom{justify-content:flex-end}.viewer-top .button,.viewer-picture .button{width:46px;padding:0}.viewer-picture{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;grid-template-areas:"left image right" "error error error";gap:10px;align-items:center;margin:10px 0}#previous{grid-area:left}#next{grid-area:right}#full-photo{display:block;width:100%;height:min(65vh,640px);height:min(65dvh,640px);object-fit:contain;grid-area:image;background:var(--ink);color:var(--paper);border-radius:10px}#image-error{grid-area:error;text-align:center}#download-dialog{width:min(100% - 32px,440px)}#download-title{font-size:1.2rem}#share-photos{width:100%;margin:8px 0 0}#download-dialog p{margin:12px 0;color:var(--muted);font-size:.88rem;line-height:1.5}#download-list{display:grid;gap:6px;max-height:min(42dvh,24rem);overflow-y:auto;padding:4px;margin:0 -4px 4px;list-style:none}#download-list a{display:flex;min-height:52px;align-items:center;gap:12px;border:1px solid var(--border);border-radius:10px;padding:5px 8px;color:var(--rose);text-decoration:none;font-size:.9rem;font-weight:650}#download-list img{width:40px;height:40px;border-radius:6px;background:#f5deea;object-fit:cover}@media(max-width:800px){.shell,.selection-inner{width:calc(100% - 36px)}.photos{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:610px){.gate{margin:clamp(44px,12svh,100px) auto 34px;padding:22px 21px 25px;border-radius:22px}.gate-logo{max-width:214px;margin-bottom:8px}#gate-form{margin-top:21px}.gate-note{margin-top:16px}#album{padding-top:15px}.album-banner{align-items:flex-start;flex-direction:column;gap:16px;min-height:auto;padding:20px;border-radius:17px}.album-banner:before{width:194px;top:-40px;right:-75px}.album-banner h1{margin:10px 0 7px}.banner-note{font-size:.86rem}#upload{min-height:46px}.toolbar{margin:18px 0 11px}.album-count,.tools{gap:6px}.photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.photo{border-radius:11px}.selection-inner{min-height:65px}dialog{width:calc(100% - 18px);padding:9px 12px;border-radius:15px}.viewer-picture{grid-template-areas:"image image image" "left error right";gap:6px}#full-photo{height:min(55vh,500px);height:min(55dvh,500px)}}
