.rust-game-stage{--game-paper:#fcfaf6;--game-line:#ded7ce;--game-plum:#28212e;--game-rust:#ad4028;--game-green:#405626;--game-mono:var(--mono,"IBM Plex Mono", ui-monospace, monospace);color:var(--ink,#201d1a);min-inline-size:0}.rust-game-stage :is(button,[tabindex="0"]):focus-visible{outline:2px solid var(--game-rust);outline-offset:3px}.rust-game-stage label:has(:focus-visible){outline:2px solid var(--game-rust);outline-offset:3px}.rust-game-status{font-family:var(--game-mono);grid-template-columns:1fr auto;gap:.55em 1em;margin-block-end:1.25em;font-size:.86em;font-weight:600;display:grid}.rust-game-status strong{color:var(--game-rust)}.rust-game-progress{grid-column:1/-1;gap:.38em;display:flex}.rust-game-progress span{background:var(--game-line);border-radius:99px;flex:1;height:.24em}.rust-game-progress [data-state=done]{background:#596e3e}.rust-game-progress [data-state=current]{background:var(--game-rust)}.rust-game-round,.rust-game-complete{border:1px solid var(--game-line);background:var(--game-paper);border-radius:1.1rem;grid-template-columns:minmax(0,1fr);gap:1.2em;min-inline-size:0;padding:clamp(1rem,3vw,2rem);display:grid}.rust-game-round h2,.rust-game-complete h2{letter-spacing:-.027em;text-wrap:balance;max-inline-size:32ch;margin:0;font-size:1.5em;line-height:1.23}.rust-game-round h2:focus,.rust-game-complete h2:focus{outline:none}.rust-game-code{background:var(--game-plum);color:#f8edf7;min-inline-size:0;font-family:var(--game-mono);border-radius:.75rem}.rust-game-code-heading{color:#e1d3e4;border-block-end:1px solid #473d4d;align-items:center;gap:.95em;padding:.8em 1.05em;font-size:.75em;font-weight:600;display:flex}.rust-game-window-dots{gap:.34em;display:flex}.rust-game-window-dots i{background:#aa8fb3;border-radius:50%;width:.49em;height:.49em}.rust-game-window-dots i:first-child{background:#db876f}.rust-game-window-dots i:last-child{background:#899a74}.rust-game-code-scroll{border-radius:0 0 .75rem .75rem;overflow-x:auto}.rust-game-code-scroll pre{font:inherit;margin:0;padding:.85em 1em .95em;font-size:.9em;line-height:1.55}.rust-game-stage :is(code,pre){font-family:var(--game-mono)}.rust-game-code-line{display:inline-block}.rust-game-line-number{color:#b2a3bb;-webkit-user-select:none;user-select:none;width:2.05em;display:inline-block}.rust-game-token-keyword{color:#d0aefe}.rust-game-token-number{color:#f6b894}.rust-game-token-string{color:#d6e3a6}.rust-game-borrow-layout{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:.85em;display:grid}.rust-game-memory{background:#f2edf5;border:1px solid #dad5e0;border-radius:.75rem;align-content:start;gap:.7em;min-inline-size:0;padding:.85em;display:grid}.rust-game-memory h3{color:#4d3c59;font-family:var(--game-mono);margin:0;font-size:.76em}.rust-game-memory dl{gap:.5em;margin:0;display:grid}.rust-game-memory dl>div{background:#fcfaff;border-radius:.45rem;padding:.55em .7em}.rust-game-memory dt{font-size:.7em;font-weight:650}.rust-game-memory dd{font-family:var(--game-mono);overflow-wrap:anywhere;margin:.2em 0 0;font-size:.83em}.rust-game-result{border-block-start:1px solid #dad5e0;gap:.18em;padding-block-start:.6em;display:grid}.rust-game-result span{color:#4d3c59;font-size:.74em;font-weight:650}.rust-game-result :is(code,pre){overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:.85em}.rust-game-choices{border:0;min-inline-size:0;margin:0;padding:0}.rust-game-choices legend{margin-block-end:.55em;padding:0;font-size:.87em;font-weight:700}.rust-game-choice-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,11em),1fr));gap:.55em;display:grid}.rust-game-choice{border:1px solid var(--game-line);cursor:pointer;background:#fffdfa;border-radius:.65rem;align-items:flex-start;gap:.55em;min-block-size:3em;min-inline-size:0;padding:.7em;line-height:1.4;display:flex;position:relative}.rust-game-choice:has(input:disabled){cursor:default}:is(.rust-game-choice:hover:not(:has(input:disabled)),.rust-game-choice[data-selected=true]){border-color:var(--game-rust);background:#fff2ea}.rust-game-choice[data-outcome=correct]{background:#edf1e4;border-color:#748255}.rust-game-choice strong{font-size:.85em;display:block}.rust-game-choice code{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.82em;display:block}.rust-game-choice strong+code{margin-block-start:.18em}.rust-game-radio{border:1px solid #80766f;border-radius:50%;flex:none;block-size:.9em;inline-size:.9em;margin-block-start:.09em}.rust-game-choice[data-selected=true] .rust-game-radio{border:.27em solid var(--game-rust)}.rust-game-choice[data-outcome=correct] .rust-game-radio{border-color:var(--game-green)}.rust-game-choice input,.rust-game-sr-only,.rust-game-feedback:empty{clip-path:inset(50%);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.rust-game-builder>p{margin:0 0 .55em;font-size:.87em}.rust-game-builder>.rust-game-code{margin-block-end:.65em}.rust-game-scaffold{background:var(--game-plum);color:#f8edf7;border-radius:.75rem;padding:.8em 1em}.rust-game-scaffold>code{font-size:.9em}.rust-game-scaffold ol{gap:.4em;margin:.45em 0;padding:0;list-style:none;display:grid}.rust-game-scaffold li{background:#332a3a;border:1px solid #52455b;border-radius:.5rem;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.45em;padding:.4em .5em .4em .65em;display:grid}.rust-game-scaffold li>code{overflow-wrap:anywhere;font-size:.85em}.rust-game-order-actions{gap:.25em;display:flex}.rust-game-order-actions button{color:#f4eafb;min-block-size:2.65em;min-inline-size:2.65em;font:inherit;cursor:pointer;background:#463952;border:1px solid #746582;border-radius:.4rem;padding:.25em;font-weight:700}.rust-game-order-actions button:hover:not([aria-disabled=true]){background:#635171}.rust-game-order-actions button[aria-disabled=true]{opacity:.52;cursor:default}.rust-game-order-actions button:focus-visible{outline-offset:2px;outline-color:#d0aefe}.rust-game-hint{background:#faf0db;border-inline-start:3px solid #bd8736;margin:0;padding:.65em .85em;font-size:.9em}.rust-game-hint[hidden]{display:none}.rust-game-feedback-card{color:#733221;background:#f7e9e1;border-radius:.58rem;gap:.22em;padding:.7em .9em;display:grid}.rust-game-feedback-card[data-outcome=correct]{color:var(--game-green);background:#edf1e4}.rust-game-feedback-card :is(p,strong){margin:0;font-size:.9em}.rust-game-actions{flex-wrap:wrap;gap:.55em;display:flex}.rust-game-stage .button{gap:.55em;min-block-size:2.75em;font-size:.89em}.rust-game-stage .rust-game-primary:disabled{opacity:.52;cursor:default}.rust-game-complete p{margin:0}.rust-game-complete .button{justify-self:start}@media (max-width:700px){.rust-game-borrow-layout{grid-template-columns:minmax(0,1fr)}}@media (max-width:450px){.rust-game-order-actions{flex-direction:column}.rust-game-round h2,.rust-game-complete h2{text-wrap:wrap}}
