.gf-games{--game-ink:#173f3a;--game-muted:#4b625b;--game-line:#cad8cb;--game-green:#1b6155;--game-soft:#f3f6eb;--game-gold:#ffd25a;color:var(--game-ink);font-family:inherit;padding:clamp(1rem,3vw,2.5rem) 0}
.gf-games *{box-sizing:border-box}.gf-games button{font:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent;cursor:pointer}.gf-games button:focus-visible{outline:3px solid #1559a3;outline-offset:4px}.gf-games button[aria-disabled=true]{cursor:default}.gf-games__intro{max-width:700px;margin-bottom:1.8rem}.gf-games__eyebrow{letter-spacing:.12em;font-size:.75rem;font-weight:800;color:var(--game-green);margin:0 0 .5rem}.gf-games__intro h2{font-size:clamp(1.8rem,4vw,2.7rem);line-height:1.2;margin:.2rem 0 .8rem}.gf-games p{line-height:1.65}.gf-games__intro>p:last-child{color:var(--game-muted);font-size:1.05rem}.gf-games__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.gf-game{position:relative;background:#fffef9;border:1px solid var(--game-line);border-radius:24px;padding:clamp(1.2rem,3vw,2rem);min-width:0;box-shadow:0 6px 0 #173f3a05}.gf-game__number{font-size:.78rem;font-weight:900;color:var(--game-green);letter-spacing:.1em;margin-bottom:.7rem}.gf-game h3{font-size:clamp(1.25rem,2.5vw,1.65rem);line-height:1.3;margin:0 0 .6rem}.gf-game>p,.gf-game--move>div>p{color:var(--game-muted);margin:0 0 1rem;font-size:.98rem}.gf-game__reset{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:48px;border:1px solid var(--game-green);border-radius:999px;background:var(--game-green);color:white;padding:.65rem 1.2rem;font-weight:800!important;transition:background .15s}.gf-game__reset:hover{background:#124c42}.gf-game__reset span{font-size:1.1rem}.gf-games .gf-game__feedback{min-height:3.5em;color:var(--game-muted);margin:1rem 0;font-size:.95rem}.gf-games .gf-game__feedback.is-success{color:#145b3e;font-weight:800}.gf-stars{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:.2rem;min-height:115px;background:var(--game-soft);border-radius:18px;padding:1rem .4rem;margin:1.2rem 0 .6rem}.gf-star{width:clamp(45px,5.8vw,72px);height:74px;border:0;background:transparent;position:relative;padding:5px;flex:0 1 72px}.gf-star svg{width:100%;height:100%;fill:#fffef9;stroke:#80631a;stroke-width:2;transition:fill .18s,transform .18s}.gf-star:hover svg{transform:translateY(-3px)}.gf-star.is-counted svg{fill:var(--game-gold)}.gf-star__number{position:absolute;inset:0;display:grid;place-items:center;padding-top:3px;color:var(--game-ink);font-size:1rem;font-weight:900;pointer-events:none}.gf-counted{text-align:center;font-size:.9rem;color:var(--game-muted);margin-bottom:1rem}.gf-game .gf-game__question{font-weight:800;color:var(--game-ink);margin:.7rem 0}.gf-answers{display:flex;gap:.6rem;justify-content:space-between}.gf-answers button{flex:1;min-width:0;min-height:52px;border:2px solid var(--game-line);border-radius:13px;background:white;color:var(--game-ink);font-size:1.5rem;font-weight:900}.gf-answers button:hover:not([aria-disabled=true]){border-color:var(--game-green);background:#edf5ed}.gf-answers button.is-try{border-style:dashed;border-color:#966b12;background:#fff5d7}.gf-answers button.is-correct{border-color:#236a45;background:#e1f3dc;box-shadow:inset 0 -4px 0 #236a4530}.gf-memory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:1.2rem 0 .8rem}.gf-memory-card{position:relative;min-height:103px;border:2px solid #afc9ba;border-radius:15px;background:#e5efe1;color:#244d40;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.5rem;transition:background .15s,border-color .15s}.gf-memory-card:hover:not([aria-disabled=true]){background:#d6e9cf;border-color:#357554}.gf-memory-card__back{font-size:2.25rem;font-weight:900}.gf-memory-card__shape{display:block;width:48px;height:48px}.gf-memory-card__shape svg{width:100%;height:100%;stroke:#254f43;stroke-width:2.5;fill:#ffd25a}.gf-memory-card__shape[data-shape=circle] svg{fill:#a6d8e4}.gf-memory-card__shape[data-shape=triangle] svg{fill:#f7bda3}.gf-memory-card__label{font-size:.72rem;font-weight:800;line-height:1.3;margin-top:.3rem;text-align:center}.gf-memory-card.is-open{background:#fffef9;border-color:#7c9c88}.gf-memory-card.is-matched{background:#e2f2d9;border-color:#417248}.gf-memory-card__check{position:absolute;right:6px;top:3px;font-size:.85rem;font-weight:900;color:#225637}.gf-memory__progress{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:var(--game-muted);font-size:.86rem}.gf-game--move{grid-column:1/-1;display:grid;grid-template-columns:1.1fr 1.3fr auto;align-items:center;gap:1.5rem;background:#fff7dd}.gf-game--move h3{margin-bottom:.6rem}.gf-game--move .gf-game__note{font-size:.82rem;margin-bottom:0}.gf-move-result{display:flex;align-items:center;gap:1rem;min-height:130px}.gf-move-result__art{width:82px;flex:0 0 82px}.gf-move-result__art svg{width:100%;height:112px;fill:none;stroke:var(--game-ink);stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}.gf-move-result h4{font-size:1.4rem;margin:0 0 .5rem;line-height:1.35}.gf-move-result p{margin:0;color:var(--game-muted);font-size:.95rem}.gf-games[lang=am]{line-height:1.6}.gf-games[lang=am] .gf-games__eyebrow{letter-spacing:0}.gf-games[lang=am] .gf-memory-card__label{font-size:.85rem}.gf-games[lang=am] .gf-game__feedback{min-height:4em}
@media(max-width:820px){.gf-game--move{grid-template-columns:1fr 1fr}.gf-game--move .gf-game__reset{grid-column:1/-1;justify-self:start}.gf-star{flex-basis:52px}.gf-games__grid{gap:1rem}.gf-memory{gap:.45rem}}
@media(max-width:620px){.gf-games__grid{grid-template-columns:1fr}.gf-game--move{grid-template-columns:1fr}.gf-game--move .gf-game__reset{grid-column:auto}.gf-stars{gap:.45rem}.gf-star{flex-basis:64px;max-width:16%;min-width:44px}.gf-game--move{gap:.5rem}.gf-game{border-radius:20px}.gf-memory-card{min-height:110px}.gf-memory-card__label{font-size:.83rem}.gf-games .gf-game__feedback{min-height:0}.gf-move-result{min-height:135px}}
@media(prefers-reduced-motion:reduce){.gf-games *{transition:none!important;animation:none!important}.gf-star:hover svg{transform:none}}
