/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.block{display:block}.grid{display:grid}.inline{display:inline}.table{display:table}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}}:root{--paper:#f5efe3;--surface:#fffdf7;--ink:#252d35;--muted:#625f58;--grid:#315fce1c;--blue:#315fce;--orange:#ff7847;--yellow:#ffdc63;--border:2px solid var(--ink);--shadow:5px 5px 0 var(--ink);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html{background:var(--paper);min-width:320px;min-height:100%}body{background-color:var(--paper);background-image:linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);min-width:320px;min-height:100vh;color:var(--ink);font-family:var(--font-geist-sans), "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;background-size:28px 28px;margin:0;line-height:1.6;overflow-x:hidden}button,select{border:var(--border);background:var(--surface);min-height:44px;color:var(--ink);font:inherit;border-radius:6px;font-weight:750}button{cursor:pointer;padding:.65rem 1rem;transition:transform .14s,box-shadow .14s,background-color .14s}button:hover:not(:disabled){box-shadow:3px 3px 0 var(--ink);transform:translate(-2px,-2px)}button:active:not(:disabled){box-shadow:none;transform:translate(0)}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid var(--blue);outline-offset:3px;box-shadow:0 0 0 2px var(--surface)}img,canvas{max-width:100%;display:block}h1,h2,h3,p,figure,dl,dd{margin-top:0}h1,h2,h3{letter-spacing:-.025em;line-height:1.12}h1{font-size:clamp(2.15rem,5vw,4.75rem)}h2{font-size:clamp(1.45rem,2.6vw,2.25rem)}p,li,dd,select,button{font-size:clamp(.98rem,1.2vw,1.08rem)}.course-home,.lesson-player,.completion-screen{width:min(1180px,100% - 48px);margin-inline:auto}.course-home{align-content:center;gap:1.75rem;min-height:100svh;padding-block:3rem;display:grid}.course-home__intro{max-width:820px}.course-home__brand,.lesson-player__brand{border:var(--border);background:var(--yellow);letter-spacing:.08em;border-radius:999px;width:fit-content;margin-bottom:.75rem;padding:.3rem .7rem;font-size:.86rem;font-weight:850}.course-home__intro h1{max-width:12ch;margin-bottom:.8rem}.course-home__intro>p:last-child{max-width:680px;color:var(--muted);margin-bottom:0;font-size:clamp(1.05rem,1.6vw,1.28rem)}.course-home>section{border:var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:10px;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:clamp(1.5rem,4vw,3.5rem);padding:clamp(1.4rem,3.5vw,3rem);display:grid}.course-home>section>div,.course-home figure{min-width:0}.course-home>section>div>p:first-child{color:var(--blue);letter-spacing:.07em;text-transform:uppercase;margin-bottom:.65rem;font-size:.87rem;font-weight:850}.course-home dl{gap:.8rem;margin-block:1.5rem;display:grid}.course-home dl>div{border-top:1px solid var(--ink);grid-template-columns:7rem 1fr;gap:1rem;padding-block:.8rem;display:grid}@supports (color:color-mix(in lab, red, red)){.course-home dl>div{border-top:1px solid color-mix(in srgb, var(--ink) 24%, transparent)}}.course-home dt{font-weight:850}.course-home ul{flex-wrap:wrap;gap:.3rem 1.2rem;margin:0;padding-left:1.25rem;display:flex}.course-home>section>div>button{margin-top:.65rem;margin-right:.65rem}.course-home>section>div>button:first-of-type{background:var(--blue);color:#fff;min-height:52px;box-shadow:4px 4px 0 var(--ink);padding-inline:1.5rem}.course-home>section>div>button:last-of-type:not(:first-of-type){color:var(--muted);text-underline-offset:.2em;background:0 0;border-color:#0000;text-decoration:underline}.course-home figure{align-self:center;margin-bottom:0}.course-home figure img{border:var(--border);background:#fff;border-radius:6px;width:100%;height:auto}.course-home figcaption{color:var(--muted);text-align:right;margin-top:.65rem;font-size:.9rem}.lesson-player{align-content:center;gap:1.25rem;min-height:100svh;padding-block:1.5rem;display:grid}.lesson-player__header{border:var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;gap:.8rem 1.5rem;padding:1rem 1.2rem .9rem;display:grid;position:relative}.lesson-player__identity{align-items:center;gap:1rem;min-width:0;display:flex}.lesson-player__identity p{margin-bottom:0}.lesson-player__identity>div p:first-child{font-weight:850}.lesson-player__identity>div p:last-child{color:var(--muted);font-size:.9rem}.lesson-player__brand{flex:none;margin-bottom:0}.lesson-player nav{flex-wrap:wrap;justify-content:flex-end;gap:.55rem;display:flex}.lesson-player nav button:last-child{color:var(--muted);text-underline-offset:.2em;background:0 0;border-color:#0000;text-decoration:underline}.course-progress{border:2px solid var(--ink);background:var(--paper);border-radius:999px;grid-column:1/-1;height:12px;position:relative;overflow:hidden}.course-progress span{border-right:2px solid var(--ink);background:var(--blue);height:100%;transition:width .24s;display:block}.lesson-player__status{color:var(--muted);grid-column:1/-1;margin-bottom:0;font-size:.88rem}.lesson-player__workspace{grid-template-columns:minmax(0,1.72fr) minmax(300px,.72fr);align-items:start;gap:1.25rem;min-width:0;display:grid}.lesson-player__workspace>section,.step-coach{border:var(--border);background:var(--surface);min-width:0;box-shadow:var(--shadow);border-radius:8px}.lesson-player__workspace>section{padding:.8rem;overflow:hidden}.lesson-player__workspace>section>img,.lesson-player__workspace>section>canvas{aspect-ratio:12/7;border:1px solid var(--ink);width:100%}@supports (color:color-mix(in lab, red, red)){.lesson-player__workspace>section>img,.lesson-player__workspace>section>canvas{border:1px solid color-mix(in srgb, var(--ink) 35%, transparent)}}.lesson-player__workspace>section>img,.lesson-player__workspace>section>canvas{object-fit:contain;background:#fff;border-radius:4px}.lesson-player__workspace>section>div[aria-label=动画控制]{overscroll-behavior-inline:contain;scrollbar-width:thin;gap:.55rem;max-width:100%;padding-top:.8rem;display:flex;overflow-x:auto}.lesson-player__workspace>section>div[aria-label=动画控制] button{flex:none}.lesson-player__workspace>section>div[aria-label=动画控制] button:first-child{background:var(--blue);color:#fff}.step-coach{padding:clamp(1.25rem,2.4vw,2rem);position:sticky;top:1.5rem}.step-coach>p:first-child{border:1px solid var(--ink);background:var(--yellow);letter-spacing:.07em;border-radius:999px;width:fit-content;margin-bottom:.75rem;padding:.22rem .6rem;font-size:.82rem;font-weight:850}.step-coach h1{margin-bottom:1rem;font-size:clamp(2rem,3.2vw,3.2rem)}.step-coach>p:nth-of-type(2){color:var(--muted);font-size:1.08rem}.step-coach aside{border-left:6px solid var(--orange);background:var(--orange);margin-block:1.4rem;padding:1rem}@supports (color:color-mix(in lab, red, red)){.step-coach aside{background:color-mix(in srgb, var(--orange) 10%, var(--surface))}}.step-coach aside p{margin-block:.35rem 0}.step-coach>button{background:var(--orange);width:100%;min-height:52px;box-shadow:4px 4px 0 var(--ink)}.completion-screen{gap:1.5rem;padding-block:clamp(2.5rem,6vw,5rem);display:grid}.completion-screen__hero{text-align:center;max-width:850px;margin-inline:auto}.completion-screen__eyebrow,.completion-screen__section-heading>p,.completion-panel>p:first-child,.completion-screen__review>div:first-child>p:first-child,.completion-screen__footer>div>p,.restart-dialog__eyebrow{color:var(--blue);letter-spacing:.09em;margin-bottom:.5rem;font-size:.83rem;font-weight:850}.completion-screen__hero h1{margin-bottom:1rem}.completion-screen__hero>p:last-child{max-width:650px;color:var(--muted);margin:1.1rem auto 0}.completion-screen__badge{border:var(--border);background:var(--yellow);box-shadow:3px 3px 0 var(--ink);border-radius:999px;margin-bottom:0;padding:.65rem 1.1rem;font-weight:900;display:inline-block}.completion-screen__missions,.completion-panel,.completion-screen__review,.completion-screen__footer{border:var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:9px}.completion-screen__missions{padding:clamp(1.25rem,3vw,2.25rem)}.completion-screen__section-heading{margin-bottom:1.1rem}.completion-screen__section-heading h2,.completion-panel h2,.completion-screen__review h2{margin-bottom:0}.completion-screen__mission-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.mission-card{border:var(--border);background:var(--paper);border-radius:6px;min-width:0;overflow:hidden}.mission-card img{aspect-ratio:12/7;border-bottom:var(--border);object-fit:cover;background:#fff;width:100%;height:auto}.mission-card>div{padding:1rem;position:relative}.mission-card p{color:var(--muted);margin-bottom:.25rem;font-size:.85rem;font-weight:800}.mission-card h3{max-width:calc(100% - 5.5rem);margin-bottom:0;font-size:1.18rem}.mission-card span{border:1px solid var(--ink);background:var(--yellow);border-radius:999px;padding:.18rem .5rem;font-size:.78rem;font-weight:850;position:absolute;bottom:1rem;right:1rem}.completion-screen__details{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.5rem;display:grid}.completion-panel{min-width:0;padding:clamp(1.25rem,3vw,2rem)}.completion-panel--skills ul{flex-wrap:wrap;gap:.55rem;margin:1.2rem 0 0;padding:0;list-style:none;display:flex}.completion-panel--skills li{border:1px solid var(--ink);background:var(--blue);border-radius:999px;padding:.45rem .7rem}@supports (color:color-mix(in lab, red, red)){.completion-panel--skills li{background:color-mix(in srgb, var(--blue) 10%, var(--surface))}}.completion-panel--skills li{font-weight:780}.completion-panel--challenge{border-color:var(--ink);background:linear-gradient(135deg, var(--orange), var(--surface) 62%)}@supports (color:color-mix(in lab, red, red)){.completion-panel--challenge{background:linear-gradient(135deg, color-mix(in srgb, var(--orange) 14%, var(--surface)), var(--surface) 62%)}}.completion-panel--challenge>p:last-child{color:var(--muted);margin:1.1rem 0 0}.completion-screen__review{grid-template-columns:minmax(0,1fr) minmax(310px,.75fr);align-items:end;gap:1.5rem;padding:clamp(1.25rem,3vw,2rem);display:grid}.completion-screen__review>div:first-child>p:last-child{color:var(--muted);margin:.8rem 0 0}.completion-screen__review-controls{grid-template-columns:minmax(0,1fr) auto;gap:.55rem;display:grid}.completion-screen__review-controls label{grid-column:1/-1;font-size:.9rem;font-weight:800}.completion-screen__review-controls select{width:100%;min-width:0;padding-inline:.75rem 2rem}.completion-screen__review-controls button{background:var(--blue);color:#fff}.completion-screen__footer{justify-content:space-between;align-items:center;gap:1.5rem;padding:1.25rem 1.5rem;display:flex}.completion-screen__footer p{margin-bottom:.25rem}.completion-screen__footer strong{font-size:clamp(1.05rem,1.8vw,1.3rem)}.completion-screen__restart{color:var(--muted);text-underline-offset:.2em;background:0 0;border-color:#0000;flex:none;text-decoration:underline}.restart-dialog{border:var(--border);background:var(--surface);width:min(480px,100% - 32px);color:var(--ink);box-shadow:8px 8px 0 var(--ink);border-radius:8px;margin:auto;padding:clamp(1.25rem,4vw,2rem)}.restart-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#252d35a6}.restart-dialog h2{margin-bottom:.8rem}.restart-dialog>p:not(:first-child){color:var(--muted)}.restart-dialog>div{justify-content:flex-end;gap:.7rem;margin-top:1.5rem;display:flex}.restart-dialog>div button:last-child{background:var(--orange)}@media (width<=900px){.course-home{align-content:start}.course-home>section,.lesson-player__workspace{grid-template-columns:minmax(0,1fr)}.course-home>section{gap:2rem}.course-home figure{grid-row:1}.step-coach{position:static}.completion-screen__review{grid-template-columns:minmax(0,1fr);align-items:start}}@media (width<=640px){body{background-size:22px 22px}.course-home,.lesson-player,.completion-screen{width:min(100% - 24px,1180px)}.course-home{gap:1.2rem;padding-block:1.25rem 2rem}.course-home>section{box-shadow:4px 4px 0 var(--ink);grid-template-columns:minmax(0,1fr);padding:1rem}.course-home dl>div{grid-template-columns:minmax(0,1fr);gap:.3rem}.course-home>section>div>button{width:100%;margin-right:0}.lesson-player{align-content:start;min-height:auto;padding-block:.75rem 1.5rem}.lesson-player__header{box-shadow:4px 4px 0 var(--ink);grid-template-columns:minmax(0,1fr);gap:.7rem;padding:.8rem}.lesson-player__identity{align-items:flex-start;gap:.55rem}.lesson-player__brand{border-radius:5px;max-width:7.4rem;line-height:1.25}.lesson-player nav{justify-content:flex-start}.lesson-player nav button{flex:auto}.course-progress,.lesson-player__status{grid-column:1}.lesson-player__workspace{gap:.85rem}.lesson-player__workspace>section,.step-coach{box-shadow:4px 4px 0 var(--ink)}.lesson-player__workspace>section{padding:.5rem}.lesson-player__workspace>section>div[aria-label=动画控制]{margin-inline:-.5rem;padding:.65rem .5rem .1rem}.step-coach{padding:1.1rem}.step-coach>button{width:100%;min-height:54px}.completion-screen{gap:1rem;padding-block:2rem}.completion-screen__mission-grid,.completion-screen__details{grid-template-columns:minmax(0,1fr)}.completion-screen__missions,.completion-panel,.completion-screen__review,.completion-screen__footer{box-shadow:4px 4px 0 var(--ink)}.completion-screen__review-controls{grid-template-columns:minmax(0,1fr)}.completion-screen__review-controls label{grid-column:1}.completion-screen__review-controls button{min-height:52px}.completion-screen__footer{flex-direction:column;align-items:stretch}.completion-screen__restart{width:100%}.restart-dialog>div{flex-direction:column-reverse}.restart-dialog>div button{width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}
