.gh-root{--gh-ink:#264557;--gh-green:#347f6d;--gh-purple:#735ba4;color:var(--gh-ink);border:1px solid #d6e4e0;border-radius:24px;padding:clamp(14px,3vw,24px);background:linear-gradient(135deg,#edf8f1,#f3effa);text-align:center}
.gh-root [hidden]{display:none!important}.gh-root button{touch-action:manipulation}.gh-root :focus-visible{outline:3px solid #a37422;outline-offset:3px}
.gh-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:.875rem;line-height:1.5;color:#546a71}.gh-meta strong{color:var(--gh-purple)}
.gh-demo{position:relative;max-width:210px;margin:20px auto 14px;display:grid;grid-template-columns:repeat(3,1fr);gap:7px;transform:rotate(-4deg)}.gh-demo>span{background:#fff;border:1px solid #d2e5db;border-radius:14px;padding:7px;box-shadow:0 3px 0 #cbdcd370}.gh-demo svg{display:block;width:100%;height:auto}.gh-demo>span:nth-child(6){outline:4px solid #b58f39;outline-offset:3px;background:#fff4c9;transform:rotate(9deg)}
.gh-ready h3,.gh-result h3{font-size:clamp(1.5rem,4vw,2.1rem);line-height:1.2;margin:15px 0 8px;color:var(--gh-ink)}.gh-ready>p{font-size:1rem;line-height:1.55;margin:8px auto 16px;max-width:370px}.gh-chips{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:16px 0}.gh-chips span{padding:7px 10px;border-radius:30px;background:#fff;border:1px solid #dde7e1;font-weight:700;font-size:.875rem}
.gh-start,.gh-again,.gh-share{min-height:48px!important;width:100%;margin:7px 0 0!important;font:inherit!important;font-weight:750!important;border-radius:13px!important}.gh-start,.gh-share{background:#347f6d!important;color:white!important;border:0!important}
.gh-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.gh-stats div{background:#fff;border-radius:13px;padding:7px 5px;border:1px solid #d5e3dc}.gh-stats span{display:block;font-size:.875rem;color:#526974}.gh-stats strong{display:block;font-size:1.5rem;font-variant-numeric:tabular-nums;line-height:1.3}.gh-root[data-urgent=true] [data-gh-time]{color:#ac433d}
.gh-track{height:6px;overflow:hidden;border-radius:8px;background:#d4e4dc;margin:10px 0}.gh-track i{display:block;height:100%;width:100%;background:#438772}.gh-root[data-urgent=true] .gh-track i{background:#c65c4e}
.gh-prompt{font-size:1rem;line-height:1.4;margin:10px 0;font-weight:750}.gh-board{--side:2;display:grid;grid-template-columns:repeat(var(--side),minmax(0,1fr));gap:clamp(5px,1.3vw,10px);width:min(100%,440px,calc(100svh - 300px));min-width:min(100%,270px);margin:0 auto;direction:ltr}
.gh-cell{aspect-ratio:1;min-width:0;min-height:44px;padding:clamp(4px,1vw,10px);display:flex;align-items:center;justify-content:center;background:#fff;border:2px solid #d1dfdc;border-radius:clamp(9px,2vw,17px);box-shadow:0 3px 0 #cad9d480;cursor:pointer;color:var(--gh-ink);-webkit-tap-highlight-color:transparent}.gh-cell svg{display:block;width:100%;height:100%;pointer-events:none;max-width:110px;max-height:110px}.gh-cell:active:enabled{background:#e5f3ed}.gh-cell:disabled{opacity:1;cursor:default}.gh-cell[data-state=wrong]{border-color:#c75d52;background:#fae7e2}.gh-cell[data-state=found],.gh-cell[data-state=answer]{border-color:#38836b;background:#d6eee1;box-shadow:inset 0 0 0 2px #38836b}
.gh-feedback{min-height:1.8em;margin:10px 0 0;font-size:.95rem;font-weight:750;color:#42645d;line-height:1.5}.gh-root[data-feedback=wrong] .gh-feedback{color:#ad483e}.gh-result{padding-top:8px}.gh-score{font-size:clamp(3.5rem,13vw,5rem);font-weight:900;line-height:1.1;color:var(--gh-green);letter-spacing:-.04em;margin:12px 0}.gh-award{font-size:1rem;font-weight:750;color:var(--gh-purple);margin:8px 0 18px}.gh-result-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.gh-result-stats>div{border-radius:13px;background:#ffffffd9;padding:10px 6px;border:1px solid #d9e4dd}.gh-result-stats span{display:block;font-size:.875rem;line-height:1.4;color:#526974}.gh-result-stats strong{display:block;font-size:1.5rem;line-height:1.4;font-variant-numeric:tabular-nums}.gh-trail{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:14px auto;max-width:360px}.gh-trail i{width:13px;height:13px;border-radius:4px;background:#418873}.gh-result>p{font-size:.95rem;line-height:1.5;margin:10px 0}
.gh-manual{width:100%;min-height:95px;resize:vertical;font:inherit;font-size:.875rem;border:1px solid #aac5bc;border-radius:10px;padding:10px;margin-top:10px;box-sizing:border-box}.gh-share-status{font-size:.875rem;line-height:1.5;min-height:1.5em;margin:8px 0;color:#42645d}.gh-help{margin-top:15px;text-align:start;font-size:.875rem;line-height:1.6;color:#506872}.gh-help summary{cursor:pointer;min-height:30px}.gh-help p{margin:7px 0}
@media(max-width:480px){.gh-root{padding:13px}.gh-demo{max-width:165px;margin-top:15px}.gh-meta{font-size:.875rem}.gh-board{width:min(100%,calc(100svh - 290px));min-width:min(100%,250px);gap:5px}.gh-cell{padding:4px;border-radius:10px}.gh-stats{margin-top:10px}.gh-stats strong{font-size:1.35rem}.gh-prompt{margin:8px 0}.gh-chips{gap:5px}.gh-chips span{padding:6px 8px}}
html[data-card-motion=off] .gh-demo{transform:none}html[data-card-motion=off] .gh-demo>span:nth-child(6){transform:none}@media(prefers-reduced-motion:reduce){.gh-demo,.gh-demo>span:nth-child(6){transform:none}}
