.memory-intro{text-align:center;padding:12px 8px}.memory-intro>span{font-size:10px;letter-spacing:2px;color:#92708c}.memory-intro h3{font-family:Georgia,serif;font-size:25px;color:#715d78;margin:8px}.memory-intro p,.memory-note{font-size:13px;color:#826d83;line-height:1.5}.memory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.memory-print{padding:8px 8px 13px;background:#fff9ee;border:1px solid #e6d7db;box-shadow:0 4px 9px #80658012;border-radius:5px;min-width:0;text-align:left}.memory-print img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:3px;background:#d6c5dc}.memory-print b{display:block;font-size:13px;margin:8px 1px 4px;overflow-wrap:anywhere}.memory-print small{font-size:10px;color:#897484}.memory-pages{display:flex;align-items:center;justify-content:center;gap:20px}.memory-empty{padding:28px;text-align:center;line-height:1.65;color:#90788d}.memory-large{margin:15px 0;background:#eee1eb;border:9px solid #fff9ee;box-shadow:0 5px 16px #7254781b;border-radius:5px}.memory-large img{width:100%;max-height:55vh;object-fit:contain;display:block}.memory-form{display:grid;gap:12px}.memory-form label,.photo-preview label{display:grid;gap:6px;font-size:13px}.memory-form input,.memory-form textarea,.memory-form select,.photo-preview input{width:100%;box-sizing:border-box;border:1px solid #d6c1d6;border-radius:10px;padding:10px;background:#fffcf6;color:#715a75;font:inherit}.memory-form .memory-check{display:flex;align-items:center}.memory-check input{width:auto}.memory-error{color:#a74f68}.memory-caption{white-space:pre-wrap;overflow-wrap:anywhere}.camera-art{display:grid;place-items:center;background:#ead6e4;border-radius:40% 40% 32% 32%;font-size:29px;box-shadow:inset 0 -4px #d2bad0}
body.photo-mode> :not(#game):not(#world):not(#photo-camera):not(script):not(style){visibility:hidden!important;pointer-events:none!important}#photo-camera{position:fixed;inset:0;z-index:160;pointer-events:none;color:#6d5877;padding:env(safe-area-inset-top) 14px env(safe-area-inset-bottom);display:flex;flex-direction:column;justify-content:space-between}#photo-camera[hidden]{display:none}#photo-camera button,#photo-camera select,#photo-camera input{pointer-events:auto;touch-action:manipulation}#photo-camera button,#photo-camera select{border:1px solid #dfccdc;border-radius:18px;background:#fff7edec;color:#715873;padding:12px;font:inherit}#photo-camera .primary{background:#b99cbe;color:white}.photo-top{display:flex;align-items:center;justify-content:space-between;margin:16px 0}.photo-top span,.photo-bottom{background:#fff8f0e8;border:1px solid #e4d6e4;border-radius:20px;padding:12px 18px}.photo-bottom{align-self:center;max-width:650px;margin:0 0 22px;pointer-events:auto;text-align:center}.photo-bottom p{font-size:12px}.photo-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.photo-guide{position:absolute;inset:18% 12% 27%;border:1px solid #ffffff65;border-radius:24px;pointer-events:none}.photo-bottom strong{display:block;font:40px Georgia}.photo-preview{pointer-events:auto;align-self:center;margin:auto;background:#fff6ed;border:1px solid #dfcadd;border-radius:24px;padding:20px;width:min(620px,94vw);max-height:88dvh;overflow:auto;box-shadow:0 20px 70px #42324d55;box-sizing:border-box}.photo-preview h2{font:25px Georgia;text-align:center}.photo-preview img{width:100%;max-height:48vh;object-fit:contain;background:#d9c4d8;border-radius:12px}.photo-preview p{font-size:13px;line-height:1.5}.photo-preview label{margin:10px 0}#photo-camera [data-error]{color:#a34d68}@media(max-width:600px){.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo-buttons button,.photo-buttons select{font-size:12px!important;padding:10px!important}.photo-bottom{margin-bottom:12px;padding:8px}.photo-guide{inset:17% 6% 30%}.photo-top span{font-size:13px}}
