.reset-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:6px 0 22px}.reset-heading h1{margin:8px 0;font-size:clamp(1.7rem,4vw,2.4rem);letter-spacing:-.035em}.reset-heading p{margin:0;line-height:1.5}.reset-link{font-size:1rem}.reset-controls{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.reset-controls label{font-size:.9rem}.reset-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px;align-items:start}.reset-list{display:grid;gap:8px}.reset-choice{background:white;border:1px solid #cbd6d1;border-left:5px solid #8ed2ff;border-radius:12px;text-align:left;padding:15px;cursor:pointer;color:#17332e;min-height:84px}.reset-choice[data-kind=Settle]{border-left-color:#ffb67d}.reset-choice[data-kind=Move]{border-left-color:#ffe477}.reset-choice[data-kind=Connect]{border-left-color:#91dda2}.reset-choice[aria-pressed=true]{border-color:#17332e;box-shadow:0 0 0 1px #17332e;background:#eef4f1}.reset-choice strong{display:block;font-size:1rem;margin-bottom:6px}.reset-choice span{font-size:.875rem;line-height:1.5;color:#51675f}.reset-empty{padding:18px;background:white;border-radius:12px}.reset-meta{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.reset-meta span{font-size:.875rem;background:#edf3f0;padding:7px 10px;border-radius:8px}.reset-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.reset-actions button,.display-actions button,.display-top button{padding:12px 18px;border:1px solid #a4b9ae;border-radius:10px;background:white;cursor:pointer;font-size:1rem;color:#17332e}.reset-actions button:first-child{background:#17332e;color:white;border-color:#17332e}.reset-script{background:#f2f6f3;border-radius:12px;padding:16px 18px;line-height:1.6;margin:16px 0}.reset-steps{padding:0;list-style:none;counter-reset:resetsteps}.reset-steps li{counter-increment:resetsteps;position:relative;padding:16px 0 16px 44px;border-bottom:1px solid #e2e9e4}.reset-steps li::before{content:counter(resetsteps);position:absolute;left:0;top:16px;background:#ffe477;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:700}.reset-steps strong{display:block}.reset-steps p{margin:6px 0}.reset-adapt{border-left:4px solid #8ed2ff;padding-left:14px}.reset-originals{margin-top:22px;border:1px solid #d3e1d7;background:#fff;padding:18px;border-radius:12px}.reset-originals summary{cursor:pointer;font-weight:700}.reset-originals p{line-height:1.5}#reset-display{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:24px;background:#f5f7f2;color:#17332e;overflow:auto}#reset-display[open]{display:flex;flex-direction:column}#reset-display::backdrop{background:#191b1d}.display-top{display:flex;justify-content:space-between;align-items:center;gap:16px;font-weight:700}.display-main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px}.reset-homer{width:110px;max-height:140px;object-fit:contain}.display-main h2{font-size:clamp(2rem,6vw,4.5rem);line-height:1.15;max-width:1000px;margin:12px 0 18px}.display-main p{font-size:1.1rem;line-height:1.5}.display-main .display-choice{font-size:clamp(1rem,2vw,1.4rem);margin:8px 0 14px}.display-main output{font-size:2.5rem;font-variant-numeric:tabular-nums;font-weight:700}.display-main #display-status{min-height:1.5em;margin:4px 0}.display-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.display-actions button:last-child{background:#17332e;color:white}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #dc6815;outline-offset:3px}@media(max-width:760px){.reset-layout{grid-template-columns:1fr}.reset-list{grid-template-columns:repeat(2,minmax(0,1fr))}.reset-heading{align-items:start;flex-direction:column}.reset-controls label{flex:1 1 150px}.reset-controls select{width:100%;min-width:0}.display-top{font-size:.9rem}#reset-display{padding:16px}.reset-homer{width:80px}.display-actions button{padding:10px 12px}.display-main{padding:12px 0}}@media(max-width:380px){.reset-list{grid-template-columns:1fr}}@media print{body.reset-print header,body.reset-print nav,body.reset-print #lessons,body.reset-print #library,body.reset-print .reset-heading,body.reset-print .reset-controls,body.reset-print .reset-list,body.reset-print .reset-originals,body.reset-print .reset-actions,body.reset-print dialog{display:none!important}body.reset-print #resets{display:block!important}body.reset-print .reset-layout{display:block}body.reset-print .card{border:0;box-shadow:none;padding:0}body.reset-print main{padding:0}body.reset-print .reset-steps li{break-inside:avoid}body.reset-print{background:white}}
.reset-list{max-height:78vh;overflow:auto;padding:2px}.reset-choice[data-kind=Solve]{border-left-color:#8ed2ff}.story-mode .display-main h2{font-size:clamp(1.25rem,2.8vw,2rem);line-height:1.55;max-width:1000px;white-space:pre-line}.story-mode .reset-homer{width:85px;max-height:100px}.story-mode .display-main{min-height:0}.story-mode .display-main .display-choice{font-size:1rem}.story-mode .display-main output{font-size:1.6rem}@media(max-width:760px){.reset-list{max-height:360px}.story-mode .display-main h2{font-size:1.25rem}.story-mode .reset-homer{width:60px;max-height:75px}}
.reset-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:20px}.reset-shortcuts button{border:1px solid #bbc9c1;border-top:4px solid #ffe477;background:#fff;text-align:left;border-radius:12px;padding:16px;color:#17332e;cursor:pointer}.reset-shortcuts button:nth-child(2){border-top-color:#ffb67d}.reset-shortcuts button:nth-child(3){border-top-color:#91dda2}.reset-shortcuts button:nth-child(4){border-top-color:#8ed2ff}.reset-shortcuts strong{display:block;font-size:1rem;line-height:1.4;margin-bottom:6px}.reset-shortcuts span{font-size:.875rem;line-height:1.5}.reset-favorites{background:#edf3f0;border-radius:12px;padding:16px;margin-bottom:20px}.reset-favorites h2{font-size:1rem;margin:0 0 6px}.reset-favorites p{margin:6px 0;line-height:1.5}#reset-favorites{display:flex;gap:8px;flex-wrap:wrap}#reset-favorites button{border:1px solid #a8bdb1;border-radius:8px;padding:10px 14px;background:white;color:#17332e;font-size:1rem;cursor:pointer}#favorite-status:empty{display:none}.display-main h2{white-space:pre-line}@media(max-width:900px){.reset-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.reset-shortcuts{grid-template-columns:1fr}}@media print{body.reset-print .reset-shortcuts,body.reset-print .reset-favorites{display:none!important}}
.bavx-shelf{background:#fff;border:1px solid #c7d3cc;border-left:5px solid #8ed2ff;border-radius:14px;padding:20px;margin-bottom:20px}.bavx-shelf h2{font-size:1.25rem;margin:8px 0 10px}.bavx-shelf p{line-height:1.55}.bavx-start{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.bavx-start button{font:inherit;padding:12px 16px;color:#17332e;border:1px solid #a9bdb1;border-radius:10px;background:#edf3f0;cursor:pointer}.bavx-shelf summary{cursor:pointer;font-weight:700;padding:10px 0}.bavx-watch{display:inline-flex;align-items:center;text-decoration:none;padding:12px 18px;border-radius:10px;background:#17332e;color:white;font-weight:700;line-height:1.3}.reset-actions button{min-height:46px}@media print{body.reset-print .bavx-shelf{display:none!important}}
.bavx-step-frame{margin:12px 0}.bavx-step-frame img{display:block;width:100%;max-width:720px;height:auto;border-radius:10px;border:1px solid #c9d3cd}.bavx-step-frame figcaption{font-size:.875rem;color:#51675f;margin-top:6px}#display-frame{margin:8px 0;width:min(850px,100%)}#display-frame img{width:100%;height:auto;max-height:45vh;object-fit:contain;border-radius:10px;background:#191b1d}#display-frame-caption{font-size:.9rem;margin-top:5px;color:#51675f}#display-detail:empty{display:none}.visual-mode .reset-homer{display:none}.visual-mode .display-main h2{font-size:clamp(1.4rem,3vw,2rem);margin:10px 0}.visual-mode .display-main #display-detail{font-size:1.1rem;max-width:850px;margin:8px 0;line-height:1.5}.visual-mode .display-main{justify-content:flex-start}.visual-mode .display-main .display-choice{font-size:.95rem;margin:10px 0}.visual-mode .display-main #display-status{font-size:1rem}.visual-mode .display-main #display-step{margin:5px 0}.visual-mode #display-source{font-size:.95rem;padding:9px 14px}#reset-display [hidden]{display:none!important}@media(max-width:760px){#display-frame img{max-height:33vh}.visual-mode .display-main #display-detail{font-size:1rem}.visual-mode .display-main h2{font-size:1.3rem}}@media print{.bavx-step-frame img{max-width:420px}.reset-steps li{break-inside:avoid}.bavx-watch{color:#17332e;background:transparent;border:1px solid #17332e}}
