html.memory-document{scroll-behavior:auto}.memory-page .game-layout{grid-template-columns:minmax(0,620px) minmax(230px,1fr);gap:28px}.memory-page .game-panel{background:#fffefb;scroll-margin-top:12px}.memory-page .game-title h1{font-size:36px}.memory-page .game-title img{height:100px;width:100px;filter:drop-shadow(0 8px 7px #9a79aa1a)}.memory-page .eyebrow{color:#9a81a7}.memory-page .game-hud{padding:10px;border-radius:17px;background:#f1ecf4;margin:12px 0}.memory-page .game-hud small{color:#99879e}.memory-page .game-hud strong{color:#675773}.memory-options{display:flex;gap:10px;align-items:center;justify-content:space-between}.memory-page .game-option{margin:0}.memory-page .game-option select{border-color:#e2d9e5;border-radius:13px;background:#faf7fb;font-size:12px;padding:8px}.memory-peek{font:inherit;font-size:11px;min-height:42px;border:1px solid #e4d4ab;background:#fff6de;border-radius:13px;color:#9b814a;padding:8px 12px;font-weight:700}.memory-peek:disabled{opacity:.5;cursor:default}.memory-story{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:14px 2px 9px;font-size:11px;color:#97819f}.memory-story b{font-size:18px;color:#d6b062;letter-spacing:3px;line-height:1}.memory-progress{height:6px;border-radius:8px;background:#ede5f1;overflow:hidden;margin:0 0 12px}.memory-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#b6c98f,#d8b5d6);border-radius:inherit;transition:width .3s}.memory-page .memory-stage{max-width:none;padding:15px;background:radial-gradient(circle at 8% 6%,#fff9 0 22px,transparent 23px),radial-gradient(circle at 95% 97%,#fff9 0 65px,transparent 66px),linear-gradient(135deg,#ece4f2,#f6eae4);border-color:#e7dfe9;min-height:0}.memory-page .memory-board{gap:11px;grid-template-columns:repeat(4,minmax(0,1fr))}.memory-page .memory-board[data-count="10"]{grid-template-columns:repeat(5,minmax(0,1fr))}.memory-page .memory-card{aspect-ratio:1/1.15;border-radius:17px}.memory-page .memory-back,.memory-page .memory-face{border-radius:17px;border:2px solid #ffffffe6}.memory-page .memory-back{background:radial-gradient(circle,#ffffff55 1px,transparent 2px) 0 0/12px 12px,linear-gradient(150deg,#c2d2a4,#a9be92);box-shadow:0 4px 0 #96ad83}.memory-back .memory-flower{font-size:31px;color:#f9fbeb;line-height:1;text-shadow:0 2px 0 #92aa7c}.memory-back b{font-size:15px;letter-spacing:3px;color:#fcfff5;margin:4px 0}.memory-page .memory-back small{font-size:5px;letter-spacing:1.1px;color:#edf4e5}.memory-back i{font-style:normal;position:absolute;bottom:7px;right:9px;font-size:9px;color:#f9ffedb0}.memory-page .memory-face{background:linear-gradient(145deg,#fffdfb,var(--card-tint));box-shadow:0 4px 0 #c8b9cf;padding:5px 3px 7px;justify-content:center}.memory-page .memory-face>img{width:87%;height:78%;object-fit:contain;filter:drop-shadow(0 4px 2px #695e7315)}.memory-face>small{font-size:9px;color:#7f7285;font-weight:700;white-space:nowrap;line-height:1.4}.memory-check{position:absolute;top:5px;right:5px;width:18px;height:18px;display:none;border-radius:50%;background:#91ac72;color:white;font-size:12px;line-height:18px}.memory-page .memory-card.is-matched{opacity:1}.memory-page .is-matched .memory-face{border-color:#a8c38d;background:linear-gradient(140deg,#fbfff4,#e6efd9);box-shadow:0 3px 0 #b6c6a5;animation:album-pop .42s ease-out}.memory-page .is-matched .memory-check{display:block}.memory-page .is-selected .memory-face{border-color:#d5b6de}.memory-page .memory-card:focus-visible{outline:3px solid #937eaa;outline-offset:3px}.memory-page .game-caption{font-size:12px;color:#9b839f;margin:13px 0 8px;min-height:22px}.memory-page .game-caption.is-preview{color:#799548;font-weight:750}.memory-album-wrap{border-radius:18px;background:#f7f3e9;padding:12px 14px;margin-top:10px}.memory-album-title{display:flex;justify-content:space-between;gap:8px;color:#a09270;font-size:10px;margin-bottom:8px}.memory-album-title b{font-size:10px;letter-spacing:1.5px;color:#968562}.memory-album{display:flex;justify-content:center;gap:5px;flex-wrap:wrap}.album-slot{position:relative;width:39px;height:41px;border:1px dashed #e0d8c6;border-radius:11px;background:#eeeadf;padding:3px}.album-slot img{width:100%;height:100%;object-fit:contain;opacity:.22;filter:grayscale(1)}.album-slot>span{display:none;position:absolute;bottom:-3px;right:-2px;color:#7b9759;font-size:10px;font-weight:900}.album-slot.is-collected{border:1px solid #dce6c8;background:#fffef5}.album-slot.is-collected img{opacity:1;filter:none}.album-slot.is-collected>span{display:block}.memory-page .overlay-card{background:#fffefbf5;border-radius:27px}.memory-page .overlay-card>img{height:110px;width:110px}.memory-kicker{display:block;font-size:9px;letter-spacing:1.5px;color:#a28ba8;font-weight:750;margin-bottom:9px}.memory-page .game-help{background:linear-gradient(140deg,#fdfbf9,#f1ecf5);color:#8a7e91}.memory-page .game-help h2{font-size:23px;line-height:1.45;letter-spacing:-.8px;color:#685970}.memory-page .game-help h3{color:#7c6987}.memory-page .game-help>p{font-size:12px}.memory-rule{display:flex;gap:12px;margin:22px 0}.memory-rule>span{flex-shrink:0;width:31px;height:31px;border-radius:11px;background:#e9e0ef;color:#a18ba9;font-size:11px;font-weight:750;display:grid;place-items:center}.memory-rule h3{margin:0 0 6px!important;font-size:14px}.memory-rule p{font-size:12px;line-height:1.8;margin:0}.memory-star-guide{background:#fff8e8;border:1px solid #efe4c9;border-radius:18px;padding:16px;font-size:11px;color:#9c8656}.memory-star-guide h3{margin:0 0 8px;color:#a1874e}.memory-star-guide p{margin:6px 0;line-height:1.7}.memory-star-guide strong{color:#d0aa58;letter-spacing:1px}.memory-page .game-help a{color:#8d7898;border-color:#e5dce9}.memory-peek:focus-visible{outline:3px solid #b8a06b;outline-offset:2px}
@keyframes album-pop{0%{transform:rotateY(0) scale(1)}50%{transform:rotateY(0) scale(1.07)}100%{transform:rotateY(0) scale(1)}}
@media(max-width:850px){.memory-page .game-layout{grid-template-columns:1fr}.memory-page .game-panel,.memory-page .game-help{width:min(620px,100%)}}
@media(max-width:650px){.memory-page .game-title h1{font-size:28px}.memory-page .game-title img{width:76px;height:76px}.memory-options{gap:6px}.memory-page .game-option{font-size:11px;gap:7px}.memory-page .game-option select{font-size:11px;padding:8px}.memory-peek{font-size:10px;padding:7px 9px}.memory-page .game-hud{padding:7px;margin:9px 0}.memory-page .memory-board,.memory-page .memory-board[data-count="10"]{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.memory-page .memory-stage{padding:10px}.memory-page .memory-card,.memory-page .memory-back,.memory-page .memory-face{border-radius:12px}.memory-face>small{font-size:8px}.memory-back .memory-flower{font-size:23px}.memory-back b{font-size:12px;letter-spacing:2px}.memory-page .memory-back small{font-size:4px;letter-spacing:.7px}.memory-back i{font-size:7px;bottom:5px;right:6px}.memory-page .memory-face{padding:2px 1px 5px}.memory-check{width:14px;height:14px;line-height:14px;font-size:10px;top:3px;right:3px}.memory-story{margin:10px 1px 8px;font-size:10px}.memory-story b{font-size:16px}.memory-page .game-caption{font-size:11px;margin:11px 0 5px}.memory-album-wrap{padding:9px;margin-top:6px}.album-slot{width:30px;height:33px;border-radius:9px}.memory-album{gap:4px}.memory-album-title{font-size:9px}.memory-album-title b{font-size:9px}.memory-page .overlay-card{padding:17px}.memory-page .overlay-card>img{width:75px;height:75px}.memory-page .overlay-card h2{font-size:20px}.memory-page .overlay-card p{font-size:11px;margin-bottom:12px}.memory-page .overlay-card .primary{min-height:43px;font-size:13px}.memory-page .memory-stage:has(.game-overlay:not([hidden])){min-height:350px}}
@media(prefers-reduced-motion:reduce){.memory-progress span{transition:none}.memory-page .is-matched .memory-face{animation:none}}

.memory-page .memory-card:disabled{opacity:1}
