.memory-game-settings{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:20px 24px;border:1px solid #dce6ef;border-radius:16px;background:#f8fafc;margin:18px 0}.memory-game-settings h2{font-size:17px;margin:0 12px 0 0}.memory-game-settings label{display:flex;align-items:center;gap:10px}.memory-game-settings select,.memory-game-settings input[type=number]{padding:9px 12px;border:1px solid #ccd7e4;border-radius:9px;background:white}.memory-game-settings input[type=checkbox]{width:18px;height:18px}.memory-game-settings small{color:#6b7280;font-size:12px}.memory-image-dialog{width:min(860px,94vw);max-height:90vh}.memory-image-dialog form{display:flex;align-items:end;gap:12px}.memory-image-dialog form label{flex:1}.memory-image-dialog .memory-pictogram-results{grid-template-columns:repeat(3,minmax(0,1fr));max-height:52vh;overflow:auto}.memory-image-dialog .memory-pictogram-results img{width:100%;height:140px;object-fit:contain}.memory-image-dialog .memory-pictogram-results button{min-width:0;gap:8px}.memory-image-dialog .memory-pictogram-results strong{font-size:13px;overflow-wrap:anywhere}.memory-image-dialog .memory-pictogram-results small{font-size:11px;color:#667085}.memory-image-dialog .memory-pictogram-results em{font-size:12px;color:#167260;font-style:normal}.memory-clock{font-variant-numeric:tabular-nums;font-size:22px;font-weight:750;color:#334155;border:1px solid #dce5ee;background:#f4f7fb;border-radius:10px;padding:9px 13px;white-space:nowrap}.memory-clock.is-urgent{color:#9a5b11;background:#fff6e5;border-color:#edcc94}.memory-music-volume{display:flex;flex-direction:column;gap:2px;font-size:10px;color:#6b7280}.memory-music-volume input{width:70px;accent-color:#3a8978}.memory-time-finished{padding:20px 26px;border:1px solid #e8cfa1;border-radius:16px;background:#fff9ee;margin:12px 0}.memory-time-finished h2{margin:0 0 8px;font-size:22px}.memory-image-credits{padding:14px 0;font-size:12px;color:#657084}.memory-image-credits a{color:#286d82}.memory-image-credits summary{cursor:pointer}.memory-play-header{gap:12px}.memory-play-header .actions{flex-wrap:wrap}.memory-play-header h1{overflow-wrap:anywhere}.memory-game-card img{object-fit:contain;width:100%;height:100%}@media(max-width:700px){.memory-game-settings{padding:16px;gap:12px}.memory-game-settings small{flex-basis:100%}.memory-image-dialog .memory-pictogram-results{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-image-dialog form{align-items:stretch;flex-direction:column}.memory-clock{font-size:19px}}

.memory-image-confidence{display:block;color:#8a5600;font-size:.875rem;margin:.3rem 0}.memory-review-image{display:flex;align-items:center;justify-content:center;min-height:110px;width:100%;background:transparent;border:1px solid transparent;border-radius:14px;cursor:pointer}.memory-review-image:hover{border-color:var(--accent,#559bdf)}.memory-review-image img{max-width:150px;max-height:120px;object-fit:contain}.memory-image-warning small{display:block;width:100%}.memory-image-preview{cursor:pointer;width:100%;color:inherit}

.memory-pair-review>div{grid-template-columns:minmax(0,1fr);gap:8px;min-width:0}.memory-pair-review>div>span[aria-hidden]{display:none}.memory-pair-review .memory-word{overflow-wrap:normal;word-break:normal;white-space:normal;font-size:1rem;line-height:1.25}.memory-pair-review>div>span{min-width:0}.memory-review-image{min-height:120px;padding:4px}.memory-review-image img{max-width:100%;height:110px;max-height:110px}.memory-pair-review{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
