*{box-sizing:border-box}body{background:#eef6eb;min-width:320px;min-height:100vh;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Noto Sans TC,sans-serif}button,input{font:inherit}.playground-home{background:radial-gradient(at top,#faffef,#e9f5e8 62%,#d9ecdf);place-items:center;min-height:100vh;padding:24px;display:grid}.playground-card{text-align:center;background:#fffefa;border:1px solid #e0eadc;border-radius:32px;width:min(700px,100%);padding:clamp(28px,7vw,64px);box-shadow:0 18px 60px #37604a18}.playground-icons{letter-spacing:9px;font-size:clamp(40px,9vw,74px)}.playground-eyebrow{color:#71977a;letter-spacing:3px;margin:18px 0 4px;font-size:17px;font-weight:900}.playground-card h1{color:#355f43;margin:4px 0 16px;font-size:clamp(38px,7vw,60px);line-height:1.2}.playground-card h1 span{color:#e4a44d}.playground-card>p:not(.playground-eyebrow){color:#6d7a6e;max-width:460px;margin:0 auto;font-size:19px;line-height:1.7}.playground-start{color:#fff;cursor:pointer;background:#639879;border:0;border-radius:16px;margin:28px 0 22px;padding:16px 32px;font-size:21px;font-weight:900;box-shadow:0 5px #4d7b60}.playground-start:hover{background:#54876a;transform:translateY(-1px)}.playground-facts{color:#607563;flex-wrap:wrap;justify-content:center;gap:9px;display:flex}.playground-facts span{background:#f0f6eb;border-radius:99px;padding:8px 12px;font-size:14px;font-weight:800}.tenmath-shell{--ink:#33404b;--green:#68a77b;max-width:1120px;color:var(--ink);background:linear-gradient(145deg,#fffdf5,#eef8ee);border:1px solid #e3eadf;border-radius:28px;margin:24px auto;padding:20px;box-shadow:0 12px 36px #466c4b16}.tenmath-header{text-align:center;padding:8px 0 18px;position:relative}.tenmath-back,.tenmath-actions button{color:#365845;cursor:pointer;background:#fff;border:2px solid #d5e3d5;border-radius:14px;padding:10px 14px;font-weight:800}.tenmath-back{position:absolute;top:0;left:0}.tenmath-switch{justify-content:center;gap:10px;padding-top:54px;display:flex}.tenmath-switch button{color:#405246;cursor:pointer;background:#fff;border:2px solid #cbd9cc;border-radius:16px;padding:13px 20px;font-size:17px;font-weight:900}.tenmath-switch button.active,.tenmath-answer button,.tenmath-actions .next{color:#fff;background:#619774;border-color:#619774}.tenmath-header h1{color:#38674a;margin:18px 0 4px;font-size:clamp(28px,5vw,44px)}.tenmath-header p{color:#78877b;margin:0;font-size:18px}.tenmath-equation{color:#344b3a;text-align:center;letter-spacing:3px;background:#fff;border:3px solid #d8e8d6;border-radius:24px;margin:8px auto 20px;padding:14px;font-size:clamp(42px,8vw,76px);font-weight:1000;box-shadow:0 6px #e7eee2}.tenmath-equation span{color:#e29c42;min-width:1.1em;display:inline-block}.tenmath-content{grid-template-columns:190px minmax(0,1fr);gap:18px;display:grid}.tenmath-foods,.tenmath-work{background:#fff;border:2px solid #e0e9dd;border-radius:22px;padding:20px}.tenmath-foods h2{margin:0;font-size:23px}.tenmath-foods p{color:#879087;margin:4px 0 12px}.tenmath-food{color:#3d4c40;cursor:pointer;background:#fffdf7;border:2px solid #edf0e9;border-radius:13px;align-items:center;gap:10px;width:100%;margin:8px 0;padding:9px 12px;font-size:17px;font-weight:800;display:flex}.tenmath-food span{font-size:26px}.tenmath-food:disabled{opacity:.45;cursor:not-allowed}.tenmath-baskets{grid-template-columns:1fr 1fr;gap:15px;display:grid}.tenmath-basket{cursor:pointer;background:#fbfdf8;border:3px dashed #c9d9c9;border-radius:20px;min-height:210px;padding:14px}.tenmath-basket.selected{background:#f6fff4;border-color:#6fa67b}.basket-title{color:#64766a;align-items:center;gap:8px;display:flex}.basket-title strong{color:#e49a39;font-size:28px}.basket-title small{margin-left:auto;font-size:18px;font-weight:900}.basket-select{color:#64766a;font:inherit;cursor:pointer;text-underline-offset:3px;background:0 0;border:0;padding:0;font-weight:800;-webkit-text-decoration:underline #c9d9c9;text-decoration:underline #c9d9c9}.basket-items{flex-wrap:wrap;place-content:center;gap:7px;min-height:112px;padding:12px 0;display:flex}.basket-items button{cursor:pointer;background:#fff;border:0;border-radius:50%;place-items:center;width:42px;height:42px;font-size:29px;display:grid}.basket-items button.taken{opacity:.2;text-decoration:line-through}.basket-items button:disabled{cursor:default}.basket-caption{text-align:center;color:#869087;font-size:13px}.removed-label{color:#73806f;border-top:1px dashed #e4e8df;padding-top:8px;font-size:14px}.basket-reset{color:#526d58;cursor:pointer;background:#fff;border:1px solid #cbd9cc;border-radius:10px;margin:8px auto 0;padding:6px 10px;font-size:13px;font-weight:800;display:block}.tenmath-guide{color:#795f24;text-align:center;background:#fff5d9;border-radius:14px;margin:16px 0;padding:12px;font-size:18px;font-weight:900}.tenmath-guide span{margin-right:8px}.tenmath-answer{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;display:flex}.tenmath-answer label{font-size:19px;font-weight:900}.tenmath-answer input{text-align:center;border:3px solid #d5e3d5;border-radius:14px;width:90px;padding:8px;font-size:32px;font-weight:900}.tenmath-answer button{cursor:pointer;border:0;border-radius:14px;padding:13px 20px;font-size:17px;font-weight:900}.tenmath-answer button:disabled{opacity:.55;cursor:not-allowed}.tenmath-feedback,.tenmath-hint{text-align:center;border-radius:14px;margin:14px 0 0;padding:12px;font-weight:900}.tenmath-feedback.correct{color:#39734b;background:#e5f7e8;font-size:21px}.tenmath-feedback.wrong,.tenmath-hint{color:#785d24;background:#fff5d9}.tenmath-actions{flex-wrap:wrap;justify-content:center;gap:9px;margin-top:16px;display:flex}.tenmath-actions button{font-size:15px}.tenmath-actions .next{border-color:#619774}.tenmath-footer{color:#879087;text-align:center;padding:18px 0 4px}.tenmath-voice-note{text-align:center;color:#604381;margin:8px 0 0;font-size:14px;font-weight:700}.tenmath-launch{color:#fff;cursor:pointer;background:#639879;border:0;border-radius:14px;margin-top:14px;padding:12px 18px;font-size:17px;font-weight:900}@media (width<=700px){.tenmath-shell{border-radius:20px;margin:8px;padding:12px}.tenmath-back{margin:0 auto;display:block;position:static}.tenmath-switch{padding-top:14px}.tenmath-switch button{flex:1;padding:11px 5px;font-size:15px}.tenmath-content{grid-template-columns:1fr}.tenmath-foods{grid-template-columns:repeat(3,1fr);gap:5px;padding:12px;display:grid}.tenmath-foods h2,.tenmath-foods p{grid-column:1/-1}.tenmath-food{flex-direction:column;justify-content:center;margin:0;padding:6px 3px;font-size:14px}.tenmath-baskets{grid-template-columns:1fr}.tenmath-basket{min-height:155px}.basket-items{min-height:75px}.tenmath-equation{letter-spacing:0}.tenmath-work{padding:12px}}.tenmath-shell{background:linear-gradient(145deg,#fffdf2,#eff9e9)}.tenmath-foods{background:#fffcf2;border-color:#f1e4c7}.tenmath-food{background:#fff;border-color:#f1e9d7;box-shadow:0 3px #f3eadc}.tenmath-food small{color:#659b6d;margin-left:auto;font-weight:900}.tenmath-baskets.addition{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);align-items:center;gap:10px}.tenmath-basket{background:#fff9e9;border-style:solid;border-color:#ead9ba;min-height:300px}.tenmath-basket.selected{background:#f4fff1;border-color:#75b783;box-shadow:0 0 0 4px #dcefdc}.basket-plus{color:#ae752a;background:#ffe6ad;border-radius:50%;place-items:center;width:54px;height:54px;font-size:40px;font-weight:900;display:grid;box-shadow:0 4px #f2d29e}.basket-plate{background:repeating-linear-gradient(90deg,#f3d9ac 0 20px,#edc997 20px 24px);border:8px solid #c99155;border-top:12px solid #e0b477;border-radius:20px 20px 45% 45%;min-height:150px;margin:20px 0 12px;box-shadow:inset 0 5px #bd834d,0 5px #e9d7bd}.basket-items{min-height:130px}.basket-fruit{filter:drop-shadow(0 3px 1px #8d6a3a44);font-size:38px;line-height:1}.basket-empty{color:#a47749;font-weight:800}.basket-caption{color:#58745e;font-size:16px;font-weight:900}@media (width<=700px){.tenmath-baskets.addition{grid-template-columns:1fr;gap:8px}.basket-plus{width:46px;height:46px;margin:auto;font-size:34px}.tenmath-basket{min-height:235px}.basket-plate{min-height:110px;margin:12px 0}.basket-items{min-height:95px}}.tenmath-food{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;background:linear-gradient(145deg,#fff,#fff4db);box-shadow:0 4px #ead6ad,0 7px 12px #a57d3d24}.tenmath-food:active{cursor:grabbing}.tenmath-food>span{filter:drop-shadow(0 3px 2px #9d704942);background:radial-gradient(circle at 30% 23%,#fff,#fff1cc 45%,#e4bd82);border-radius:50%;place-items:center;width:48px;height:48px;font-size:32px;display:grid;box-shadow:inset 0 2px 4px #fff,0 4px 7px #8e682a40}.tenmath-food small{color:#82957f;font-size:12px}.drag-guide{color:#8b6729;background:#fff1ce;border-radius:12px;align-items:center;gap:6px;margin:10px 0 14px;padding:9px;font-weight:900;display:flex}.drag-guide span{font-size:26px;animation:1.6s ease-in-out infinite hand-point;display:inline-block}@keyframes hand-point{0%,to{transform:translate(0)rotate(-15deg)}50%{transform:translate(14px)rotate(5deg)}}.drag-ghost{z-index:9999;pointer-events:none;filter:drop-shadow(0 9px 5px #58412866);align-items:end;font-size:58px;display:flex;position:fixed;transform:translate(-50%,-65%)}.drag-ghost i{font-size:36px;font-style:normal;transform:rotate(-25deg)}.drag-message{font-weight:800;color:#925f29!important}.basket-plate{background:repeating-linear-gradient(90deg,#0000 0 20px,#ad713d20 20px 25px),repeating-linear-gradient(0deg,#d6a164 0 20px,#f6d9a6 20px 26px);border-color:#edc990 #a97039 #a97039;box-shadow:inset 0 8px 12px #80502555,inset 0 -8px 12px #8b552d55,0 9px #b7834f,0 14px 16px #7a542e33}.basket-fruit{filter:drop-shadow(0 5px 2px #69442977);font-size:43px;animation:.3s ease-out both fruit-land;display:inline-block}@keyframes fruit-land{0%{opacity:0;transform:translateY(-24px)scale(.6)}70%{transform:translateY(3px)scale(1.1)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.drag-guide span,.basket-fruit{animation:none}}.playground-mode-buttons{grid-template-columns:1fr 1fr;gap:20px;margin-top:32px;display:grid}.playground-mode{color:#355f43;cursor:pointer;background:linear-gradient(145deg,#efffe9,#d8efd7);border:2px solid #86b492;border-radius:24px;flex-direction:column;align-items:center;gap:10px;padding:24px 14px;display:flex;box-shadow:0 6px #a1c8a8}.playground-mode>span{background:#fff9;border-radius:50%;place-items:center;width:64px;height:64px;font-size:48px;font-weight:900;line-height:1;display:grid}.playground-mode strong{font-size:24px}.playground-mode small{font-size:15px}.playground-mode.subtraction-mode{color:#865b24;background:linear-gradient(145deg,#fff6db,#ffe2ac);border-color:#e1b66e;box-shadow:0 6px #dec18d}.playground-mode:hover{transform:translateY(-2px)}.playground-mode:focus-visible{outline-offset:5px;outline:3px solid #335b91}@media (width<=480px){.playground-mode-buttons{grid-template-columns:1fr;gap:18px}.playground-mode{padding:18px 12px}.playground-mode>span{width:48px;height:48px;font-size:38px}}.basket-plate{aspect-ratio:1676/939;width:100%;height:auto;min-height:0;box-shadow:none;background:url(../teal-plate.png) 50%/contain no-repeat;border:0;border-radius:0;margin:16px 0;position:relative;container-type:inline-size}.basket-plate .basket-items{flex-wrap:wrap;place-content:center;align-items:center;gap:0;min-height:0;padding:0;display:flex;position:absolute;inset:34% 22% 30%}.basket-plate .basket-fruit,.basket-plate .basket-items button{text-align:center;filter:drop-shadow(0 2px 1px #69442955);background:0 0;border:0;border-radius:0;flex:0 0 20%;width:20%;height:auto;margin:0;padding:0;font-size:10cqw;line-height:1}.basket-plate .basket-empty{color:#8a6344;text-align:center;font-size:clamp(12px,5cqw,17px)}.basket-plate .basket-items{inset:29% 17% 24%}.basket-plate .basket-fruit,.basket-plate .basket-items button{font-size:13cqw}.basket-plate .basket-empty{display:none}@media (width<=700px){.basket-plate{width:calc(100% + 20px);margin:10px -10px 8px}.basket-plate .basket-items{inset:29% 17% 24%}}.tenmath-basket.drag-over{background:#e7ffe9;border-color:#4baf78;transform:translateY(-3px)scale(1.015);box-shadow:0 0 0 6px #a4e6ad,0 12px 28px #4a9e5a38}@media (prefers-reduced-motion:reduce){.tenmath-basket.drag-over{transform:none}}.basket-plate{width:calc(100% + 14px);margin:12px -7px 10px}@media (width<=700px){.basket-plate{width:calc(100% + 12px);margin:10px -6px 8px}}@media (orientation:landscape) and (width>=560px) and (width<=1000px) and (height<=600px){body{min-height:100svh}.playground-home{min-height:100svh;padding:16px max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left))}.playground-card{border-radius:24px;grid-template-columns:minmax(160px,.8fr) minmax(280px,1.3fr);align-items:center;column-gap:24px;width:min(880px,100%);padding:20px;display:grid}.playground-icons{letter-spacing:4px;font-size:38px}.playground-card h1{grid-column:1;margin:4px 0;font-size:30px}.playground-mode-buttons{grid-area:1/2/3;gap:14px;margin:0}.playground-mode{gap:8px;min-height:150px;padding:16px 8px}.playground-mode>span{width:48px;height:48px;font-size:36px}.playground-mode strong{white-space:nowrap;font-size:20px}.playground-mode small{font-size:13px}.tenmath-shell{max-width:none;min-height:100svh;padding:8px max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));border:0;border-radius:0;margin:0}.tenmath-header{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:0;display:grid}.tenmath-back{grid-area:1/1;min-height:44px;margin:0;padding:6px 9px;font-size:12px;position:static}.tenmath-switch{grid-area:1/3;gap:6px;padding:0}.tenmath-switch button{white-space:nowrap;border-radius:12px;min-height:44px;padding:6px 10px;font-size:14px}.tenmath-header h1{grid-area:1/2;margin:0;font-size:20px}.tenmath-header p{display:none}.tenmath-equation{letter-spacing:0;border-width:2px;border-radius:14px;margin:6px 0 10px;padding:2px 8px;font-size:36px;line-height:1.25;box-shadow:0 3px #e7eee2}.tenmath-content{grid-template-columns:124px minmax(0,1fr);align-items:start;gap:10px}.tenmath-foods{border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px 6px;padding:8px;display:grid}.tenmath-foods h2{grid-column:1/-1;margin:0;font-size:15px}.tenmath-foods>p{grid-column:1/-1;margin:0;font-size:12px;line-height:1.4}.drag-guide{grid-column:1/-1;justify-content:center;margin:0;padding:4px 0;font-size:12px}.drag-guide span{font-size:20px}.tenmath-food{border-radius:10px;flex-direction:column;justify-content:center;gap:2px;min-width:0;min-height:64px;margin:0;padding:4px 2px;font-size:12px}.tenmath-food>span{width:32px;height:32px;font-size:26px}.tenmath-food small{display:none}.tenmath-work{border-radius:16px;min-width:0;padding:10px}.tenmath-baskets{grid-template-columns:minmax(0,1fr);justify-items:center;gap:6px}.tenmath-baskets.addition{grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);align-items:stretch;gap:6px}.tenmath-basket{border-width:2px;border-radius:16px;width:min(100%,340px);min-width:0;min-height:0;padding:8px}.tenmath-basket.selected{box-shadow:0 0 0 2px #dcefdc}.basket-title{gap:6px;font-size:14px}.basket-title strong{font-size:26px;line-height:1.2}.basket-select{min-height:44px}.basket-plus{align-self:center;width:32px;height:32px;margin:0;font-size:27px;box-shadow:0 2px #f2d29e}.basket-plate{width:calc(100% + 12px);margin:0 -6px 2px}.basket-caption{font-size:14px;line-height:1.4}.basket-reset{min-height:44px;margin:4px auto 0;padding:5px 8px;font-size:12px}.removed-label{overflow-wrap:anywhere;font-size:13px}.tenmath-guide{margin:8px 0;padding:6px;font-size:14px;line-height:1.4}.tenmath-guide span{margin-right:3px}.tenmath-answer{gap:8px}.tenmath-answer label{font-size:16px}.tenmath-answer input{border-width:2px;border-radius:12px;width:94px;min-height:44px;padding:4px;font-size:20px}.tenmath-answer button{border-radius:12px;min-height:44px;padding:8px 12px;font-size:14px}.tenmath-actions{gap:6px;margin-top:8px}.tenmath-actions button{border-radius:12px;min-height:44px;padding:6px 8px;font-size:13px}.tenmath-feedback,.tenmath-hint{margin-top:8px;padding:8px;font-size:14px}.tenmath-footer{padding:8px 0 0;font-size:12px}.drag-ghost{font-size:40px}.drag-ghost i{font-size:26px}}
