.student-memoir{--memoir-paper:var(--edu-paper,#fffaf3);--memoir-ink:var(--edu-ink,#263448);--memoir-blue:var(--edu-blue,#1640d6);--memoir-yellow:var(--edu-yellow,#ffe58a);--memoir-muted:var(--edu-muted,#596579);font-family:ui-rounded,PingFang SC,Microsoft YaHei,system-ui,sans-serif;background:var(--memoir-paper);color:var(--memoir-ink);border:1.5px solid var(--memoir-ink);border-radius:19px;overflow:hidden;width:100%;min-width:0;isolation:isolate}.memoir-masthead{display:flex;align-items:center;gap:12px;padding:13px 22px;background:var(--memoir-paper);font-size:12px}.memoir-masthead>span:first-child{font-weight:800;letter-spacing:.08em;flex:1}.memoir-masthead i{font-style:normal;font-size:9px;font-weight:400;margin-left:7px;letter-spacing:.12em;color:var(--memoir-muted)}.memoir-masthead>span:nth-child(2){font-size:10px;color:var(--memoir-muted)}.memoir-masthead button{height:30px;width:30px;border:1px solid #d5dce8;border-radius:50%;display:grid;place-items:center;background:transparent;color:inherit}.memoir-progress{height:2px;background:#26344812}.memoir-progress span{height:100%;width:0;display:block;background:var(--memoir-blue)}.memoir-scroll{height:clamp(420px,70dvh,740px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c4cbd7 transparent;scroll-padding-top:24px;position:relative}.memoir-scroll:focus-visible{outline:2px solid var(--memoir-blue);outline-offset:-3px}.memoir-hero{position:relative;padding:38px 36px 25px;min-height:610px;display:flex;flex-direction:column;background:radial-gradient(ellipse at 90% 45%,#ffeeb566,transparent 62%)}.memoir-tag{display:inline-flex;gap:6px;align-items:center;font-size:10px;letter-spacing:.04em;border:1px solid var(--memoir-ink);border-radius:30px;padding:5px 10px;background:#fff1bd}.memoir-hero h2{font-size:clamp(29px,4vw,42px);font-weight:800;letter-spacing:-.06em;line-height:1.38;margin:19px 0 12px}.memoir-hero h2>span:first-child{font-size:.68em;font-weight:650;letter-spacing:0}.memoir-dot{color:var(--memoir-blue)}.memoir-hero-copy>p{font-size:13px;color:var(--memoir-muted);line-height:1.95}.memoir-hero-art{position:relative;margin:32px 0 12px;transform:rotate(-3deg);border:1.5px solid var(--memoir-ink);border-radius:13px;padding:9px;background:white;box-shadow:5px 5px 0 #263448;flex:none}.memoir-hero-art .memoir-image{border-radius:7px}.memoir-art-note{display:block;font-size:8px;letter-spacing:.16em;color:var(--memoir-muted);padding:9px 3px 2px}.memoir-hero-sticker{position:absolute;right:-9px;top:-25px;width:74px;height:74px;display:grid;place-content:center;text-align:center;font-size:12px;font-weight:700;line-height:1.6;background:var(--memoir-yellow);color:var(--memoir-ink);border:1.5px solid var(--memoir-ink);border-radius:50%;z-index:2;transform:rotate(13deg);animation:memoir-sticker 6s ease-in-out infinite alternate}.memoir-scroll-hint{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--memoir-muted);background:none;border:0;font-size:11px;margin:28px auto 0;padding:10px}.memoir-scroll-hint svg{animation:memoir-arrow 2s ease-in-out infinite}.memoir-empty{height:170px;display:grid;place-content:center;text-align:center;font-size:60px;color:var(--memoir-blue);background:#edf1ff}.memoir-empty span{font-size:12px;color:var(--memoir-muted)}.memoir-image{position:relative;overflow:hidden;background:#edf1f5;width:100%}.memoir-image img{position:absolute;max-width:none;display:block;object-fit:fill}.memoir-image-error{display:grid;place-items:center;height:100%;min-height:100px;padding:25px;font-size:12px;color:var(--memoir-muted)}.memoir-opening{position:relative;padding:70px 36px 88px;border-top:1px solid #26344812}.memoir-mini{font-size:10px;letter-spacing:.13em;color:var(--memoir-muted)}.memoir-opening h3{font-size:26px;line-height:1.65;font-weight:700;letter-spacing:-.04em;margin:18px 0}.memoir-opening p{font-size:13px;line-height:1.9;color:var(--memoir-muted)}.memoir-trail{position:absolute;width:125px;right:28px;bottom:18px;color:#a2aec3;transform:rotate(-6deg)}.memoir-scene{position:relative;padding:54px 32px 64px;overflow:hidden}.memoir-tone-0{background:#edf2fc}.memoir-tone-1{background:#fffaf3}.memoir-tone-2{background:#fff3ce}.memoir-scene-copy{position:relative;padding:0 4px;z-index:1}.memoir-scene-number{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:700;color:var(--memoir-blue);letter-spacing:.1em;margin-bottom:17px}.memoir-scene-number i{height:1px;width:35px;background:currentColor;opacity:.4}.memoir-date{display:block;font-size:11px;color:var(--memoir-muted);margin-bottom:7px}.memoir-scene h3{font-size:27px;line-height:1.55;letter-spacing:-.05em;font-weight:750;max-width:90%;text-wrap:balance}.memoir-scene-copy p{font-size:12px;line-height:1.9;color:var(--memoir-muted);white-space:pre-line;max-width:95%;margin-top:13px}.memoir-scene figure{position:relative;margin:28px 0 0;z-index:1}.memoir-photo-frame{padding:8px;background:white;border:1.5px solid var(--memoir-ink);border-radius:12px;box-shadow:4px 4px 0 #2634481c;transform:rotate(-1.6deg)}.memoir-tone-1 .memoir-photo-frame{transform:rotate(1.8deg)}.memoir-photo-frame .memoir-image{border-radius:5px}.memoir-scene figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 3px 0;font-size:9px;letter-spacing:.04em;color:var(--memoir-muted)}.memoir-scene figcaption a{white-space:nowrap;text-decoration:underline;text-underline-offset:4px}.memoir-scene-flower{position:absolute;right:9px;bottom:12px;font-size:74px;line-height:1;color:#2634480c;transform:rotate(16deg)}.memoir-finale{padding:65px 36px 45px;text-align:center;background:var(--memoir-paper)}.memoir-final-mark{display:block;color:var(--memoir-blue);font-size:45px;font-weight:400;margin-bottom:20px;line-height:1}.memoir-finale h3{font-size:35px;line-height:1.5;letter-spacing:-.04em;margin:20px 0 15px;font-weight:750}.memoir-finale>p{font-size:13px;line-height:2;color:var(--memoir-muted)}.memoir-signature{font-size:12px;font-weight:650;letter-spacing:.06em;margin-top:35px}.memoir-signature span{display:block;font-size:10px;font-weight:400;color:var(--memoir-muted);margin-top:5px}.memoir-finale button{display:inline-flex;align-items:center;gap:6px;background:none;border:1px solid #d5dce8;border-radius:20px;padding:9px 13px;font-size:11px;color:var(--memoir-ink);margin-top:26px}.memoir-original{border-top:1px solid #2634481a;padding:20px;background:#fffdf8}.memoir-original summary{font-size:11px;color:var(--memoir-muted);cursor:pointer}.memoir-original[open] summary{margin-bottom:20px}.memoir-original .showcase-reading{border:0}.memoir-original .showcase-reading-copy{padding:18px 5px}.memoir-animated [data-reveal]:not(.is-visible){opacity:0;transform:translateY(25px)}.memoir-animated [data-reveal]{transition:opacity .75s ease,transform .85s cubic-bezier(.16,1,.3,1)}.memoir-animated figure[data-reveal]{transition-delay:.12s}.memoir-still *{animation:none!important;transition:none!important}.student-memoir :is(button,a,summary):focus-visible{outline:2px solid var(--memoir-blue);outline-offset:4px}.showcase-memoir-dialog{max-width:600px!important;width:calc(100vw - 28px)!important;max-height:94dvh!important;padding:13px!important;gap:10px!important;overflow:hidden!important;display:flex!important;flex-direction:column}.showcase-memoir-dialog>[data-slot=dialog-header]{padding:0 30px 0 5px}.showcase-memoir-dialog .student-memoir{min-height:0}.showcase-memoir-dialog .memoir-scroll{height:calc(94dvh - 150px);max-height:800px;min-height:0}.showcase-editor-grid>aside .memoir-scroll{height:640px}.memoir-scene-editor{margin:22px 0;border-top:1px solid #d5dce8;padding-top:18px}.memoir-scene-editor>p{font-size:12px;line-height:1.8;color:#596579;margin:8px 0 16px}.memoir-edit-scene{border:1px solid #d5dce8;border-radius:10px;padding:14px;margin-bottom:14px;background:#fffdf8}.memoir-edit-scene header{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:15px}.memoir-edit-scene header>div{display:flex;gap:10px}.memoir-edit-scene header button{font-size:11px;background:none;border:0;color:#596579}.memoir-edit-scene details summary{font-size:12px;cursor:pointer;margin:10px 0}.memoir-crop-inputs{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.memoir-scene-editor .memoir-image{max-width:250px;margin:12px auto;border-radius:7px}@keyframes memoir-sticker{0%{transform:rotate(10deg) translateY(0)}to{transform:rotate(16deg) translateY(-4px)}}@keyframes memoir-arrow{0%,to{transform:translateY(-2px)}50%{transform:translateY(4px)}}@media(max-width:600px){.showcase-memoir-dialog{width:calc(100vw - 14px)!important;padding:8px!important;max-height:97dvh!important}.showcase-memoir-dialog .memoir-scroll{height:calc(97dvh - 154px)}.memoir-masthead{padding:10px 16px}.memoir-hero{padding:30px 24px 20px;min-height:560px}.memoir-hero h2{font-size:32px}.memoir-hero-art{margin-top:30px}.memoir-opening{padding:60px 26px 80px}.memoir-opening h3{font-size:24px}.memoir-scene{padding:44px 23px 50px}.memoir-scene h3{font-size:25px}.memoir-finale{padding:55px 24px 40px}.memoir-finale h3{font-size:32px}}@media(prefers-reduced-motion:reduce){.student-memoir *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.memoir-animated [data-reveal]:not(.is-visible){opacity:1;transform:none}}.memoir-photo-join{overflow:hidden;border-radius:5px}.memoir-photo-join .memoir-image{border-radius:0}.memoir-scene figcaption{flex-wrap:wrap}.memoir-scene figcaption>span{margin-right:auto}.memoir-sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap!important}.memoir-posters .memoir-scene{padding:0 0 20px;background:#fffaf3}.memoir-posters .memoir-scene figure{margin:0}.memoir-posters .memoir-photo-frame{padding:0;border:0;border-radius:0;box-shadow:none;transform:none}.memoir-posters .memoir-photo-frame .memoir-image,.memoir-posters .memoir-photo-join{border-radius:0}.memoir-posters .memoir-scene figcaption{padding:8px 24px 16px}.memoir-poster-cover{background:#fffaf3}.memoir-posters .memoir-opening{padding-top:36px;padding-bottom:40px}.memoir-posters .memoir-scene+.memoir-scene{border-top:1px solid #26344812}.memoir-posters .memoir-scene-copy{padding:34px 26px 22px}.memoir-chapter-nav{padding:22px;display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#f4f1e9}.memoir-chapter-nav button{text-align:left;border:1px solid #dce0e8;background:#fffaf3;border-radius:10px;padding:12px;font-size:12px;line-height:1.6;color:#263448}.memoir-chapter-nav small{display:block;color:#1640d6;margin-bottom:5px}.memoir-scene{scroll-margin-top:10px}