@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#121212;--surface:#1b1b1b;--text:#f4f1ed;--muted:#aaa6a6;--red:#ef4148;--line:#363030;font-family:'DM Sans',sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);min-height:100svh}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ff8287;outline-offset:5px}button,a{touch-action:manipulation}button{color:inherit}a{color:inherit;text-decoration:none}button svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.decoration{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 50% 40%,#20161944,transparent 57%)}.doodle{position:absolute;color:#d6373e;opacity:.65;width:var(--size);height:var(--size);left:var(--x);top:var(--y);transform:rotate(var(--rot))}.doodle svg{width:100%;height:100%;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.doodle.star{opacity:.85}.brand{padding:52px 24px 0;text-align:center}.brand-name{position:relative;display:inline-block;font-family:Georgia,serif;font-size:2.4rem;font-weight:400;letter-spacing:-1.2px}.brand-name i{font-weight:400}.brand-star{position:absolute;font-family:serif;color:var(--red);font-size:1.25rem;right:-22px;top:-8px}.brand-caption{display:block;font-size:.75rem;letter-spacing:.3em;color:var(--muted);margin-top:15px}.home{min-height:calc(100svh - 155px);display:flex;align-items:center;justify-content:center;padding:55px 24px 110px}.choices{width:min(660px,100%);display:grid;grid-template-columns:1fr 1fr;gap:24px}.choice{min-height:238px;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:32px;border:1px solid #403033;border-radius:20px;background:linear-gradient(140deg,#2d1b1e,#20191a);box-shadow:0 12px 50px #0002;transition:transform .2s,border-color .2s,background .2s}.choice:hover{transform:translateY(-5px);border-color:#ed454b}.choice.publisher{background:linear-gradient(140deg,#222,#191919);border-color:#3d3839}.choice.publisher:hover{border-color:#a5585d}.choice .symbol{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:#ed414815;color:#f9666b}.choice.publisher .symbol{background:#ffffff07;color:#c5b5b6}.choice-label{font-family:Manrope,sans-serif;font-size:1.6rem;font-weight:600;letter-spacing:.04em}.choice .arrow{position:absolute;right:30px;bottom:30px;font-size:1.6rem;color:#f56a6e}.publisher .arrow{color:#a39a9b}.page{max-width:1120px;margin:0 auto;padding:56px 32px 80px}.page-top{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:36px}.page-top h1{font-size:1.8rem;margin:0 auto 0 0;font-weight:500;letter-spacing:-.04em}.back,.text-button{border:0;background:transparent;color:var(--muted);min-height:44px;padding:10px 0;font-size:.9rem}.back:hover,.text-button:hover{color:var(--text)}.back{display:inline-flex;align-items:center;gap:9px;margin-bottom:25px}.login-page{max-width:420px;padding-top:70px}.login-card{background:#191818e8;border:1px solid var(--line);border-radius:20px;padding:32px}.login-card h1{font-size:1.6rem;font-weight:500;margin:12px 0 32px}.login-card>.symbol{color:var(--red)}label{display:block;font-size:.9rem;margin-bottom:10px}input[type=password]{width:100%;border:1px solid #474042;background:#121212;border-radius:10px;padding:14px;color:var(--text);min-height:50px}input::placeholder{color:#767073}.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:13px 22px;border-radius:10px;border:1px solid transparent;background:var(--red);color:#fff;font-weight:600}.button:hover{background:#d9353c}.button.secondary{background:#272323;border-color:#463c3e}.button.secondary:hover{background:#342b2d}.login-card .button{width:100%;margin-top:22px}.helper{color:var(--muted);font-size:.875rem;line-height:1.6}.status{line-height:1.6;color:var(--muted);font-size:.9rem}.error{color:#ff999e}.empty{min-height:320px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px}.empty-icon{color:#ad5158;margin-bottom:20px}.empty-icon svg{width:54px;height:54px;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}.empty h2{font-family:Georgia,serif;font-weight:400;font-size:1.9rem;margin:0 0 12px}.empty p{color:var(--muted);margin:0;line-height:1.6;max-width:340px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.photo{position:relative;margin:0;min-width:0}.photo-open{padding:0;border:0;border-radius:12px;display:block;width:100%;aspect-ratio:1;background:#242021;overflow:hidden}.photo-open img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.photo-open:hover img{transform:scale(1.035)}.photo-details{display:flex;align-items:center;gap:10px;padding:10px 0}.photo-details span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:.8rem;flex:1}.delete{background:#271c1e;color:#ff8b92;border:1px solid #5a3337;border-radius:8px;min-height:44px;padding:8px 12px}.upload-zone{padding:25px;border:1px dashed #754047;border-radius:14px;background:#201719aa;margin-bottom:28px}.upload-zone p{margin:12px 0 0}.upload-preview{display:flex;gap:10px;overflow:auto;padding:14px 0}.upload-preview img{width:72px;height:72px;object-fit:cover;border-radius:8px}.upload-preview:empty{display:none}progress{display:block;width:100%;height:8px;accent-color:var(--red);margin-top:16px}progress[hidden]{display:none}.hidden{display:none!important}dialog{color:var(--text);background:#1b1819;border:1px solid #493437;border-radius:18px;padding:0;max-width:calc(100vw - 32px)}dialog::backdrop{background:#050505eb;backdrop-filter:blur(10px)}body:has(dialog[open]){overflow:hidden}.confirmation{padding:30px;max-width:430px}.confirmation h2{font-size:1.35rem;margin-top:0}.confirmation p{color:var(--muted);line-height:1.6}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:26px}#lightbox{width:100vw;max-width:100vw;height:100svh;max-height:100svh;background:#080808;border:0;border-radius:0}#lightbox[open]{display:flex;align-items:center;justify-content:center}#lightbox figure{margin:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:70px 60px 55px}#full-photo{max-width:100%;max-height:100%;object-fit:contain}#photo-count{position:absolute;bottom:22px;color:#aaa;font-size:.9rem}.icon-button{position:absolute;border:1px solid #ffffff22;border-radius:50%;width:46px;height:46px;background:#222c;z-index:1;font-size:1.2rem}.close-lightbox{right:20px;top:20px}.previous{left:14px}.next{right:14px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#332528;border:1px solid #8b474e;border-radius:12px;padding:15px 22px;max-width:calc(100% - 32px);z-index:10;display:none}#toast.visible{display:block}.skeleton{aspect-ratio:1;border-radius:12px;background:linear-gradient(100deg,#201d1e,#2b2526,#201d1e);background-size:200%;animation:shimmer 1.5s infinite}@keyframes shimmer{to{background-position:-200% 0}}
.symbol svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:1500px){.choices{width:740px}.choice{min-height:260px}}
@media(max-width:600px){.brand{padding-top:38px}.brand-name{font-size:2rem}.brand-caption{margin-top:12px}.home{min-height:calc(100svh - 128px);padding:44px 30px 72px}.choices{grid-template-columns:1fr;max-width:340px;gap:18px}.choice{min-height:165px;padding:24px;border-radius:16px}.choice .symbol{height:44px;width:44px;border-radius:12px}.choice-label{font-size:1.25rem}.choice .arrow{right:24px;bottom:22px}.page{padding:36px 20px 50px}.page-top{gap:12px;margin-bottom:25px}.page-top h1{font-size:1.65rem}.login-page{max-width:420px;padding-top:40px}.login-card{padding:26px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo-details{align-items:flex-start;flex-direction:column}.photo-details span{max-width:100%}.empty{min-height:340px}.upload-zone{padding:20px}.doodle{opacity:.4}.doodle.star{opacity:.6}#lightbox figure{padding:80px 8px 65px}.previous,.next{bottom:12px}.confirmation{padding:23px}.dialog-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
