.game-mount.gm-ready{height:auto;color:inherit;background:0 0;display:block}.gm-root{--gm-fg:#1c1917;--gm-muted:#57534e;--gm-line:#d6d3d1;--gm-surface:#fff;--gm-accent:#065f46;--gm-accent-fg:#fff;color:var(--gm-fg);font-size:1rem;line-height:1.45}.gm-board{--gm-ar:1.34;width:100%;max-width:max(320px, calc((100svh - 9rem) * var(--gm-ar)));margin-inline:auto}.gm-sr{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.gm-controls{flex-wrap:wrap;align-items:flex-end;gap:.5rem 1rem;margin-top:.75rem;display:flex}.gm-field{flex-direction:column;gap:.2rem;display:flex}.gm-actions{flex-flow:wrap;gap:.5rem}.gm-label{color:var(--gm-muted);font-size:.8rem}.gm-select{appearance:none;font:inherit;background-color:var(--gm-surface);min-height:2.75rem;color:var(--gm-fg);cursor:pointer;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2357534e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right .8rem center;background-repeat:no-repeat;background-size:.75rem;border:1px solid #78716c;border-radius:.375rem;padding:.35rem 2.1rem .35rem .85rem;font-size:max(1rem,16px);line-height:1.25}.gm-select:hover:not(:disabled){background-color:#f5f5f4}.gm-select:disabled{opacity:.5;cursor:not-allowed}.gm-select:focus-visible{outline-offset:2px;outline:3px solid #1d4ed8}.gm-btn{font:inherit;background:var(--gm-surface);min-width:2.75rem;min-height:2.75rem;color:var(--gm-fg);cursor:pointer;border:1px solid #78716c;border-radius:.375rem;padding:.35rem .85rem}.gm-btn:hover:not(:disabled){background:#f5f5f4}.gm-btn[aria-pressed=true]{background:var(--gm-accent);border-color:var(--gm-accent);color:var(--gm-accent-fg);z-index:1;position:relative}.gm-btn[aria-pressed=true]:hover:not(:disabled){background:#064e3b}.gm-btn--primary{background:var(--gm-accent);border-color:var(--gm-accent);color:var(--gm-accent-fg);font-weight:600}.gm-btn--primary:hover:not(:disabled){background:#064e3b}.bgb-actions .gm-btn--primary{color:#fff;background:#b45309;border-color:#b45309}.bgb-actions .gm-btn--primary:hover:not(:disabled){background:#92400e;border-color:#92400e}.gm-btn:disabled{opacity:.5;cursor:not-allowed}.gm-btn:focus-visible,.gm-review-btn:focus-visible,.gm-panel:focus-visible{outline-offset:2px;outline:3px solid #1d4ed8}.gm-panels{gap:.75rem;margin-top:.75rem;display:grid}@media (width>=720px){.gm-panels{grid-template-columns:1fr 1fr;align-items:start}.gm-result,.gm-moves,.gm-panels>.gm-panel:not([hidden]):first-child{grid-column:1/-1}}.gm-panel{border:1px solid var(--gm-line);background:var(--gm-surface);border-radius:.5rem;padding:.75rem 1rem}.gm-title{margin:0 0 .4rem;font-size:1.05rem;font-weight:700}.gm-subtitle{margin:.75rem 0 .35rem;font-weight:600}.gm-panel p{margin:.35rem 0}.gm-strong{font-weight:600}.gm-note{color:var(--gm-muted);font-size:.9rem}.gm-row{flex-wrap:wrap;gap:.5rem;margin-top:.6rem;display:flex}.gm-list{margin:.35rem 0;padding-left:1.2rem;list-style:outside}.gm-movelist{font-variant-numeric:tabular-nums;max-height:12rem;margin:0;padding-left:2rem;list-style:decimal;overflow-y:auto}.gm-movelist .is-them{color:var(--gm-muted)}.gm-btn--small{min-width:0;min-height:2rem;padding:.1rem .5rem;font-size:.85rem}.gm-movelist li{margin-bottom:.5rem;display:list-item}.gm-move-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.gm-move-text{white-space:pre-line}.gm-who{font-weight:600}.gm-review{gap:.4rem;margin:0;padding:0;list-style:none;display:grid}.gm-review-btn{font:inherit;text-align:left;border:1px solid var(--gm-line);width:100%;min-height:2.75rem;color:var(--gm-fg);cursor:pointer;background:#fafaf9;border-radius:.375rem;padding:.5rem .75rem;display:block}.gm-review-btn:hover,.gm-review-btn.is-active{border-color:var(--gm-accent);background:#ecfdf5}.gm-board .gm-btn{min-width:5.5rem}.gl-list{gap:.5rem;margin:.5rem 0;padding:0;list-style:none;display:grid}.gl-item{font:inherit;color:var(--gm-fg);text-align:left;background:var(--gm-surface);cursor:pointer;border:1px solid #78716c;border-radius:.5rem;grid-template-columns:auto 1fr auto;align-items:center;gap:.25rem .75rem;width:100%;min-height:3rem;padding:.5rem .85rem;display:grid}.gl-item:hover{background:#f5f5f4}.gl-item:focus-visible,.gl-prompt:focus-visible,.gl-end:focus-visible,.gl-title:focus-visible{outline-offset:2px;outline:3px solid #1d4ed8}.gl-num{color:var(--gm-muted);white-space:nowrap;font-size:.85rem}.gl-name{font-weight:600}.gl-state{color:var(--gm-accent);white-space:nowrap;font-size:.9rem}.gl-state.is-done{font-weight:600}@media (width<=420px){.gl-item{grid-template-columns:1fr auto}.gl-num{grid-column:1/-1}}.gl-head{flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin-bottom:.6rem;display:flex}.gl-head[hidden]{display:none}.gl-where{margin:0}.gl-prompt{margin-bottom:.75rem;scroll-margin-top:8px}.gl-prompt-text,.gl-prompt-list{font-size:1.1rem;line-height:1.5}.gl-prompt-list{margin:0;padding-left:1.4rem;list-style:outside}@media (width>=640px){.gl-prompt-text,.gl-prompt-list{font-size:1.2rem}.gl-prompt .gl-feedback,.gl-prompt .gl-part-note{font-size:1.05rem}}@media (width>=1024px){.gl-prompt-text,.gl-prompt-list{font-size:1.35rem}.gl-prompt .gl-feedback,.gl-prompt .gl-part-note{font-size:1.15rem}}.gl-part-note{color:var(--gm-muted,#57534e);margin:.6rem 0 0;font-size:.95rem}.gl-prompt-list li+li{margin-top:.3rem}.gl-prompt-text+.gl-prompt-text,.gl-prompt-text+.gl-prompt-list,.gl-prompt-list+.gl-prompt-text,.gl-prompt-list+.gl-prompt-list{margin-top:.6rem}.gl-feedback{font-weight:600}.gl-prompt .gl-feedback{margin:.6rem 0 0}.gl-prompt .gl-feedback:empty{min-height:0;margin:0}.gl-feedback.is-ok{color:var(--gm-accent)}.gl-feedback.is-retry{color:#9a3412}.gl-prompt .gl-actions{margin-top:1.2rem}.gl-prompt .gl-feedback:not(:empty)+.gl-actions{margin-top:.6rem}.gl-link{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.gl-play,.gl-list-wrap>.gl-link{margin-top:.75rem}.gl-end{margin-top:.5rem}@media (width>=1280px){[data-lesson] .gl-lesson:not([hidden]){grid-template-rows:auto auto 1fr;grid-template-columns:clamp(20rem,36%,30rem) minmax(0,1fr);align-items:start;column-gap:1.25rem;display:grid}[data-lesson] .gl-lesson>.gl-head,[data-lesson] .gl-lesson>.gl-prompt{grid-column:1}[data-lesson] .gl-lesson>.gl-board{min-width:0;max-width:max(320px, calc((100svh - 13rem) * var(--gm-ar)));grid-area:1/2/span 3;margin-inline:auto}[data-lesson] .gl-end{max-width:40rem}}[data-lesson] .gl-where{display:none}.gl-end [data-game-links]{border-top:1px solid var(--gm-line);justify-content:flex-start;margin-top:.75rem;padding-top:.75rem}.game-links--quiet .game-links__a{color:#78716c;border-radius:.125rem;font-size:.8125rem;text-decoration:none}.game-links--quiet .game-links__a+.game-links__a:before{content:"·" / "";margin:0 .6rem;text-decoration:none;display:inline-block}.game-links--quiet .game-links__a:hover{text-decoration:underline}.game-links--quiet .game-links__a:focus-visible{outline:2px solid var(--gm-accent);outline-offset:2px;color:var(--gm-accent)}.gm-status{min-height:1.45em;margin:.4rem 0 0}.gm-btn.is-busy{cursor:progress}.gm-link-btn{font:inherit;color:var(--gm-accent);cursor:pointer;background:0 0;border:0;min-height:2.75rem;padding:0;text-decoration:underline}.gm-link-btn:focus-visible{outline-offset:2px;outline:3px solid #1d4ed8}.gm-dialog{border:1px solid var(--gm-line);background:var(--gm-surface);width:min(36rem,100vw - 2rem);max-height:calc(100svh - 2rem);color:var(--gm-fg);border-radius:.5rem;margin:auto;padding:1rem 1.25rem;line-height:1.5;overflow-y:auto}.gm-dialog p{margin:.6rem 0}.gm-dialog::backdrop{background:#1c191780}.gm-key{flex-wrap:wrap;gap:.25rem 1rem;margin:0 0 .5rem;padding:0;font-size:.9rem;list-style:none;display:flex}.gm-key-item{align-items:center;gap:.4rem;display:inline-flex}.gm-key-swatch{border-top:4px solid #0b5fff;border-radius:2px;width:1.75rem;height:0;display:inline-block}.gm-key-played{border-top-style:dashed;border-top-color:#f97316}.gm-review-move{white-space:pre-line;display:block}.gm-review-better{margin-top:.2rem;display:block}.gm-board{position:relative}.gm-board-card{z-index:2;border:1px solid var(--gm-line);background:var(--gm-surface);width:min(22rem,100% - 1.5rem);color:var(--gm-fg);border-radius:.5rem;padding:.75rem 1rem;position:absolute;top:.75rem;left:50%;transform:translate(-50%);box-shadow:0 6px 20px #1c191740}.gm-board-card p{margin:.35rem 0}.gm-coach-card{z-index:20;width:min(36rem,100vw - 2rem);max-height:calc(100svh - 2rem);position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%)}.gm-coach-card .gm-title{margin-top:0}.gm-coach-card.is-moved{transform:none}.gm-coach-handle{cursor:move;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:.375rem;align-items:center;gap:.5rem;margin:-.25rem -.5rem .25rem;padding:.25rem .5rem;display:flex}.gm-coach-handle:focus-visible{outline-offset:1px;outline:2px solid}.gm-coach-handle button{cursor:pointer}.gm-coach-grip{opacity:.5;background-image:radial-gradient(circle,currentColor 1.5px,#0000 1.6px);background-size:.375rem .375rem;flex:none;width:.75rem;height:1rem}.gm-coach-card.is-collapsed{padding:.4rem .75rem;top:auto;bottom:1rem;transform:translate(-50%)}.gm-coach-card.is-collapsed .gm-row{justify-content:space-between;align-items:center;margin-top:0}.gm-move-dice{font-weight:600}.gm-move-rows{margin:.2rem 0 .4rem;padding-left:1.2rem;list-style:none}.gm-move-rows li{margin:.1rem 0}.gm-board-hint{align-items:center;height:3.25rem;display:flex;position:absolute;bottom:0;right:0}.gm-hint--none{--gm-hint-bg:#e7e5e4;--gm-hint-line:#a8a29e}.gm-hint--low{--gm-hint-bg:#bbf7d0;--gm-hint-line:#16a34a}.gm-hint--mid{--gm-hint-bg:#fde68a;--gm-hint-line:#d97706}.gm-hint--high{--gm-hint-bg:#fecaca;--gm-hint-line:#dc2626}.gm-hint--none,.gm-hint--low,.gm-hint--mid,.gm-hint--high{background:var(--gm-hint-bg);border-color:var(--gm-hint-line)}.gm-btn.gm-hint--none:hover:not(:disabled),.gm-btn.gm-hint--low:hover:not(:disabled),.gm-btn.gm-hint--mid:hover:not(:disabled),.gm-btn.gm-hint--high:hover:not(:disabled){background:var(--gm-hint-bg)}.gl-board{position:relative}.gl-tryit{color:#fff;white-space:nowrap;vertical-align:.08em;background:#065f46;border-radius:999px;margin-left:.15rem;padding:.05rem .55rem;font-size:.8em;font-weight:700;line-height:1.4;display:inline-block}.gl-tryit[hidden]{display:none}@media (prefers-reduced-motion:no-preference){.gl-tryit{animation:.4s ease-out both gl-tryit-in}@keyframes gl-tryit-in{0%{opacity:0}to{opacity:1}}.gm-hint--low,.gm-hint--mid,.gm-hint--high{animation:1.8s ease-in-out infinite gm-hint-pulse}}.gm-btn[aria-pressed=true].gm-hint--low,.gm-btn[aria-pressed=true].gm-hint--mid,.gm-btn[aria-pressed=true].gm-hint--high{animation:none}.gm-btn[aria-pressed=true].gm-hint--none:hover:not(:disabled),.gm-btn[aria-pressed=true].gm-hint--low:hover:not(:disabled),.gm-btn[aria-pressed=true].gm-hint--mid:hover:not(:disabled),.gm-btn[aria-pressed=true].gm-hint--high:hover:not(:disabled){background:var(--gm-accent)}@keyframes gm-hint-pulse{0%,to{background:var(--gm-surface)}50%{background:var(--gm-hint-bg)}}@media (orientation:landscape) and (height<=500px){:root{--gm-vh:100vh}@supports (height:100dvh){:root{--gm-vh:100dvh}}[data-lesson] .gl-lesson:not([hidden]){height:calc(var(--gm-vh) - .5rem - 8px);grid-template-rows:auto minmax(0,1fr);grid-template-columns:38% minmax(0,1fr);align-items:start;column-gap:1rem;display:grid}[data-lesson] .gl-lesson>.gl-head{grid-area:1/1}[data-lesson] .gl-lesson>.gl-prompt{overscroll-behavior:contain;grid-area:2/1;align-self:stretch;min-height:0;margin-bottom:0;padding-bottom:3.5rem;overflow-y:auto}[data-lesson] .gl-lesson>.gl-prompt:focus-visible{outline-offset:-3px}[data-lesson] .gl-lesson>.gl-board{min-width:0;max-width:calc((var(--gm-vh) - 4.25rem - 8px) * var(--gm-ar));grid-area:1/2/span 2;margin-inline:auto}[data-lesson] .gl-lesson>.gl-board:not(:has(.bgb-wrap)){max-height:100%;overflow-y:auto}}
