@charset "UTF-8";
:root{--cream:#fff9f0;--ink:#30354e;--muted:#62667a;--violet:#7962bf;--violet-dark:#6750a6;--mint:#b7e6d1;--peach:#ffb5a4;--butter:#ffe098;--sky:#b4d8f4;--lavender:#cbbbf0;--white:#fff;--success:#268362;--border:#ece5f5;--card-shadow:0 8px 24px #76605512;--radius:26px;font-family:"Arial Rounded MT Bold","Hiragino Maru Gothic ProN","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(circle at 100% 1%,#ffe8b45c 0,transparent 25%),radial-gradient(circle at 0 90%,#c9eedf66 0,transparent 30%),var(--cream)}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;border:0;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid var(--violet);outline-offset:4px}button:disabled{cursor:default}button:not(:disabled):active{transform:translateY(2px);box-shadow:none}button{transition:transform .14s,background .18s,box-shadow .18s}svg.icon{width:24px;height:24px;display:block;fill:currentColor;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}h1,h2,h3,p{margin:0}.app-shell{max-width:460px;min-height:100dvh;margin:auto;padding:18px 20px max(24px,env(safe-area-inset-bottom));overflow:hidden}header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin-bottom:24px}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:900;letter-spacing:-.8px}.brand-mark{display:grid;grid-template-columns:1fr 1fr;gap:3px;width:35px;height:35px;flex-shrink:0}.brand-mark span{border-radius:9px}.brand-mark span:nth-child(1){background:var(--butter)}.brand-mark span:nth-child(2){background:var(--sky)}.brand-mark span:nth-child(3){background:var(--lavender)}.brand-mark span:nth-child(4){background:var(--peach)}.icon-button{background:white;width:48px;height:48px;display:grid;place-items:center;color:#4d397e;border:1.5px solid #efeaf7;border-radius:50%;box-shadow:0 3px 7px #6a4a8b0c;flex-shrink:0}.home-title{font-size:30px;font-weight:900;letter-spacing:-1px;line-height:1.3}.subheading{font-size:16px;color:var(--muted);margin:8px 0 20px;line-height:1.5}.hero{position:relative;border-radius:32px 46px 32px 32px;background:linear-gradient(125deg,#d3f3df,#b7e8c9);padding:26px 20px 22px;min-height:230px;box-shadow:var(--card-shadow);isolation:isolate;overflow:hidden}.hero:after{content:"";position:absolute;bottom:-42px;right:-30px;width:270px;height:100px;border-radius:50%;background:#a4dfb67a;z-index:-1}.hero .panda{position:absolute;width:210px;height:210px;right:-14px;bottom:4px;z-index:-1}.hero h2{font-size:24px;line-height:1.4;max-width:210px;font-weight:900}.hero p{font-size:16px;max-width:176px;line-height:1.6;margin-top:5px;color:#345b50}.hero .primary{width:168px;margin-top:44px;min-height:58px;position:relative}.primary{background:linear-gradient(180deg,#a68be9 0%,#8468d3 45%,#7455c4 100%);box-shadow:inset 0 3px 1px #d5c2ffb3,0 5px 0 #614a9d,0 9px 18px #6f56b320;color:white;font-weight:800;font-size:20px;border:1px solid #9d7ee2;border-radius:999px;min-height:58px;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 20px;width:100%}.primary:disabled{opacity:.5;box-shadow:inset 0 2px 0 #d5c2ff7a,0 3px 0 #9c8ab9}.primary .icon{width:22px;height:22px}.category-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.category{position:relative;height:150px;border-radius:24px;overflow:hidden;padding:16px 16px 0;text-align:left;box-shadow:var(--card-shadow);font-size:21px;font-weight:900;border:1px solid #ffffff66}.category .panda{position:absolute;bottom:-24px;right:2px;width:122px;height:122px}.category[data-category="shadow"]{background:linear-gradient(145deg,#ffd1c4,#ffc0b0)}.category[data-category="memory"]{background:linear-gradient(145deg,#c4ecfb,#acdaf8)}.category[data-category="count"]{background:linear-gradient(145deg,#ffedb4,#ffe192)}.category[data-category="pattern"]{background:linear-gradient(145deg,#e5d7ff,#cfbdf6)}.category-art{display:flex;position:absolute;gap:4px;bottom:24px;left:14px;right:14px;justify-content:center;align-items:center}.shell-art img{width:46px;height:52px;object-fit:contain;mix-blend-mode:multiply;filter:drop-shadow(0 2px 1px #ffffff)}.category .mini-shape{width:39px;height:43px;filter:drop-shadow(0 2px 0 #fff)}.memory-card{background:white;box-shadow:0 4px 6px #365a7d20;border-radius:12px;width:62px;height:74px;transform:rotate(-9deg);display:grid;place-items:center}.memory-card:nth-child(2){transform:rotate(10deg)}.memory-card .panda{position:static;width:64px;height:64px}.memory-card .mini-shape{width:38px;height:38px}.home-note{margin:20px 0 12px;text-align:center;font-size:14px;color:var(--muted)}.text-button{background:none;min-height:44px;padding:10px 14px;color:#6d55b0;font-weight:700;font-size:16px}.mixed-button{display:block;margin:0 auto}.panda{display:block;background-image:url("assets/pandas.png");background-repeat:no-repeat;background-size:300% 200%;background-position:calc(var(--col)*50%) calc(var(--row)*100%);aspect-ratio:1;width:100%;height:auto;flex-shrink:0}.shadow-panda{filter:brightness(0) saturate(0);opacity:.9}.game-header{margin-bottom:14px}.game-header .title{font-size:16px;font-weight:800;text-align:center}.progress-area{display:flex;flex-direction:column;align-items:center;gap:9px;margin-bottom:25px}.progress-dots{display:flex;gap:10px}.progress-dot{width:18px;height:18px;border-radius:50%;background:#e2d6f8;display:grid;place-items:center;color:white}.progress-dot.current{background:var(--violet);box-shadow:inset 0 2px 1px #ae97e0}.progress-dot.complete{background:#67bc95}.progress-dot .icon{width:11px;height:11px}.progress-label{font-size:14px;color:var(--muted);font-weight:600}.question-title{font-size:28px;line-height:1.3;font-weight:900;text-align:center;margin:0 0 13px;letter-spacing:-.5px}.listen-button{border-radius:999px;background:#eadefb;display:flex;gap:7px;align-items:center;justify-content:center;min-height:44px;margin:0 auto 19px;color:#6049a0;font-size:16px;font-weight:700;padding:8px 19px}.listen-button .icon{width:21px;height:21px}.play-area{border:2px solid #e9ddfa;background:white;border-radius:29px;min-height:228px;padding:16px;display:flex;align-items:center;justify-content:center;position:relative;box-shadow:0 5px 20px #71529805}.play-area>.panda{width:222px;height:222px}.instruction{font-size:16px;line-height:1.6;text-align:center;margin:15px 0 12px;color:#42485f;font-weight:700}.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.choice{position:relative;min-height:112px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:8px;background:white;border:2px solid #ece7f2;border-radius:21px;box-shadow:0 2px 0 #ebe4ef;font-size:30px;font-weight:800}.choice .panda{width:100%;height:auto;aspect-ratio:1}.choice.selected{background:#e1f4e9;border-color:#6ac5a0;box-shadow:0 2px 0 #93d5b5}.choice.selected:after{content:"";position:absolute;width:25px;height:25px;border-radius:50%;background:#49ae83;right:-5px;top:-9px}.choice.selected .selected-tick{position:absolute;right:0;top:-4px;z-index:1;color:white;width:16px;height:16px}.choice.correct-answer{border-color:#43ac83;background:#def3e7}.choice.correct-answer:before{content:"✓";position:absolute;right:7px;top:3px;color:#248564;font-size:20px}.choice.wrong-answer{border-color:#e5b471;background:#fff3df}.choice:disabled{opacity:1}.choice:disabled:not(.selected):not(.correct-answer):not(.wrong-answer){opacity:.65}.question-actions{margin-top:21px}.hint-button{display:flex;justify-content:center;gap:6px;align-items:center;margin:12px auto 0;background:transparent;color:var(--muted);font-size:14px;padding:8px 14px;min-height:40px}.hint-button .icon{width:18px;height:18px}.feedback{margin-top:16px;padding:14px 16px;border-radius:19px;font-size:16px;line-height:1.6;background:#fff0d1;color:#70522a;border:1px solid #f5d995;display:flex;gap:9px;align-items:flex-start}.feedback.success{background:#e0f4e9;color:#27694e;border-color:#b9e1ca}.feedback .icon{width:20px;height:20px;margin-top:2px}.feedback strong{display:block;font-size:18px;margin-bottom:2px}.memory-board{display:grid;grid-template-columns:1fr 1fr;gap:7px;width:100%;align-self:stretch;padding-bottom:38px}.memory-board .panda{width:100%;max-width:146px;margin:auto}.memory-board.after{padding-bottom:0}.memory-board.after .panda:last-child:nth-child(odd){grid-column:1/-1;width:130px}.timer-chip{position:absolute;bottom:11px;left:50%;transform:translateX(-50%);background:#e6f4ed;border-radius:999px;white-space:nowrap;padding:6px 14px;color:#386d56;font-size:15px;font-weight:700}.observe-actions .primary{background:linear-gradient(#a68be9,#7962bf)}.count-board{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;width:100%;padding:0}.count-item{height:73px;display:grid;place-items:center;border:2px solid transparent;background:white;border-radius:20px;position:relative;padding:4px}.count-item img{width:100%;height:62px;object-fit:contain;transform:rotate(var(--turn,0deg));transition:transform .18s}.count-item.counted{border-color:#80ccb0;background:#edf8f2}.count-item.counted img{mix-blend-mode:multiply}.count-target{display:flex;align-items:center;justify-content:center;gap:9px;font-size:17px;font-weight:700;margin:13px 0}.count-target img{width:55px;height:45px;object-fit:contain;mix-blend-mode:multiply}.number-choice{font-size:31px;min-height:77px}.pattern-board{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;width:100%;padding:20px 0}.sequence-item{display:grid;place-items:center;border-radius:17px;width:76px;height:76px;background:#f8f5fc}.sequence-item.blank{border:2px dashed #b39bdc;color:#826bb9;font-size:34px;background:white}.shape{display:block;width:55px;height:55px}.pattern-board .shape{width:52px;height:52px}.sequence-number{font-size:32px;font-weight:800;color:#6b4cb4}.result-header{margin-bottom:8px}.result-header .title{font-size:18px;font-weight:800}.result-hero{background:linear-gradient(#ffebaf,var(--cream));border-radius:32px;position:relative;min-height:253px;display:flex;align-items:flex-end;justify-content:center;isolation:isolate}.result-hero .panda{width:238px;height:238px}.result-star{position:absolute;fill:#ffcb65;width:37px;height:37px;filter:drop-shadow(0 3px 0 #edb04933);z-index:-1}.result-star:nth-child(1){left:22%;top:37px;transform:rotate(-15deg)}.result-star:nth-child(2){right:17%;top:25px;fill:#83c7eb;transform:rotate(13deg);width:51px;height:51px}.result-star:nth-child(3){right:9%;top:121px;fill:#ef9bba;width:27px;height:27px}.result-title{text-align:center;font-size:40px;font-weight:900;margin-top:6px;letter-spacing:-1px}.result-subtitle{text-align:center;font-size:17px;line-height:1.6;margin:9px auto 20px;max-width:290px}.summary{padding:4px 19px;background:white;border-radius:25px;box-shadow:var(--card-shadow);margin-bottom:24px}.summary-row{display:flex;align-items:center;gap:14px;min-height:69px;font-size:18px;font-weight:700}.summary-row+.summary-row{border-top:1px solid #eeeaf3}.summary-icon{width:36px;height:36px;background:#fff0c5;border-radius:50%;display:grid;place-items:center;color:#b57515}.summary-row:nth-child(2) .summary-icon{background:#def3e5;color:#277b58}.summary-row:nth-child(3) .summary-icon{background:#e8dffb;color:#7355ba}.summary-icon .icon{width:22px;height:22px}.summary-value{margin-left:auto;font-size:27px;color:var(--violet)}.summary-unit{font-size:16px;color:var(--ink);margin-left:4px}.result .text-button{display:block;margin:12px auto 0}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,15px);background:#30354eed;color:white;border-radius:16px;padding:12px 18px;opacity:0;pointer-events:none;max-width:90vw;text-align:center;font-size:15px;line-height:1.5;z-index:10;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.screen-enter{animation:arrive .24s ease-out}@keyframes arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.feedback.success .icon{animation:pop .22s ease-out}@keyframes pop{50%{transform:scale(1.25)}}.empty-state{padding:50px 20px;text-align:center}
.category>span:first-child{position:absolute;top:16px;left:16px;z-index:1}.hero:after{z-index:-2}.result-star{color:#ffcb65}:root{font-family:"Arial Rounded MT Bold","Yuanti SC","Hiragino Maru Gothic ProN","YouYuan","PingFang SC","Microsoft YaHei",sans-serif}
@media(min-width:600px){body{padding:28px 0}.app-shell{min-height:calc(100dvh - 56px);background:#fffaf4;border:1px solid #efe4d6;border-radius:38px;box-shadow:0 12px 45px #79596014;padding:25px 24px 28px}.hero{min-height:250px}.hero .panda{width:240px;height:240px}.hero .primary{margin-top:56px}.category{height:162px}.category .panda{width:136px;height:136px}.play-area>.panda{width:260px;height:260px}.category-art{bottom:27px}.shell-art img{width:53px}}
@media(max-width:360px){.app-shell{padding-left:14px;padding-right:14px}.brand{font-size:21px}.home-title{font-size:27px}.hero h2{font-size:22px}.hero .panda{width:190px;height:190px;right:-18px}.hero .primary{width:153px;font-size:19px}.category{height:139px;padding:15px 13px 0;font-size:20px}.category .panda{width:115px;height:115px}.category-grid{gap:11px}.choice{min-height:96px}.question-title{font-size:25px}.sequence-item{width:69px;height:69px}.play-area{padding:12px}.shell-art img{width:42px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* 2026-10-10: approved bright macaron / molded-clay design system. */
:root {
  --cream:#fff8ee; --ink:#30294d; --muted:#605a73;
  --violet:#7551c7; --violet-dark:#603baf;
  --mint:#8bdfc0; --peach:#ffb09f; --butter:#ffd765;
  --sky:#8dcefa; --lavender:#b99bf3;
  --mint-light:#c6f3df; --peach-light:#ffd4c8; --butter-light:#fff0b7;
  --sky-light:#cce9fe; --lavender-light:#e1d2ff;
  --success:#177957; --border:#ece2f6;
  --card-shadow:inset 0 2px 2px #ffffffd9, inset 0 -3px 4px #8a668916, 0 5px 0 #c9b49622, 0 9px 18px #68494612;
}
body {
  background:radial-gradient(ellipse at 100% 0,#fff0b760,transparent 40%),
    radial-gradient(ellipse at 0 90%,#c6f3df40,transparent 35%),var(--cream);
}
.app-shell {padding-top:max(18px,env(safe-area-inset-top));}
header {margin-bottom:17px;}
.brand {letter-spacing:-.6px;}
.brand-mark span {
  box-shadow:inset 0 2px 2px #ffffff99,inset 0 -2px 2px #85648318,0 2px 3px #6248690f;
}
.icon-button {
  background:linear-gradient(140deg,#ffffff,#fffcf6);
  color:var(--violet-dark);border-color:#ffffff;
  box-shadow:inset 0 1px 2px white,0 3px 0 #e8dded88,0 5px 9px #5d486112;
}
.home-heading {position:relative; padding-top:24px;}
.home-title {font-size:30px;}
.subheading {margin:6px 0 18px;}
.points-chip {
  position:absolute;right:0;top:-10px;display:flex;align-items:center;gap:5px;
  max-width:100%;padding:6px 11px;border:1px solid #ffead4;border-radius:999px;
  background:linear-gradient(#fffaf0,#fff0dd);font-size:15px;color:var(--violet-dark);font-weight:800;
  box-shadow:inset 0 2px 1px white,0 3px 0 #f1d3b766,0 5px 8px #9b6c2310;
}
.points-chip>.icon {width:21px;height:21px;color:#e09816;filter:drop-shadow(0 2px 0 #ffd06f);}
.points-chip small {font:inherit;margin-left:3px;}
.hero {
  background:radial-gradient(ellipse at 95% 8%,#d2fcec99,transparent 58%),
    linear-gradient(140deg,#b0f1d8 0%,#8bdfc0 75%,#79cfae 100%);
  min-height:238px;padding:24px 18px 24px;
  border:1px solid #b7f5de;
  border-radius:32px 45px 30px 30px;
  box-shadow:inset 0 3px 3px #e8fff0d9,inset 0 -4px 4px #41aa7529,0 5px 0 #68bd941a,0 9px 18px #40755418;
}
.hero h2 {position:relative;font-size:23px;z-index:2;max-width:205px;}
.hero p {position:relative;color:#28574b;z-index:2;}
.hero:after {background:#7bcba87a;bottom:-32px;right:-40px;width:310px;height:85px;}
.clay-mascot {display:block;object-fit:contain;width:100%;height:auto;pointer-events:none;user-select:none;}
.hero>.clay-mascot {
  position:absolute;bottom:4px;right:-7px;width:195px;height:195px;z-index:1;
  filter:drop-shadow(0 6px 3px #33745720);
}
.clay-leaves {position:absolute;bottom:3px;left:3px;width:45px;height:57px;z-index:0;}
.clay-leaves:before,.clay-leaves:after {
  content:"";position:absolute;width:24px;height:43px;border-radius:60%;bottom:0;
  background:linear-gradient(110deg,#94e8b4,#53ba90);box-shadow:inset 2px 2px 3px #c0ffcb80;
}
.clay-leaves:before {transform:rotate(-24deg);left:0;}
.clay-leaves:after {transform:rotate(23deg);left:21px;height:53px;}
.primary {
  background:linear-gradient(180deg,#a689ed 0%,#865bd5 26%,#7551c7 80%,#7049bf 100%);
  border:1px solid #ae8bea;position:relative;
  box-shadow:inset 0 3px 2px #d9c5ffcc,inset 0 -3px 3px #5b35a33b,0 5px 0 var(--violet-dark),0 9px 14px #77519e26;
  text-shadow:0 1px 1px #56339b55;
}
.hero .primary {z-index:3;width:170px;min-height:60px;margin-top:42px;}
.primary:disabled {
  opacity:.5;box-shadow:inset 0 2px 1px #d9c5ff99,0 3px 0 #9b8ab6;
}
button.primary:not(:disabled):active {
  transform:translateY(3px);box-shadow:inset 0 2px 3px #51378028,0 2px 0 var(--violet-dark);
}
.category-grid {gap:14px;margin-top:18px;}
.category {
  height:146px;border-radius:24px;border:1px solid #ffffff88;
  box-shadow:var(--card-shadow);font-size:21px;
}
.category[data-category="shadow"] {background:linear-gradient(140deg,var(--peach-light),var(--peach));}
.category[data-category="memory"] {background:linear-gradient(140deg,var(--sky-light),var(--sky));}
.category[data-category="count"] {background:linear-gradient(140deg,var(--butter-light),var(--butter));}
.category[data-category="pattern"] {background:linear-gradient(140deg,var(--lavender-light),var(--lavender));}
.category>.clay-mascot {position:absolute;right:-2px;bottom:-8px;width:118px;height:118px;}
.magnifier {
  position:absolute;left:25px;bottom:33px;width:44px;height:44px;
  border:7px solid #4ca9d9;border-radius:50%;transform:rotate(-22deg);
  background:radial-gradient(circle at 27% 22%,#e2fcffa3,#82d4ed75);
  box-shadow:inset 2px 2px 3px #fff9,1px 2px 0 #257fae,0 5px 7px #3c71972e;
}
.magnifier:after {
  content:"";position:absolute;left:10px;top:30px;width:11px;height:31px;
  border-radius:7px;background:linear-gradient(90deg,#68c7ed,#2b8ec3);box-shadow:2px 2px 0 #1d70965c;
}
.memory-card {
  border:1px solid #e7f0f7;background:linear-gradient(135deg,#fff,#f9fcff);
  box-shadow:inset 0 2px 2px white,0 3px 0 #75b0cb66,0 6px 9px #36728c22;
}
.memory-card .clay-mascot {width:58px;height:58px;}
.category .mini-shape {filter:drop-shadow(0 2px 0 white) drop-shadow(0 4px 2px #6b537422);}
.shell-art img {
  mix-blend-mode:multiply;filter:saturate(1.3) drop-shadow(0 2px 0 #ffe6a7) drop-shadow(0 4px 2px #ba8e2024);
}
.home-note {display:flex;align-items:center;justify-content:center;gap:5px;font-size:14px;margin:20px 0 2px;line-height:1.6;}
.home-note>.icon {width:17px;height:17px;color:#aa7316;}
.mixed-button {margin:2px auto 0;}
.text-button {color:var(--violet-dark);min-height:48px;}
.device-note {font-size:12px;color:var(--muted);text-align:center;line-height:1.6;margin:7px 0 0;}
.progress-dot {background:var(--lavender-light);box-shadow:inset 0 2px 2px #ffffff9c;}
.progress-dot.current {background:var(--violet);box-shadow:inset 0 2px 2px #ccb4ff,0 2px 0 #6441a72e;}
.progress-dot.complete {background:#329e77;box-shadow:inset 0 2px 1px #86dcc4;}
.listen-button {
  min-height:48px;
  color:var(--violet-dark);background:linear-gradient(#eadfff,#e1d2ff);
  box-shadow:inset 0 2px 2px #f8f0ff,0 3px 0 #c4afe533,0 4px 8px #80508c12;
}
.play-area {
  background:linear-gradient(140deg,#fff,#fdfcff);border:1px solid #f4effa;
  box-shadow:inset 0 2px 3px white,0 4px 0 #e6deeb80,0 7px 14px #64517312;
}
.choice {
  border:2px solid #ece3f3;
  box-shadow:inset 0 2px 2px white,0 4px 0 #e7dfec,0 6px 9px #5e466510;
}
.choice.selected,.choice.correct-answer {
  background:linear-gradient(#f0fff9,#dbf8ed);border-color:#27ad85;
  box-shadow:inset 0 2px 2px #fff,0 4px 0 #7dcaaf66,0 5px 10px #31936f20;
}
.choice.selected:after {background:linear-gradient(#60d7ae,#24966e);box-shadow:0 2px 3px #37896738;}
.hint-button {min-height:48px;}
.feedback {border-color:#f2d394;background:linear-gradient(#fff7e7,#fff0d1);box-shadow:inset 0 2px 2px #ffffffb3,0 3px 0 #edd6a54d;}
.feedback.success {color:#205d46;background:linear-gradient(#edfff5,#d9f4e7);border-color:#a6dabb;}
.earned-points {display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;color:#815911;font-size:15px;}
.earned-points>.icon {color:#b5750b;margin:0;width:20px;height:20px;}
.earned-points b {margin-left:auto;white-space:nowrap;}
.result-hero {
  min-height:208px;background:radial-gradient(ellipse at 50% 20%,#fff8c5,#ffe48555 66%,transparent 85%);
}
.result-hero>.clay-mascot {width:208px;height:208px;filter:drop-shadow(0 7px 4px #a77b2124);}
.result-star {color:#e1a914;}
.celebration-rays {
  position:absolute;width:22px;height:8px;right:11%;top:51px;transform:rotate(-38deg);
  background:#ffcc49;border-radius:6px;box-shadow:inset 0 1px 1px #fff7;z-index:-1;
}
.celebration-rays:before,.celebration-rays:after {
  content:"";position:absolute;width:20px;height:8px;background:#f4ac95;border-radius:6px;left:-204px;top:-39px;transform:rotate(70deg);
}
.celebration-rays:after {left:-161px;top:104px;background:#9acdef;transform:rotate(15deg);}
.result-title {position:relative;font-size:40px;margin-top:-7px;z-index:1;}
.result-subtitle {font-size:17px;margin:7px auto 16px;max-width:none;}
.reward-card {
  border:1px solid #fff0d5;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 18px 12px;
  background:linear-gradient(145deg,#fffdf7,#fff6e8);border-radius:25px;box-shadow:var(--card-shadow);margin-bottom:14px;
}
.reward-star {
  display:grid;place-items:center;width:57px;height:57px;flex-shrink:0;
  color:#e4a20e;filter:drop-shadow(0 3px 0 #fcc855) drop-shadow(0 5px 3px #cc8c2724);
}
.reward-star .icon {width:52px;height:52px;}
.reward-card>div {flex:1;min-width:0;}
.reward-total {font-size:24px;font-weight:800;line-height:1.25;}
.reward-total strong {font-size:47px;margin-right:5px;color:#b74d0d;font-weight:900;letter-spacing:-1px;}
.reward-card>div>p+p {color:var(--muted);font-size:13px;line-height:1.6;margin-top:3px;}
.reward-breakdown {flex-basis:100%;padding-top:9px;border-top:1px solid #f3e4d1;color:var(--muted);text-align:center;font-size:13px;}
.summary {margin-bottom:14px;border:1px solid #f4eff7;box-shadow:var(--card-shadow);padding:2px 18px;}
.summary-row {min-height:58px;font-size:17px;gap:12px;}
.summary-value {color:var(--violet-dark);}
.achievement {
  display:flex;align-items:center;justify-content:center;gap:10px;min-height:49px;
  border:1px solid #e9d8ff;border-radius:22px;background:linear-gradient(#eadfff,#dbc4ff);
  box-shadow:inset 0 2px 2px #f8eeff,0 3px 0 #c5ade648; font-size:19px;font-weight:800;
}
.achievement .icon {color:#8a6416;width:26px;height:26px;filter:drop-shadow(0 2px 0 #fff1a8);}
.reward-rule {font-size:13px;line-height:1.8;text-align:center;color:var(--muted);margin:12px 0 17px;}
.result .text-button {margin:8px auto 0;}
/* 2026-10-11: every completed level has a persistent, visible panda reward. */
.points-rules {margin:8px 0 12px;border:1px solid #eadcf5;border-radius:18px;background:#fffcf6;color:var(--muted);}
.points-rules summary {padding:12px 16px;min-height:48px;cursor:pointer;color:var(--violet-dark);font-size:15px;font-weight:800;}
.points-rules summary:focus-visible {outline:3px solid var(--violet);outline-offset:3px;border-radius:18px;}
.points-rules ul {margin:0;padding:0 20px 14px 36px;font-size:14px;line-height:1.8;}
.points-rules li+li {margin-top:4px;}
.level-reward {
  margin-top:18px;padding:12px 16px 14px;border:1px solid #ffe3a4;border-radius:28px;
  background:radial-gradient(ellipse at 10% 5%,#fff6b8aa,transparent 65%),linear-gradient(145deg,#fffdf5,#fff0d5);
  box-shadow:inset 0 3px 3px white,0 4px 0 #edd7aa66,0 9px 18px #98672716;
  scroll-margin-top:16px;animation:arrive .24s ease-out;
}
.level-reward-head {display:flex;align-items:center;gap:4px;}
.level-reward-head>.clay-mascot {width:130px;height:130px;flex-shrink:0;filter:drop-shadow(0 5px 3px #a77b2124);}
.level-reward-head>div {flex:1;min-width:0;}
.level-reward h2 {font-size:21px;line-height:1.4;color:var(--ink);}
.level-reward-amount {margin-top:6px;line-height:1.3;font-size:18px;font-weight:800;color:#80420f;}
.level-reward-amount strong {font-size:42px;color:#b74d0d;font-weight:900;}
.level-reward-feedback {display:flex;align-items:flex-start;gap:8px;padding:12px;border-radius:17px;background:#edfff5;color:#205d46;}
.level-reward-feedback.guided {background:#fff8e7;color:#70522a;}
.level-reward-feedback>.icon {width:21px;height:21px;flex-shrink:0;margin-top:2px;}
.level-reward-feedback strong {font-size:17px;line-height:1.5;}
.level-reward-feedback p {font-size:15px;line-height:1.6;margin-top:3px;}
.level-reward-totals {display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-top:12px;font-size:14px;color:var(--muted);line-height:1.6;}
.level-reward-totals b {color:var(--violet-dark);}
.round-reward-label {font-size:14px;color:var(--muted);font-weight:700;}
.reward-card>div>.reward-total {font-size:24px;color:var(--ink);margin-top:2px;}
@media(min-width:600px) {
  .app-shell {background:#fffcf6;border-color:#fff;box-shadow:inset 0 3px 3px #fff,0 5px 0 #e8d9c73b,0 12px 32px #7959601a;}
  .hero {min-height:247px;}
  .hero>.clay-mascot {width:219px;height:219px;}
  .hero .primary {margin-top:46px;}
  .category {height:157px;}
  .category>.clay-mascot {width:132px;height:132px;}
}
@media(max-width:360px) {
  .level-reward {padding-left:12px;padding-right:12px;}
  .level-reward-head>.clay-mascot {width:106px;height:106px;}
  .level-reward h2 {font-size:19px;}
  .level-reward-amount {font-size:17px;}
  .level-reward-amount strong {font-size:38px;}
  .home-title {font-size:27px;}
  .hero {min-height:221px;padding-left:16px;padding-right:16px;}
  .hero h2 {font-size:21px;}
  .hero>.clay-mascot {width:174px;height:174px;right:-8px;}
  .hero .primary {width:153px;margin-top:38px;font-size:19px;}
  .category {height:138px;font-size:20px;}
  .category>.clay-mascot {width:111px;height:111px;}
  .magnifier {left:18px;bottom:31px;width:39px;height:39px;border-width:6px;}
  .magnifier:after {left:9px;top:27px;}
  .home-note {font-size:13px;gap:3px;}
  .reward-card {padding-left:13px;padding-right:13px;gap:8px;}
  .reward-total strong {font-size:42px;}
}
