body.memory-theme{--mem-paper:#fff9ed;--mem-ink:#4c3b38;--mem-muted:#786767;--mem-accent:#b77f44;--mem-soft:#f4e1ce;background:#f4e1ce;color:var(--mem-ink);background-image:none;font:16px/1.8 'Gowun Dodum',Galmuri9,sans-serif}body.memory-lifeframe{--mem-paper:#fff7f6;--mem-ink:#543944;--mem-muted:#866978;--mem-accent:#b15f80;--mem-soft:#f6dce5;background:#f6dce5}body.memory-heartbgm{--mem-paper:#202640;--mem-ink:#f1ecff;--mem-muted:#c2bed8;--mem-accent:#c0b5ff;--mem-soft:#303652;background:#181c34}body.memory-theme>main{max-width:none;padding:0;margin:0}body.memory-theme>footer{display:none}.memory-stage{position:relative;min-height:85vh;overflow:hidden;background:repeating-linear-gradient(0deg,transparent 0 27px,#9f8a8814 27px 28px),repeating-linear-gradient(90deg,transparent 0 27px,#9f8a8814 27px 28px)}.memory-content{position:relative;max-width:820px;margin:auto;padding:26px 32px 80px}.memory-route{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px;color:var(--mem-muted)}.memory-route>span{font:10px Galmuri11;letter-spacing:1px}.memory-theme .back{color:var(--mem-muted);font:14px 'Gowun Dodum',Galmuri9;min-height:44px}.memory-theme h1,.memory-theme h2,.memory-theme h3,.memory-theme button{font-family:'Gowun Dodum',Galmuri9,sans-serif}.memory-kicker{font:11px Galmuri11;color:var(--mem-accent);letter-spacing:1.5px;text-align:center;margin:24px 0}.memory-cover{max-width:520px;margin:30px auto 0;background:var(--mem-paper);border:2px solid var(--mem-ink);border-radius:10px;box-shadow:7px 7px #6e57531a;overflow:hidden;transform:rotate(-1deg)}.memory-windowbar,.memory-windowfooter{display:flex;justify-content:space-between;gap:12px;padding:10px 16px;font-size:12px;background:var(--mem-soft)}.memory-windowbar{border-bottom:1px solid var(--mem-ink)}.memory-windowbar>span:last-child{letter-spacing:5px}.memory-windowfooter{font-size:11px;border-top:1px dashed var(--mem-muted);color:var(--mem-muted)}.memory-cover-body{position:relative;padding:30px 20px 24px;text-align:center}.memory-art{width:160px;height:160px;margin:auto;image-rendering:pixelated}.memory-art svg{width:100%;height:100%}.memory-cover-body>p{font-size:14px;margin:14px 0 0;color:var(--mem-muted)}.memory-handnote{font-family:Georgia,serif;font-size:23px;font-style:italic;color:var(--mem-accent);display:block;margin-top:12px}.memory-tape{position:absolute;width:60px;height:18px;background:#dcae6c6b;top:12px}.tape-a{left:24px;transform:rotate(-20deg)}.tape-b{right:24px;transform:rotate(18deg)}.memory-lifeframe .memory-tape{background:#d89ebc80}.memory-heartbgm .memory-tape{background:#a9a5dc70}.memory-title{text-align:center;margin-top:38px}.memory-sticker{font-size:12px;color:var(--mem-accent);border-bottom:1px dashed var(--mem-accent);padding-bottom:5px}.memory-title h1{font-size:36px;font-weight:400;line-height:1.5;margin:18px 0;color:var(--mem-ink)}.memory-title>p{font-size:17px;color:var(--mem-muted);margin:0;word-break:keep-all}.memory-badges{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:24px}.memory-badges>span{font-size:12px;border:1px solid var(--mem-muted);padding:5px 12px;color:var(--mem-muted);background:var(--mem-paper)}.memory-intro-note{padding:24px 28px;background:var(--mem-paper);border:1px solid var(--mem-muted);margin-top:36px;box-shadow:5px 5px #6e575312}.memory-note-label{font:italic 17px Georgia,serif;color:var(--mem-accent)}.memory-intro-note>p{font-size:16px;line-height:1.9;margin:12px 0 0}.memory-theme .note{font:13px/1.9 'Gowun Dodum',Galmuri9,sans-serif;color:var(--mem-muted)}.memory-save-note{text-align:center;margin-top:30px}.memory-theme .primary{background:var(--mem-ink);border:1px solid var(--mem-ink);color:var(--mem-paper);font-size:17px;line-height:1.7;min-height:56px;box-shadow:4px 4px var(--mem-accent);padding:13px 24px}.memory-theme .secondary,.memory-theme .small{background:var(--mem-paper);color:var(--mem-ink);border:1px solid var(--mem-muted);min-height:48px;box-shadow:3px 3px #6e57531a;font-size:15px}.memory-theme .primary:hover{filter:brightness(1.15)}.memory-theme .actions{gap:18px;margin-top:30px}.memory-theme .screen{max-width:100%;padding:0;margin:0}.memory-theme .hud{font-family:'Gowun Dodum',Galmuri9;color:var(--mem-muted);font-size:14px}.memory-theme .mini-quest .hud>span:first-child{font-size:15px}.memory-theme .xp i{background:var(--mem-paper);border-color:var(--mem-muted)}.memory-theme .xp i.on{background:var(--mem-accent)}.memory-theme .panel{background:var(--mem-paper);color:var(--mem-ink);border:1px solid var(--mem-muted);border-image:none;padding:28px;box-shadow:5px 5px #6e575312}.memory-theme .question{margin:32px 0 26px;min-height:170px}.memory-theme .label{font:11px Galmuri11;color:var(--mem-accent)}.memory-theme .question h2{font-size:23px;font-weight:400;line-height:1.7;color:var(--mem-ink)}.memory-theme .choice{background:var(--mem-paper);color:var(--mem-ink);border:1px solid var(--mem-muted);box-shadow:3px 3px #6e57531a;font:16px/1.8 'Gowun Dodum',Galmuri9;min-height:78px;padding:18px}.memory-theme .choice:hover{background:var(--mem-soft);border-color:var(--mem-accent)}.memory-theme .choice .number,.memory-theme .choice .cursor{color:var(--mem-accent)}.memory-theme button:focus-visible,.memory-theme a:focus-visible{outline:3px solid var(--mem-accent);outline-offset:5px}.memory-result-cover{background:var(--mem-paper);border:1px solid var(--mem-muted);padding:24px 28px 26px;margin:26px 0 34px;box-shadow:7px 7px #6e57531a;position:relative}.memory-cover-meta{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--mem-muted);padding-bottom:16px;border-bottom:1px dashed var(--mem-muted)}.memory-cover-meta>span:first-child{font-family:Galmuri11;font-size:9px}.memory-result-icon{width:120px;height:120px;margin:28px auto 10px}.memory-result-icon svg{width:100%;height:100%}.memory-result-cover>p{font-size:13px;color:var(--mem-muted);margin:10px 0}.memory-theme .memory-result h1{font-size:32px;color:var(--mem-ink);font-weight:400;line-height:1.5;margin:14px 0;word-break:keep-all}.memory-result-cover .memory-result-tag{font-size:15px}.memory-result-cover blockquote{color:var(--mem-accent);font-size:20px;line-height:1.8;margin:26px 0;padding:20px 0;border-top:1px dashed var(--mem-muted);border-bottom:1px dashed var(--mem-muted);word-break:keep-all}.memory-theme .trait-list span{background:var(--mem-soft);border:0;color:var(--mem-ink);font-size:12px}.memory-result-sign{margin-top:22px;color:var(--mem-muted);font:italic 15px Georgia,serif}.memory-reading-note{font-size:14px;color:var(--mem-muted);margin-bottom:30px}.memory-theme .memory-letter{text-align:left;margin:22px 0;padding:26px 28px}.memory-letter-number{font:italic 20px Georgia,serif;color:var(--mem-accent)}.memory-theme .memory-letter h2{font-size:20px;color:var(--mem-ink);font-weight:400;margin:9px 0 12px}.memory-theme .memory-letter p{font:16px/2 'Gowun Dodum',Galmuri9;color:var(--mem-ink);margin:0;word-break:keep-all;overflow-wrap:anywhere}.memory-practice{border:1px dashed var(--mem-muted);padding:22px;margin:30px 0;background:var(--mem-paper)}.memory-practice>span{color:var(--mem-accent);font-size:12px}.memory-practice>p{font-size:17px;word-break:keep-all}.memory-share{padding:28px 0;border-top:1px dashed var(--mem-muted)}.memory-share h2{font-size:22px;font-weight:400}.memory-share>p{font-size:15px;color:var(--mem-muted)}.memory-theme #toast{background:var(--mem-ink);color:var(--mem-paper);border-color:var(--mem-accent);font-family:'Gowun Dodum',Galmuri9}
@media(max-width:600px){.memory-content{padding:18px 24px 60px}.memory-route>span{font-size:8px;letter-spacing:0}.memory-cover{margin-top:22px}.memory-art{width:140px;height:140px}.memory-title h1{font-size:29px}.memory-title>p{font-size:16px}.memory-title{margin-top:30px}.memory-intro-note{padding:22px}.memory-theme .primary{width:100%;font-size:16px}.memory-theme .secondary{font-size:14px}.memory-theme .panel{padding:22px}.memory-theme .question h2{font-size:21px}.memory-theme .choice{padding:16px 12px;font-size:15px}.memory-theme .memory-result h1{font-size:27px}.memory-result-cover{padding:20px}.memory-cover-meta{flex-wrap:wrap;gap:8px}.memory-result-cover blockquote{font-size:18px}.memory-theme .memory-letter{padding:22px}.memory-theme .memory-letter p{font-size:15px}.memory-theme .mini-quest .hud>span:first-child{font-size:12px}.memory-windowbar{font-size:11px;padding:9px 12px}.memory-windowbar>span:last-child{white-space:nowrap;letter-spacing:2px}.memory-practice>p{font-size:16px}}
@media(prefers-reduced-motion:reduce){.memory-cover{transform:none}}
/* Answer artwork follows the answer ID, including after shuffling or resuming. */
.memory-theme .memory-picture-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.memory-theme .memory-picture-choices .choice{display:flex;flex-direction:column;align-items:stretch;padding:0;position:relative;overflow:hidden;text-align:left;min-width:0}.memory-choice-art{display:block;width:100%;border-bottom:1px solid var(--mem-muted);background:var(--mem-soft);line-height:0}.memory-choice-art img{width:100%;height:auto;aspect-ratio:20/13;object-fit:cover;image-rendering:pixelated;display:block}.memory-choice-copy{display:flex;align-items:flex-start;gap:12px;padding:17px 18px;min-height:94px;word-break:keep-all;overflow-wrap:anywhere}.memory-picture-choices .choice>.cursor{position:absolute;left:8px;top:8px;z-index:1;background:var(--mem-paper);padding:0 5px}.memory-picture-choices .choice:hover .memory-choice-art{filter:brightness(1.04)}.memory-picture-choices .number{flex:none;font-size:12px;line-height:2.4}.memory-choice-copy>span:last-child{flex:1;min-width:0}
@media(max-width:600px){.memory-theme .memory-picture-choices{gap:14px}.memory-choice-copy{padding:13px 12px;gap:7px;min-height:128px;font-size:14px;line-height:1.8}.memory-picture-choices .number{font-size:10px}}@media(max-width:380px){.memory-theme .memory-picture-choices{grid-template-columns:1fr}.memory-theme .memory-picture-choices .choice{flex-direction:row;align-items:stretch}.memory-choice-art{flex:0 0 104px;width:104px;border-bottom:0;border-right:1px solid var(--mem-muted);display:flex;align-items:center}.memory-choice-copy{min-height:100px;align-items:center;padding:13px 10px}.memory-choice-art img{width:104px;height:100%;object-fit:cover}.memory-theme .memory-content{padding-left:18px;padding-right:18px}}
