/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@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}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.table{display:table}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}:root{--cream:#fffaf0;--paper:#fffdf7;--ink:#202b3a;--muted:#6e716f;--red:#e34b32;--red-dark:#bf3523;--yellow:#f8b932;--line:#ead8bd;--soft-line:#f1e6d3}*{box-sizing:border-box}html,body{min-height:100%;margin:0}button{font:inherit}body{color:var(--ink);background:#f7f0e5;font-family:Inter,ui-rounded,Avenir Next,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.site-shell{background:radial-gradient(circle at 15% 10%,#f8b9323d,#0000 28%),radial-gradient(circle at 85% 85%,#e34b3224,#0000 30%),#f7f0e5;place-items:center;min-height:100svh;padding:24px 16px 46px;display:grid;position:relative;overflow:hidden}.ambient{filter:blur(2px);opacity:.42;pointer-events:none;border-radius:50%;position:fixed}.ambient-one{background:#ffd363;width:190px;height:190px;top:25%;left:-90px}.ambient-two{background:#f18873;width:150px;height:150px;bottom:16%;right:-75px}.phone-card{background:var(--paper);border:2px solid var(--line);z-index:1;border-radius:34px;width:min(100%,430px);min-height:min(820px,100svh - 58px);position:relative;overflow:hidden;box-shadow:0 28px 80px #52371929,inset 0 0 40px #fff4df99}.lesson-head{align-items:center;gap:13px;height:74px;padding:24px 25px 10px;display:flex}.icon-btn{color:#7c766e;cursor:pointer;background:0 0;border:0;width:30px;height:30px;font-size:28px;line-height:1}.progress-track{background:#efe4d3;border-radius:20px;flex:1;height:9px;overflow:hidden}.progress-track span{border-radius:inherit;background:linear-gradient(90deg, var(--red), #ef765b);height:100%;transition:width .4s;display:block}.step-count{letter-spacing:.02em;min-width:34px;font-size:13px;font-weight:800}.screen{flex-direction:column;align-items:center;min-height:calc(min(820px,100svh - 58px) - 74px);padding:26px 30px 32px;animation:.35s both enter;display:flex}.welcome-screen{min-height:min(820px,100svh - 58px);padding-top:31px}@keyframes enter{0%{opacity:0;transform:translateY(8px)}}.brand{letter-spacing:.14em;align-self:flex-start;align-items:center;gap:9px;font-size:12px;font-weight:900;display:flex}.brand span{background:var(--ink);color:#fff;letter-spacing:0;border-radius:9px;place-items:center;width:31px;height:31px;font-size:18px;display:grid}.lesson-pill{border:1px solid var(--line);color:#8a6f53;letter-spacing:.12em;border-radius:30px;margin-top:34px;padding:7px 13px;font-size:11px;font-weight:850}.welcome-art{justify-content:center;align-items:center;gap:14px;margin:42px 0 34px;display:flex;transform:rotate(-2deg)}.mini-tile,.piece{border:0;border-radius:25px;place-items:center;width:100px;height:100px;font-family:Noto Sans CJK SC,PingFang SC,sans-serif;font-size:54px;font-weight:700;display:grid}.red{color:#fff;background:linear-gradient(145deg,#ed543a,#d9432d);box-shadow:0 7px #ba3422,0 12px 21px #c5311d40}.yellow{color:var(--ink);background:linear-gradient(145deg,#ffc947,#f2ad23);box-shadow:0 7px #cf8f16,0 12px 21px #ca891038}.plus{color:#af9270;font-size:28px;font-weight:900}.eyebrow{color:var(--red);letter-spacing:.16em;text-align:center;margin:0 0 10px;font-size:11px;font-weight:900}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.04em;text-align:center;margin-bottom:13px;font-family:Georgia,Times New Roman,serif;font-size:clamp(48px,14vw,60px);line-height:.98}h1 em{color:var(--red);letter-spacing:-.03em;font-family:Inter,system-ui,sans-serif;font-style:normal;font-weight:850}h2{letter-spacing:-.025em;text-align:center;margin-bottom:10px;font-family:Georgia,Times New Roman,serif;font-size:34px;line-height:1.06}h2 span{color:var(--red)}.intro,.subcopy{max-width:325px;color:var(--muted);text-align:center;margin-bottom:25px;font-size:15px;line-height:1.55}.welcome-screen .primary{margin-top:auto}.primary{color:#fff;background:linear-gradient(180deg, #ed533a, var(--red));width:100%;min-height:58px;box-shadow:0 5px 0 var(--red-dark), 0 10px 24px #c7311e30;cursor:pointer;border:0;border-radius:18px;margin-top:auto;font-size:17px;font-weight:850;transition:transform .15s,filter .15s}.primary span{margin-left:8px}.primary:active:not(:disabled){box-shadow:0 2px 0 var(--red-dark);transform:translateY(3px)}.primary:disabled{cursor:not-allowed;background:#ded4c5;box-shadow:0 4px #c6bbab}.microcopy{color:#9e9182;margin:14px 0 0;font-size:11px}.meaning-grid{grid-template-columns:1fr 1fr;gap:15px;width:100%;margin:25px 0;display:grid}.meaning-card{cursor:pointer;border:0;border-radius:25px;flex-direction:column;justify-content:center;align-items:center;min-height:226px;padding:19px 10px;transition:transform .25s;display:flex}.meaning-card:active{transform:scale(.97)}.red-card{color:#fff;background:#e84d34;box-shadow:0 6px #bd3826}.yellow-card{color:var(--ink);background:#f9bc38;box-shadow:0 6px #d99b1d}.meaning-card .character{font-family:PingFang SC,sans-serif;font-size:82px;font-weight:650;line-height:1.05}.meaning-card .meaning{letter-spacing:.05em;opacity:0;margin-top:13px;font-size:13px;font-weight:900;transition:all .25s;transform:translateY(4px)}.meaning-card.flipped .meaning{opacity:1;transform:none}.meaning-card small{text-transform:uppercase;letter-spacing:.1em;opacity:.68;margin-top:13px;font-size:9px;font-weight:900}.idea-box{border:1px solid var(--soft-line);background:#fff8e8;border-radius:17px;align-items:center;gap:12px;width:100%;margin-bottom:22px;padding:14px 15px;display:flex}.idea-box p{color:#716350;margin:0;font-size:12px;line-height:1.45}.build-screen{padding-top:16px}.drop-zone{cursor:pointer;background:#fffcf5;border:2px dashed #d4a35e;border-radius:27px;justify-content:center;align-items:center;gap:2px;width:100%;height:226px;margin:20px 0 23px;display:flex;position:relative}.drop-zone.complete{background:#fff7df;border-style:solid;box-shadow:inset 0 0 0 5px #fff}.drop-hint{color:#b49165;letter-spacing:.15em;font-size:11px;font-weight:900}.built-part{font-family:PingFang SC,sans-serif;font-size:104px;font-weight:700;line-height:1;animation:.3s cubic-bezier(.2,.9,.3,1.4) both pop}.red-ink{color:var(--red);margin-right:-16px}.yellow-ink{color:var(--yellow)}@keyframes pop{0%{opacity:0;transform:scale(.2)rotate(-12deg)}}.spark{color:#e7a31b;animation:1s infinite alternate twinkle;position:absolute}.spark-a{font-size:20px;top:28px;left:24px}.spark-b{font-size:28px;animation-delay:.3s;bottom:29px;right:28px}@keyframes twinkle{to{transform:rotate(25deg)scale(1.25)}}.pieces{justify-content:center;gap:20px;display:flex}.piece{cursor:grab;width:82px;height:82px;font-size:47px;transition:transform .2s,opacity .2s}.piece.selected{outline:4px solid #fff;transform:translateY(-6px)}.piece.used{opacity:.2;filter:grayscale();cursor:default;transform:scale(.85)}.tap-help{color:#9b8d7b;margin:17px 0;font-size:11px}.reveal-screen{padding-top:14px}.burst{width:250px;height:15px;margin-top:9px;position:relative}.burst i{background:var(--yellow);border-radius:50%;width:8px;height:8px;position:absolute}.burst i:first-child{left:10px}.burst i:nth-child(2){background:var(--red);top:8px;left:55px}.burst i:nth-child(3){left:105px}.burst i:nth-child(4){background:var(--red);top:8px;right:105px}.burst i:nth-child(5){right:55px}.burst i:nth-child(6){background:var(--red);top:8px;right:10px}.result-character{background:#fffaf0;border:2px dashed #d9a45d;border-radius:32px;place-items:center;width:210px;height:210px;margin:8px 0 24px;font-family:PingFang SC,sans-serif;font-size:144px;font-weight:650;display:grid;box-shadow:0 16px 35px #7d552117}.pronunciation{color:#857967;margin:-3px 0 17px;font-size:13px}.formula{background:#f7f0e5;border-radius:15px;justify-content:center;gap:8px;width:100%;padding:13px 10px;font-size:12px;font-weight:850;display:flex}.red-text{color:var(--red)!important}.yellow-text{color:#d58d00}.story{color:#6e665b;text-align:center;margin:19px 10px 20px;font-family:Georgia,serif;font-size:14px;line-height:1.55}.trace-screen{padding-top:18px}.trace-pad{aspect-ratio:1;background-color:#fffaf1;background-image:linear-gradient(#eadbc7 1px,#0000 1px),linear-gradient(90deg,#eadbc7 1px,#0000 1px);background-size:50% 50%;border:2px dashed #d9a45d;border-radius:28px;width:min(100%,300px);margin:9px auto 12px;position:relative;overflow:hidden}.trace-guide{color:#eadfce;-webkit-user-select:none;user-select:none;place-items:center;font-family:PingFang SC,sans-serif;font-size:204px;font-weight:600;line-height:1;display:grid;position:absolute;inset:0}.trace-pad canvas{touch-action:none;cursor:crosshair;width:100%;height:100%;position:absolute;inset:0}.trace-complete{border-style:solid;border-color:var(--yellow)}.trace-badge{z-index:3;background:var(--ink);color:#fff;border-radius:20px;padding:7px 11px;font-size:11px;font-weight:800;position:absolute;bottom:12px;right:12px}.clear-btn,.text-btn{color:#8c7b68;cursor:pointer;background:0 0;border:0;margin-bottom:16px;font-size:12px;font-weight:800}.context-screen{padding-top:18px}.word-card{background:#fff4d8;border:2px solid #f4d18b;border-radius:26px;flex-direction:column;justify-content:center;align-items:center;width:100%;height:170px;margin:21px 0 12px;display:flex;box-shadow:0 8px #edc36d}.word-card strong{font-family:PingFang SC,sans-serif;font-size:70px;line-height:1.1}.word-card span{color:#8b7044;margin-top:8px;font-size:13px;font-weight:750}.clue{color:#867a6b;margin:6px 0 20px;font-size:12px}.clue b:first-child{color:var(--red)}.answers{gap:10px;width:100%;display:grid}.answers button{border:1.5px solid var(--line);height:51px;color:var(--ink);cursor:pointer;background:#fff;border-radius:15px;justify-content:space-between;align-items:center;padding:0 17px;font-weight:800;display:flex}.answers button.correct{color:#187f52;background:#e8f7ef;border-color:#39a873}.answers button.wrong{color:#bb3d2d;background:#fff0ed;border-color:#e87362}.answers i{font-size:19px;font-style:normal}.feedback{margin:13px 0;font-size:12px;font-weight:750}.feedback.good{color:#198457}.feedback.try{color:#bf4534}.complete-screen{padding-top:12px}.medal{background:var(--yellow);border:7px solid #ffe8a8;border-radius:50%;place-items:center;width:112px;height:112px;margin:4px 0 20px;font-family:PingFang SC,sans-serif;font-size:61px;font-weight:750;display:grid;position:relative;box-shadow:0 7px #d79717,0 15px 30px #be811230}.medal span{color:var(--red);font-family:Inter,sans-serif;font-size:27px;position:absolute;top:-4px;right:-10px}.complete-screen h2{max-width:330px;font-size:31px}.stats{border-top:1px solid var(--soft-line);border-bottom:1px solid var(--soft-line);grid-template-columns:repeat(3,1fr);width:100%;margin:9px 0 20px;padding:13px 0;display:grid}.stats div{border-right:1px solid var(--soft-line);flex-direction:column;align-items:center;display:flex}.stats div:last-child{border-right:0}.stats strong{font-size:19px}.stats span{color:#948775;margin-top:2px;font-size:9px}.unlock-card{background:#eef4df;border:1px solid #d8e3bd;border-radius:21px;width:100%;margin-bottom:19px;padding:17px 19px;position:relative;overflow:hidden}.tiny-label{color:#6c8150;letter-spacing:.14em;font-size:9px;font-weight:900}.unlock-card h3{margin:6px 0 4px;font-family:Georgia,serif;font-size:20px}.unlock-card p{color:#6d755f;width:66%;margin:0;font-size:11px;line-height:1.4}.forest{color:#587541;align-items:flex-end;gap:2px;font-family:PingFang SC,sans-serif;display:flex;position:absolute;bottom:15px;right:13px}.forest span:first-child{font-size:21px}.forest span:nth-child(2){font-size:29px}.forest span:nth-child(3){font-size:37px}.thanks{color:#237f56;background:#e9f7ef;border:1px solid #b8dfc8;border-radius:18px;place-items:center;width:100%;min-height:58px;font-size:13px;font-weight:850;display:grid}.complete-screen .text-btn{margin:17px 0 0}.desktop-note{z-index:2;color:#8b7b68;margin:0;font-size:11px;position:fixed;bottom:12px}@media (width<=480px){.site-shell{background:var(--paper);padding:0;display:block}.phone-card{width:100%;min-height:100svh;box-shadow:none;border:0;border-radius:0}.screen{min-height:calc(100svh - 74px)}.welcome-screen{min-height:100svh}.desktop-note,.ambient{display:none}}@media (height<=720px){.screen{padding-top:12px;padding-bottom:19px}.welcome-art{margin:22px 0}.lesson-pill{margin-top:17px}.meaning-grid{margin:12px 0}.meaning-card{min-height:177px}.meaning-card .character{font-size:65px}.drop-zone{height:170px;margin:8px 0 12px}.built-part{font-size:86px}.result-character{width:155px;height:155px;margin:2px 0 10px;font-size:110px}.trace-pad{width:240px}.trace-guide{font-size:168px}.word-card{height:125px;margin:8px 0}.word-card strong{font-size:55px}.medal{width:80px;height:80px;margin-bottom:10px;font-size:44px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
