.fr-memory-game{padding:22px!important;background:linear-gradient(135deg,#fbefd6,#edf3ef)!important;border-color:#d4bf94!important}.fr-memory-game header{display:grid!important;grid-template-columns:minmax(0,1fr) 135px;gap:20px}.fr-memory-game header img{width:135px;height:95px;object-fit:cover;border-radius:9px}.fr-memory-game header p{font-size:13px;line-height:1.7;margin:8px 0 0}.fr-memo-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 12px;font-size:11px;color:#695d48}.fr-memo-top strong{background:#fffdf5;padding:6px 11px;border-radius:20px;color:#376778}.fr-memo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.fr-memory-game .fr-memo-card{min-width:0;min-height:135px!important;border:1px solid #507080!important;border-radius:10px!important;background:repeating-linear-gradient(45deg,#315772,#315772 10px,#355d78 10px,#355d78 12px)!important;color:#ffe8ab!important;padding:13px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;box-shadow:0 3px 0 #153e5830;overflow-wrap:anywhere}.fr-memory-game .fr-memo-card small{font-size:9px;letter-spacing:1px;font-weight:700}.fr-memory-game .fr-memo-card>span{font-size:13px;line-height:1.7;font-weight:500}.fr-memory-game .fr-memo-card .fr-memo-back{font:38px Georgia;line-height:1;color:#efcf81}.fr-memory-game .fr-memo-card.is-up{background:#fffdf4!important;border-color:#ccb47e!important;color:#294d67!important}.fr-memory-game .fr-memo-card.is-matched{background:#e5f0e8!important;border-color:#91ad98!important}.fr-memo-card[data-card-type=word].is-up>span{font:700 22px FrKalam!important}.fr-memory-game .fr-memo-controls{justify-content:flex-start;flex-wrap:wrap;gap:8px;margin-top:15px}.fr-memory-game .fr-memo-controls button{font-size:11px!important;padding:8px 11px!important;min-height:34px!important}.fr-memo-status{min-height:25px;font-size:12px!important;line-height:1.8;margin:15px 0 0!important;color:#3d626d}.fr-memo-help{margin-top:18px;border-top:1px solid #d6c49f;padding-top:12px;font-size:11px}.fr-memo-help summary{cursor:pointer;font-size:11px}.fr-memo-help p{font-size:12px;line-height:1.8;margin:10px 0}.fr-memo-study{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fr-memo-study article{padding:14px;background:#fffcf1;border:1px solid #e0cda8;border-radius:8px}.fr-memo-study h4{font:700 23px FrKalam;margin:0 0 8px;color:#815938}.fr-memo-study p{font-size:13px;line-height:1.8;margin:0}.fr-recall-challenge{padding:19px;background:#fffdf5;border:1px solid #ddc9a5;border-radius:10px}.fr-recall-challenge h4{font:700 25px FrKalam;margin:12px 0;color:#294d67}.fr-recall-challenge>p{font-size:15px;line-height:1.9;margin:10px 0}.fr-recall-challenge form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:18px 0}.fr-recall-challenge label{grid-column:1/-1;font-size:12px}.fr-recall-challenge input{min-width:0;width:100%;padding:10px;background:white;border:1px solid #ccb98f;border-radius:6px;font-size:16px}.fr-recall-challenge form button{font-size:12px;min-height:40px}.fr-recall-challenge>small{font-size:10px;line-height:1.7;display:block}.fr-recall-result{color:#416875;font-size:12px!important}.fr-memory-writing-fold .fr-compact-writing{border:0!important;padding:0!important}.fr-memory-reading-fold .fr-story-spread{margin-top:14px}.fr-adventure[data-fr-phase=summary]>.french-work>.fr-memory-game{margin-top:12px}.fr-memory-game button:focus-visible{outline:3px solid #d18c36;outline-offset:3px}
.fr-memory-game .fr-memo-card small{color:inherit!important}.fr-recall-challenge>small{letter-spacing:normal!important;color:#68705f!important}
@media(max-width:650px){.fr-memo-grid{grid-template-columns:1fr 1fr}.fr-memory-game{padding:14px!important}.fr-memory-game header{grid-template-columns:minmax(0,1fr) 72px;gap:10px}.fr-memory-game header img{width:72px;height:80px}.fr-memory-game header h3{font-size:23px!important}.fr-memory-game .fr-memo-card{min-height:125px!important;padding:12px!important}.fr-memo-study{grid-template-columns:1fr}.fr-recall-challenge form{grid-template-columns:1fr}.fr-recall-challenge{padding:14px}.fr-memo-top{font-size:10px;gap:7px}}
