.memory_root__j6T46{padding:12px;color:#34512d;font-family:var(--font-sans),sans-serif}.memory_expanded__f0XSV{position:fixed;inset:0;z-index:100;overflow:auto;background:#eef1d6}.memory_header__KTN32{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;background:#486d3c;color:#fff8e1;border:4px solid #debd7c;border-radius:24px 24px 0 0}.memory_header__KTN32 h1{font-size:clamp(24px,3vw,40px);font-weight:900;text-align:center}.memory_header__KTN32 a{color:#fff}.memory_header__KTN32 button{min-height:44px;padding:10px;border:2px solid #e4c57e;border-radius:18px;background:#fff7df;color:#34512d}.memory_garden__lGh6p{max-width:1440px;margin:auto;padding:20px;border:4px solid #debd7c;border-top:0;border-radius:0 0 24px 24px;background:linear-gradient(#f7f2d42e,#f6f0d433),url(/games/memory-match/woodland.webp) 50%/cover}.memory_toolbar__rfwQl{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;max-width:1000px;margin:0 auto 16px;padding:12px;background:#fff8e6ed;border:2px solid #dfc891;border-radius:22px;box-shadow:0 5px 14px #46612c30}.memory_toolbar__rfwQl label{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:800}.memory_toolbar__rfwQl button,.memory_toolbar__rfwQl select{min-height:44px;border:2px solid #d8bf81;border-radius:20px;padding:8px 14px;background:#fff8e7;color:#34512d;font-weight:800}.memory_toolbar__rfwQl .memory_hint__m3jCc{background:#ffce9a;color:#633918}.memory_toolbar__rfwQl .memory_newGame__DpEIE{background:#42672d;color:#fff}.memory_counter__SrlRC{background:#ffe6a2;border-radius:18px;padding:10px;font-size:14px}.memory_counter__SrlRC strong{font-size:18px}.memory_board__NWcoh{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:clamp(280px,calc((var(--game-height, 100dvh) - 300px) * 1.02),650px);margin:auto;padding:12px;border:3px solid #e1c997;border-radius:24px;background:#fff8e9e8;box-shadow:0 10px 30px #31492545}.memory_card__exGhE{position:relative;aspect-ratio:1;border:4px solid #fcf0d0;border-radius:16px;box-shadow:0 3px 4px #5543264d;background:linear-gradient(140deg,#86a75b,#5d833f);color:#e2e7a9;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:0;overflow:hidden}.memory_card__exGhE:focus-visible{outline:4px solid #183e35;outline-offset:2px}.memory_card__exGhE.memory_faceUp__A4oqi{background:#fff1d5;color:#425b2f}.memory_card__exGhE.memory_matched__IzSqk{opacity:1;border-color:#c2d995}.memory_card__exGhE small{position:absolute;bottom:2px;background:#fff5dfda;color:#354b2d;border-radius:6px;padding:1px 4px;font-weight:800;font-size:clamp(9px,1vw,13px)}.memory_leaf__ehmWv{font:normal clamp(42px,8vw,90px) Georgia,serif;transform:rotate(-25deg)}.memory_animalArt__mNRcg{display:block;width:100%;height:100%;background-image:url(/games/memory-match/animals.webp);background-size:400% 200%;background-repeat:no-repeat}.memory_symbol__PkSbT{font-size:clamp(32px,6vw,75px)}.memory_message__z1Fpr{text-align:center;font-weight:800;background:#fff8e4e8;border-radius:16px;padding:10px;margin:14px auto;max-width:700px;min-height:42px}.memory_footer__5P8tP{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 20px;text-align:center;font-size:12px;font-weight:700}.memory_footer__5P8tP span{background:#fff9e6dc;padding:6px 12px;border-radius:14px}@media (max-width:800px){.memory_root__j6T46{padding:8px}.memory_header__KTN32{padding:10px}.memory_header__KTN32 h1{font-size:22px}.memory_header__KTN32 a,.memory_header__KTN32 button{font-size:11px}.memory_garden__lGh6p{padding:10px}.memory_toolbar__rfwQl{gap:6px;padding:8px}.memory_counter__SrlRC,.memory_toolbar__rfwQl label{font-size:12px}.memory_toolbar__rfwQl button,.memory_toolbar__rfwQl select{padding:6px 10px;font-size:12px}.memory_counter__SrlRC strong{font-size:15px}.memory_board__NWcoh{max-width:500px;gap:4px;padding:7px;border-radius:16px}.memory_card__exGhE{border-width:3px;border-radius:11px}.memory_leaf__ehmWv{font-size:45px}.memory_symbol__PkSbT{font-size:36px}.memory_message__z1Fpr{font-size:13px}.memory_footer__5P8tP{font-size:11px}}@media (prefers-reduced-motion:reduce){.memory_root__j6T46 *{animation:none!important;transition:none!important}}.memory_board__NWcoh.memory_wide__tyv6r{grid-template-columns:repeat(6,minmax(0,1fr))}@media (max-width:700px){.memory_board__NWcoh.memory_wide__tyv6r{grid-template-columns:repeat(4,minmax(0,1fr))}}.memory_board__NWcoh.memory_larger__cq21i{grid-template-columns:repeat(8,minmax(0,1fr));max-width:850px}@media (max-width:700px){.memory_board__NWcoh.memory_larger__cq21i{grid-template-columns:repeat(4,minmax(0,1fr));max-width:500px}}.memory_board__NWcoh.memory_larger__cq21i .memory_card__exGhE small{max-width:100%;line-height:1.05;overflow-wrap:anywhere}@media (min-width:600px) and (max-height:500px){.memory_root__j6T46{padding:6px}.memory_header__KTN32{padding:6px 12px}.memory_header__KTN32 h1{font-size:22px}.memory_garden__lGh6p{display:grid;grid-template-columns:240px minmax(0,1fr);align-items:start;gap:8px 16px;padding:8px}.memory_toolbar__rfwQl{grid-column:1;grid-row:1/3;width:100%;max-height:max(220px,calc(var(--game-height, 100dvh) - 100px));overflow-y:auto;margin:0;padding:8px}.memory_toolbar__rfwQl label{flex-wrap:wrap;min-width:0}.memory_toolbar__rfwQl select{max-width:100%}.memory_board__NWcoh{grid-column:2;width:100%;max-width:clamp(248px,calc(var(--game-height, 100dvh) - 145px),500px);gap:4px;padding:6px}.memory_board__NWcoh.memory_wide__tyv6r{grid-template-columns:repeat(6,minmax(0,1fr));max-width:400px}.memory_board__NWcoh.memory_larger__cq21i{grid-template-columns:repeat(8,minmax(0,1fr));max-width:500px}.memory_card__exGhE{border-width:2px;border-radius:8px}.memory_leaf__ehmWv{font-size:36px}.memory_message__z1Fpr{grid-column:2;margin:0;padding:6px;font-size:12px}.memory_footer__5P8tP{grid-column:1/-1}}@media (orientation:landscape){[data-mobile] .memory_root__j6T46{padding:4px}[data-mobile] .memory_garden__lGh6p{padding:6px}[data-mobile] .memory_footer__5P8tP{margin:0;padding:4px;grid-column:1;grid-row:3;font-size:10px}[data-mobile] .memory_board__NWcoh{grid-row:1/3}[data-mobile] .memory_message__z1Fpr{grid-row:3}[data-mobile] .memory_footer__5P8tP span:last-child{display:none}}