@font-face{font-family:JasmineHand;src:url('/jasmine-hand.woff') format('woff');font-display:swap}*{box-sizing:border-box}body{margin:0;background:#101927;color:#eee6ef;font-family:system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;min-height:100vh;background-image:radial-gradient(ellipse at 10% 0%,#22203980,transparent 55%),radial-gradient(ellipse at 95% 75%,#2c25484a,transparent 60%)}body:before{content:'';position:fixed;inset:0;pointer-events:none;opacity:.13;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23ffffff' opacity='.35' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:#d8c4ed;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid #d2adff;outline-offset:6px}header{position:relative;max-width:1320px;margin:auto;padding:25px 36px;display:flex;align-items:center;gap:35px;border-bottom:1px solid #d5c4ff17;font-size:13px}.brand{font-family:Georgia,serif;font-size:30px;color:#d3b8ed}.brand small{display:block;font:10px system-ui;letter-spacing:1px;color:#c9c0d4}#identity{margin-left:auto;color:#b1a6c1}main{max-width:1280px;margin:auto;padding:42px 36px 0;position:relative}.intro{display:flex;justify-content:space-between;align-items:center;gap:24px}.eyebrow{font-size:10px;letter-spacing:3px;color:#a394b7}h1{font-family:Georgia,'Songti SC',serif;font-size:52px;font-weight:400;letter-spacing:5px;margin:12px 0}h1 span{font:12px system-ui;letter-spacing:0;color:#bdaacb;display:inline-block;vertical-align:middle}p{line-height:1.8}.intro p{color:#ddd1e3;font-size:17px;margin-bottom:25px}.intro p small{font-size:13px;color:#9e94ae}.upload-area{display:flex;align-items:flex-end;flex-direction:column;gap:12px}.primary{display:inline-block;border:0;background:linear-gradient(125deg,#dbc2f4,#bfa1e5);color:#241832;border-radius:14px;padding:13px 21px;font-size:14px;box-shadow:0 5px 25px #ab7bdf14}.quiet{color:#c9b9dc;border:1px solid #b99bdb30;border-radius:12px;padding:10px 15px;background:#29233860}.ai-choice{font-size:12px;display:flex;gap:7px;align-items:center;color:#bfb1cb}.ai-choice input{accent-color:#c5a0e8}.upload-area small{color:#8f819f;font-size:10px}.toolbar{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:15px 0 0;padding:16px 0;border-top:1px solid #d8c5ee17}.toolbar label{font-size:11px;color:#a397b0;display:flex;gap:8px;align-items:center}select{background:#191c2a;color:#d5c7e1;border:1px solid #d6bafa30;padding:8px;border-radius:9px;max-width:170px;font-size:12px}#storage{margin-left:auto;font-size:11px;color:#90839f}#status{font-size:12px;color:#c4afdc;min-height:22px;margin:3px 0 15px}.wall{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 45px;align-items:start;padding:25px 18px 65px}.memory{position:relative;width:var(--width,95%);justify-self:center;transform:translateY(var(--offset)) rotate(var(--rotate));transition:transform .35s,filter .35s;animation:arrive .7s both;animation-delay:var(--delay,0s);cursor:pointer;outline:none;isolation:isolate}.memory:focus-visible,.memory:hover{transform:translateY(calc(var(--offset) - 6px)) rotate(0deg);filter:drop-shadow(0 8px 12px #05081166);z-index:2}.print{display:block;background:#efe3d0;padding:12px 12px 0;box-shadow:4px 10px 22px #03050c66;color:#514235;border:0;width:100%;text-align:left;border-radius:1px}.print img{width:100%;height:var(--photo-height);object-fit:cover;display:block;background:#d3c2ae}.paper-text{padding:10px 5px 13px;text-align:center}.paper-text h2{font-family:JasmineHand,'KaiTi',serif;font-size:19px;font-weight:400;line-height:1.45;margin:0 0 5px;overflow-wrap:anywhere}.paper-text time{font-size:10px;color:#8c7967;letter-spacing:1px}.pin{position:absolute;top:-7px;left:50%;height:14px;width:14px;transform:translateX(-50%);background:radial-gradient(circle at 30% 25%,#eecb84,#9f6e2a 65%,#533e23);border-radius:50%;box-shadow:2px 4px 4px #17151a70;z-index:2}.memory:nth-child(3n) .pin{width:70px;height:23px;top:-11px;border-radius:0;background:#d2c4ac70;box-shadow:none;transform:translateX(-50%) rotate(-7deg);backdrop-filter:blur(1px)}.note{font-family:JasmineHand,'KaiTi',serif;color:#bfb0cc;font-size:15px;padding:12px 8px 0;line-height:1.6;max-width:95%;overflow-wrap:anywhere}.note small{display:block;font-family:system-ui;font-size:10px;color:#978ba5;margin-top:6px}.more{display:block;margin:15px auto 40px}.empty,.signin{text-align:center;padding:60px 10px 90px;color:#a99db8}.empty-paper{margin:10px auto 35px;width:190px;padding:40px 25px;background:#e9dcc8;color:#6f5b45;transform:rotate(-4deg);box-shadow:9px 12px 25px #05070a60;font-size:35px;position:relative}.empty-paper p{font:20px JasmineHand,'KaiTi',serif;line-height:1.8}.empty-paper:before{content:'';position:absolute;width:15px;height:15px;background:#c39754;border-radius:50%;top:-6px;left:50%}.glow{position:fixed;pointer-events:none;width:350px;height:350px;filter:blur(100px);opacity:.13;border-radius:50%;animation:light 18s ease-in-out infinite alternate}.glow-a{background:#ad8ccf;left:-100px;top:20%}.glow-b{background:#b99559;right:-120px;bottom:0;animation-delay:-9s}footer{padding:25px 0;border-top:1px solid #d6bafa17;display:flex;justify-content:space-between;gap:15px;color:#756d86;font-size:9px;letter-spacing:2px}footer span{letter-spacing:0}dialog{border:1px solid #d2b8f12a;border-radius:23px;background:#161d2c;color:#ded1e7;max-width:1050px;width:calc(100% - 48px);padding:32px;max-height:90dvh;overflow:auto;box-shadow:0 20px 100px #0008}dialog::backdrop{background:#070b16c9;backdrop-filter:blur(10px)}.close{position:absolute;right:12px;top:9px;color:#d8c5e6;background:none;border:0;font-size:28px;z-index:4;padding:5px 10px}.photo-detail{display:grid;grid-template-columns:1.2fr 1fr;gap:35px;align-items:start}.detail-image{position:relative;align-self:center}.detail-image img{width:100%;max-height:70dvh;object-fit:contain;display:block;border-radius:6px}.detail-image button{position:absolute;top:50%;border:0;border-radius:50%;height:38px;width:38px;background:#1a16289c;color:#fff;font-size:28px}#previous{left:8px}#next{right:8px}.detail-text{padding-top:15px}h2{font-weight:400}.handwritten{font-family:JasmineHand,'KaiTi',serif;font-size:25px;line-height:1.9}.detail-text #detail-meta{font-size:12px;color:#ac9bba;white-space:pre-line}#detail-tags span{display:inline-block;font-size:11px;background:#c4a2e41a;border-radius:20px;padding:5px 10px;margin:3px}.detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}.delete{border:0;color:#b08b9a;background:none;font-size:11px;padding:10px 0}.detail-text form label{display:block;font-size:12px;color:#ae9fbd;margin-bottom:12px}input:not([type=checkbox]),textarea{display:block;width:100%;margin-top:5px;border:1px solid #c7b2df30;border-radius:9px;color:#e4d8ec;background:#111725;padding:10px;max-width:100%}.detail-text form>div{display:flex;gap:10px}#detail-status,#share-status{font-size:12px;color:#bfa6d8}#share-dialog{max-width:510px;text-align:center}#share-dialog>p{font-size:12px;color:#a99bb7}#share-preview{display:block;max-width:100%;max-height:52dvh;width:auto;margin:15px auto;border-radius:6px}.share-actions{display:flex;justify-content:center;gap:10px}#include-place{margin:0}#share-dialog .ai-choice{justify-content:center}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#332940ee;color:#f1e1ff;border-radius:14px;font-size:12px;opacity:0;pointer-events:none;z-index:10;max-width:85%;transition:opacity .25s}#toast.show{opacity:1}[hidden]{display:none!important}@keyframes arrive{from{opacity:0;translate:0 15px}to{opacity:1;translate:0 0}}@keyframes light{from{transform:translate(0,0);opacity:.08}to{transform:translate(35px,-35px);opacity:.17}}@media(min-width:1100px){.memory:nth-child(6n+2){margin-bottom:25px}.memory:nth-child(6n+4){margin-top:0}}@media(max-width:850px){header{padding:20px;gap:20px}.brand{font-size:25px}main{padding:28px 22px 0}.wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px;padding:20px 5px 45px}.intro{align-items:flex-start}h1{font-size:43px}.upload-area{max-width:210px}.photo-detail{grid-template-columns:1fr}.detail-image img{max-height:45dvh}.photo-detail{gap:20px}.detail-text{padding:0}.glow{width:200px;height:200px}#storage{width:100%;margin-left:0}dialog{padding:32px 20px}}@media(max-width:520px){header{gap:15px;font-size:11px}#identity{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.intro{display:block}.upload-area{align-items:flex-start;max-width:none;gap:8px;margin-bottom:20px}.intro p{margin-bottom:18px}.wall{gap:30px 17px}.print{padding:7px 7px 0}.paper-text{padding:7px 1px 10px}.paper-text h2{font-size:15px}.paper-text time{font-size:9px;letter-spacing:0}.note{font-size:13px;padding:10px 3px 0}.toolbar{gap:10px}.toolbar select{max-width:120px}.toolbar label{font-size:10px}.toolbar .quiet{padding:8px;font-size:11px}.memory{width:100%!important;--photo-height:150px!important}.memory:nth-child(3n+2){--photo-height:190px!important}footer{display:block;line-height:2}footer span{display:block}dialog{width:calc(100% - 22px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Match the homepage typography; keep the pinned-photo layout. */
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
.brand{display:flex;flex-direction:column;gap:6px;font-family:inherit;letter-spacing:0}
.brand .wordmark{font-family:JasmineHand,"Bradley Hand",cursive;font-size:54px;font-weight:400;line-height:1;color:#f5f2e9}
.brand .brand-tag{font-family:inherit;font-size:12px;letter-spacing:0;color:#bcb6c9}
h1{font-family:inherit;font-weight:650;letter-spacing:0;font-size:48px}
h2,.paper-text h2,.handwritten,.note{font-family:inherit;letter-spacing:0}
.paper-text h2{font-size:16px;font-weight:500}.note{font-size:13px}.handwritten{font-size:19px}
#upload{cursor:pointer}#upload[aria-disabled="true"]{opacity:.55;cursor:wait}
#startup-status{font-size:13px;color:#bea8d1;white-space:pre-line}
.drop-zone{padding:18px 22px;border:1px dashed #c5a3ed45;background:#c5a3ed07;border-radius:14px;color:#bfb0d0;font-size:13px;margin:12px 0 18px;transition:border-color .2s,background .2s}
.drop-zone span{display:block;font-size:11px;color:#8f839e;margin-top:6px}
.drop-zone:focus{outline:2px solid #c5a3ed;outline-offset:3px}
#drop-overlay{position:fixed;inset:14px;display:flex;flex-direction:column;gap:15px;align-items:center;justify-content:center;z-index:20;pointer-events:none;border:2px dashed #c5a3ed;border-radius:25px;background:#191524e8;backdrop-filter:blur(10px);font-size:24px;color:#e3cbfa}#drop-overlay small{font-size:14px}
@media(max-width:520px){.brand .wordmark{font-size:42px}.brand .brand-tag{font-size:10px}h1{font-size:40px}.paper-text h2{font-size:14px}.note{font-size:12px}.drop-zone{font-size:12px;padding:14px}}

/* Photos first: less chrome, tighter rhythm, words on the image. */
body{background-color:#111218;color:#f5f2e9}main{max-width:1320px;padding:0 5.5%}.site-header{max-width:1320px!important;width:89%!important;margin:0 auto!important}
.intro{display:flex;justify-content:flex-end;padding:4px 0 10px}.intro .primary{padding:11px 19px;font-size:13px;border-radius:30px}
.drop-zone{font-size:11px;border:0;padding:0;margin:0 0 8px;background:none;color:#8f819f}.drop-zone span{display:none}
.toolbar{border:0;padding:6px 0 10px;margin:0;gap:12px}.toolbar label{font-size:10px}.toolbar select{padding:6px;font-size:11px;background:#ffffff03;border-color:#ffffff17}.toolbar .quiet{font-size:11px;padding:7px 12px}
#status{margin:0;min-height:0;font-size:11px}#status:empty{display:none}
.wall{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 21px;padding:20px 6px 35px}.memory{width:100%;margin:0!important}
.print{padding:0;background:none;border-radius:5px;position:relative;overflow:hidden;box-shadow:2px 7px 18px #0005;color:white;isolation:isolate}
.print img{border-radius:5px;height:var(--photo-height);min-height:160px}.photo-overlay{position:absolute;inset:auto 0 0;padding:35px 13px 13px;background:linear-gradient(transparent,#090b12bb);text-align:left;pointer-events:none;color:#fff8ee}
.photo-words{font-family:JasmineHand,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif!important;color:#fff8ee;font-size:20px;line-height:1.55;margin:0 0 6px;text-shadow:0 1px 5px #0008;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.photo-overlay time{font-family:inherit;font-size:9px;color:#e7dce9;letter-spacing:.5px}.pin{width:9px;height:9px;top:-4px}.memory:nth-child(3n) .pin{width:42px;height:16px;top:-7px}
.detail-text .handwritten{font-family:JasmineHand,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:23px}.detail-text #detail-meta{font-size:11px}.detail-text .eyebrow{display:none}
.empty{padding:35px 0}.empty>p{font-size:12px}.empty-paper{padding:22px 16px;width:150px;margin:15px auto 20px}.empty-paper p{font-family:inherit;font-size:15px}
.glow{opacity:.07}.signin{padding:30px 0}.signin h2{font-size:20px}
@media(max-width:1000px){.wall{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){main{padding:0 6%}.site-header{width:88%!important}.intro{padding:0 0 12px}.wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 15px;padding:18px 3px 30px}.memory{--photo-height:190px!important}.memory:nth-child(3n+2){--photo-height:240px!important}.photo-words{font-size:18px}.photo-overlay{padding:30px 10px 10px}.toolbar{gap:8px}.toolbar select{max-width:105px}.intro .primary{font-size:12px;padding:9px 16px}}

.mood-shell{max-width:1320px;margin:auto;padding:0 5.5%}.mood-shell>.site-header{width:100%!important;margin:0!important;max-width:none!important}
@media(max-width:650px){.mood-shell{padding:0 6%}}

.photo-words{font-size:15px;line-height:1.6;-webkit-line-clamp:2;margin-bottom:5px;font-weight:400}
.photo-overlay{padding:28px 12px 11px}.photo-overlay time{font-size:9px;opacity:.85}.detail-text .handwritten{font-size:18px}
@media(max-width:650px){.photo-words{font-size:13px;line-height:1.65}.photo-overlay{padding:25px 10px 10px}.detail-text .handwritten{font-size:17px}}
