.free-games-invitation{background:#25162e;border:1px solid #ac7eba44;border-radius:26px;display:grid;grid-template-columns:1fr .8fr;gap:35px;padding:35px;margin-top:35px;margin-bottom:40px;color:#f1dfeb}.free-games-invitation h2{font:clamp(30px,3vw,42px)/1.15 Georgia;color:#f1dfeb}.free-games-invitation p{font-size:14px;line-height:1.8;color:#c5aecb;max-width:650px}.free-games-invitation .label{color:#caa3df}.game-invitation-buttons{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:14px}.game-invitation-buttons .btn{justify-content:center}.paid-story-shortcut{grid-column:1/-1;border-top:1px solid #ac7eba44;padding-top:24px;display:flex;align-items:center;justify-content:space-between;gap:24px}.paid-story-shortcut p{margin:0}.paid-story-shortcut .btn{white-space:normal;min-width:200px}.game-lobby-note{padding-bottom:45px;color:#c5aecb}.game-lobby-note p{font-size:13px;line-height:1.8}
dialog[data-kind=free-game]{width:min(720px,96%);padding:28px;border-radius:25px}dialog[data-kind=free-game] h2{font-size:36px;margin:18px 0}.game-instructions{font-size:13px!important;line-height:1.7!important}.game-stat{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#633b76;margin:15px 0}.wordsearch-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:3px;max-width:510px;margin:0 auto;touch-action:none;user-select:none}.wordsearch-grid .letter-cell{min-width:0;min-height:0;aspect-ratio:1;padding:0;border:1px solid #b48cc055;border-radius:6px;background:#fffafc;color:#573963;display:grid;place-items:center;font:bold clamp(12px,2vw,18px)/1 'Segoe UI',sans-serif;touch-action:none;transition:background .12s}.wordsearch-grid .letter-cell:hover{background:#ead9f2}.wordsearch-grid .letter-cell.selected{background:#d7a9ed;border-color:#633b76}.wordsearch-grid .letter-cell.found{background:#7039ad;color:white;border-color:#7039ad}.wordsearch-grid .letter-cell:focus-visible{outline:2px solid #50315e;outline-offset:1px;z-index:1}.wordsearch-list{padding:0;list-style:none;display:flex;gap:8px 14px;justify-content:center;flex-wrap:wrap;margin:20px 0}.wordsearch-list li{font-size:12px;color:#765d83;background:#eee2f2;padding:5px 9px;border-radius:20px}.wordsearch-list li.complete{text-decoration:line-through;color:#562489}.game-feedback{background:#eee2f2;padding:12px 16px;border-radius:12px;font-size:13px!important;color:#633b76!important;min-height:45px}.game-switch{display:block;margin-top:15px}.game-win{padding:20px;border:1px solid #b48cc080;border-radius:18px;margin:20px 0}.game-win h3{font-size:26px}.sensory-memory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sensory-memory .memory-card{aspect-ratio:1.15;min-width:0;padding:12px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid #b58ad9;border-radius:16px;background:linear-gradient(145deg,#2d1b3d,#7039ad);color:#f4d6ff}.memory-card>span{font-size:34px}.memory-card small{font-size:8px;letter-spacing:1px;color:inherit}.sensory-memory .face-up{background:#eee2f2;color:#633b76}.memory-card.face-up>span{font-size:clamp(11px,2vw,17px);font-weight:700}.sensory-memory .matched{opacity:1;border-color:#8e56b4;box-shadow:inset 0 0 0 1px #8e56b4}.memory-card.matched small{font-size:8px;letter-spacing:0}.paid-stories-actions{margin:22px 0}.paid-stories-actions .btn{min-width:160px;justify-content:center}
@media(max-width:650px){.free-games-invitation{grid-template-columns:1fr;padding:26px;gap:20px}.paid-story-shortcut{display:block}.paid-story-shortcut .btn{margin-top:18px;width:100%}dialog[data-kind=free-game]{padding:23px 15px}.wordsearch-grid{gap:2px}.wordsearch-grid .letter-cell{border-radius:4px}.sensory-memory{gap:7px}.sensory-memory .memory-card{border-radius:12px;aspect-ratio:1}.memory-card small{font-size:7px;letter-spacing:.3px}dialog[data-kind=free-game] h2{font-size:30px}.game-stat{font-size:12px}}

#site-content dialog .sensory-memory .memory-card:not(.face-up) :is(span,small){color:#fff4ff}
#site-content dialog .sensory-memory .memory-card.face-up :is(span,small){color:#493052}
#site-content dialog .sensory-memory .memory-card.face-up>span{font-size:clamp(12px,2vw,17px);line-height:1.3;overflow-wrap:anywhere;max-width:100%}
#site-content dialog .sensory-memory .memory-card small{font-size:10px;letter-spacing:0}
