:root{--ink:#29204d;--muted:#7c7697;--purple:#6b47db;--purple-deep:#5533c7;--lilac:#aa92ef;--pink:#ff86b8;--coral:#fa8c94;--mint:#bdf3d9;--peach:#ffd4ab;--cream:#fffdf9;--page:#f8f6ff;--line:#eae5f7;--soft-shadow:0 18px 55px rgba(65,43,132,.085);--strong-shadow:0 24px 65px rgba(65,43,132,.18);--radius:28px;font-family:'Trebuchet MS','Arial Rounded MT Bold',system-ui,-apple-system,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--page);min-height:100vh;overflow-x:hidden}button,input,select{font:inherit}[hidden]{display:none!important}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.6}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:4px solid #ffb46b;outline-offset:4px}button{border:0}p,h1,h2,h3{margin-top:0}h1,h2,h3{letter-spacing:-.045em}p{line-height:1.65}.skip-link{position:absolute;left:10px;top:-100px;background:white;padding:12px;z-index:9999}.skip-link:focus{top:12px}.ambient{position:fixed;pointer-events:none;z-index:-1;filter:blur(90px);opacity:.5}.ambient-one{height:410px;width:410px;background:#e5d2ff;top:180px;left:-240px}.ambient-two{height:350px;width:350px;background:#d9f5eb;top:480px;right:-160px}.app-wrap{max-width:1440px;padding:0 clamp(18px,4vw,68px);margin:auto}.topbar{min-height:107px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;z-index:15}.brand{border:0;background:transparent;display:flex;align-items:center;text-align:left;gap:10px;color:var(--ink);padding:0;flex-shrink:0}.brand-mark{display:flex;width:48px;height:48px;justify-content:center;align-items:center;border-radius:16px;color:#fff;font-size:30px;background:linear-gradient(145deg,#9b7bf6,#6442d3);box-shadow:0 8px 16px #7f5ae03d;transform:rotate(-9deg);position:relative}.brand-hands{position:absolute;top:16px;left:22px;height:12px;border-left:2px solid white;border-bottom:2px solid white;width:9px;transform:rotate(-45deg);opacity:.7}.brand-name{font-weight:1000;font-size:21px;letter-spacing:-1.2px;line-height:1.05}.brand-name>span{color:var(--purple)}.brand-name small{display:block;font:800 9px system-ui,sans-serif;letter-spacing:1.45px;color:#8d87a6;margin-top:6px}.nav-tabs{display:flex;background:#fff;border-radius:999px;border:1px solid #eeeafa;padding:6px;box-shadow:0 8px 25px #39306b0b;gap:2px}.nav-tab{min-width:90px;color:#746f91;border-radius:30px;font-size:13px;font-weight:900;padding:12px 14px;background:transparent;transition:background .18s,transform .18s,color .18s}.nav-tab.active{color:white;background:var(--purple);box-shadow:0 6px 13px #6247c43d}.nav-tab:hover:not(.active){background:#f4f0ff;color:#5e47bc}.nav-glyph{font-size:17px;vertical-align:middle;margin-right:4px}.top-actions{display:flex;gap:10px;align-items:center}.live-time{padding:11px 13px;border:1px solid #e7e1f5;background:#fff;border-radius:15px;display:flex;align-items:center;gap:8px;white-space:nowrap;font-weight:900;font-size:13px}.live-dot{height:7px;width:7px;border-radius:50%;background:#6edbb3;box-shadow:0 0 0 4px #c6f5e6}.icon-button{height:43px;width:43px;background:#fff;border-radius:15px;font-size:24px;border:1px solid #e7e1f5;color:var(--purple)}.icon-button.muted{color:#b6aec7}.icon-button:hover{transform:translateY(-2px)}.view[hidden]{display:none!important}.view{animation:reveal .35s ease both}@keyframes reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
/* home */
.home-hero{min-height:500px;display:grid;grid-template-columns:1fr 1.02fr;gap:35px;align-items:center;padding:16px 0 22px}.hero-copy{padding:15px 0}.eyebrow,.section-kicker,.micro-eyebrow{font-size:10px;letter-spacing:2.25px;font-weight:1000;color:var(--purple)}.eyebrow{display:flex;align-items:center;gap:9px}.eyebrow-spark{font-size:21px;color:#f5a348}.hero-copy h1{font-size:clamp(46px,5.15vw,77px);font-weight:1000;line-height:1.08;letter-spacing:-.078em;margin:18px 0 24px;max-width:600px}.title-swoosh{color:var(--purple);position:relative;display:inline-block}.title-swoosh:after{content:'';position:absolute;left:4%;right:0;bottom:-9px;height:14px;border:5px solid #ffb9c6;border-top:0;border-radius:0 0 80% 60%;transform:rotate(-2deg)}.hero-description{max-width:485px;font-size:16.5px;color:#6f6a8c;line-height:1.85;margin-bottom:26px}.hero-description strong{color:var(--ink)}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.primary-button,.outline-button,.soft-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:16px;font-size:14px;font-weight:1000;padding:15px 22px;transition:transform .18s,box-shadow .18s,background .18s;white-space:nowrap}.primary-button{color:white;background:linear-gradient(135deg,#855bea,#6342d1);box-shadow:0 8px 0 #d8cbf4,0 15px 23px #704ddb33}.primary-button:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 11px 0 #d8cbf4,0 19px 25px #704ddb38}.primary-button:active{transform:translateY(3px);box-shadow:0 3px 0 #d8cbf4}.outline-button{color:var(--purple);background:white;border:2px solid #e9defc}.outline-button:hover{background:#f1eafb;transform:translateY(-2px)}.soft-button{background:#f2edff;color:#6746c8;padding:12px 18px}.soft-button:hover{background:#e4dafa;transform:translateY(-2px)}.big-button{padding:18px 26px}.big-button span{font-size:21px}.hero-proof{display:flex;align-items:center;gap:14px;margin-top:39px}.stacked-faces{display:flex;padding-left:5px}.stacked-faces span{height:38px;width:38px;margin-left:-6px;border:3px solid white;border-radius:50%;display:grid;place-items:center;font-size:23px;background:#f0dbff}.stacked-faces span:nth-child(2){background:#ffeabf}.stacked-faces span:nth-child(3){background:#d2f9e6}.hero-proof strong,.hero-proof small{display:block}.hero-proof strong{font-size:13px}.hero-proof small{color:#908ba5;font-size:11px;margin-top:4px}
.hero-art{height:465px;min-width:0;border-radius:42px;background:radial-gradient(circle at 80% 15%,#9d82e7 0%,transparent 32%),radial-gradient(circle at 12% 90%,#785fc8 0%,transparent 34%),linear-gradient(150deg,#7251d1,#44349c);overflow:hidden;position:relative;isolation:isolate;box-shadow:0 25px 50px #5741a23b;transform:rotate(1deg)}.hero-art:before{content:'';position:absolute;inset:15px;border-radius:32px;border:2px dashed #ffffff31;pointer-events:none}.hero-glow{position:absolute;inset:15%;background:radial-gradient(ellipse,#bea8fc77 0,transparent 70%);filter:blur(12px)}.hero-orbit{border:1px solid #ffffff24;position:absolute;border-radius:50%}.hero-orbit-one{width:550px;height:550px;top:-40px;left:-25px}.hero-orbit-two{width:430px;height:430px;top:18px;left:35px}.float-spark{position:absolute;z-index:1;color:#ffe79f;font-size:36px;animation:glimmer 3s ease-in-out infinite}.spark-one{top:82px;left:70px}.spark-two{bottom:92px;right:65px;color:#b5f6d7;animation-delay:.8s}.spark-three{top:55px;right:90px;color:#ffb4cf;animation-delay:1.4s}@keyframes glimmer{50%{transform:scale(1.22) rotate(19deg);opacity:.65}}.hero-time-pill{position:absolute;top:33px;left:34px;background:#fff;border-radius:18px;z-index:3;display:flex;align-items:center;gap:11px;padding:11px 16px;box-shadow:0 12px 28px #24146036;transform:rotate(-5deg)}.hero-time-pill small,.hero-time-pill strong{display:block}.hero-time-pill small{font-size:9px;letter-spacing:1px;font-weight:900;color:#9088ac}.hero-time-pill strong{font-size:22px;line-height:1.25}.hero-sun{color:#ffa92e;font-size:34px}.hero-clock-wrap{position:absolute;width:324px;height:324px;top:82px;left:50%;transform:translateX(-50%) rotate(-9deg);filter:drop-shadow(0 24px 13px #22136647)}.hero-clock-device{width:100%;height:100%;background:linear-gradient(135deg,#ffbfc9,#fb7d9d);border:13px solid #f59ab2;border-radius:50%;box-shadow:inset 0 0 0 6px #ffe0e5,0 0 0 9px #ffffff1c}.hero-mascot{position:absolute;z-index:3;filter:drop-shadow(0 13px 9px #29136345)}.hero-mascot svg{width:100%;height:100%}.left-mascot{width:167px;height:170px;left:-7px;bottom:-18px;transform:rotate(-9deg);animation:bob 4s ease-in-out infinite}.right-mascot{width:156px;height:156px;right:-3px;bottom:0;transform:rotate(9deg);animation:bob 3.2s ease-in-out infinite reverse}@keyframes bob{50%{translate:0 -9px}}.hero-sticker{position:absolute;right:29px;top:94px;z-index:3;background:#ffe6a8;color:#683cb2;display:flex;flex-direction:column;align-items:center;justify-content:center;width:102px;height:102px;clip-path:polygon(50% 0%,61% 13%,77% 6%,83% 24%,100% 31%,90% 48%,100% 64%,82% 73%,79% 92%,61% 87%,50% 100%,37% 87%,20% 93%,17% 73%,0 65%,9% 48%,0 29%,18% 24%,24% 7%,39% 14%);transform:rotate(12deg);font-weight:1000;font-size:14px;line-height:1.05;text-align:center}.hero-sticker span{font-size:18px}.hero-sticker b{font-size:15px;margin-top:3px}
.section-heading{display:flex;align-items:end;justify-content:space-between;margin:42px 0 24px}.section-heading h2{font-size:32px;line-height:1.15;margin:9px 0 0}.heading-doodle{font-size:27px;letter-spacing:12px;color:#d49df1}.adventure-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.adventure-card{text-align:left;display:flex;flex-direction:column;align-items:flex-start;min-height:318px;border-radius:29px;padding:24px 27px;position:relative;overflow:hidden;transition:transform .22s,box-shadow .22s;box-shadow:var(--soft-shadow)}.adventure-card:hover{transform:translateY(-7px);box-shadow:var(--strong-shadow)}.adventure-learn{background:#e6dcff}.adventure-play{background:#ffdfc8}.adventure-tools{background:#ccf0e5}.adventure-topline{display:flex;justify-content:space-between;align-items:center;width:100%;z-index:2}.adventure-num{font-size:10px;letter-spacing:1.4px;font-weight:1000;color:#645c8c}.adventure-arrow{height:34px;width:34px;background:#ffffffab;border-radius:50%;font-size:24px;font-weight:600;display:grid;place-items:center;color:var(--ink)}.adventure-art{height:120px;width:138px;align-self:center;display:grid;place-items:center;z-index:1;margin:3px 0 5px}.adventure-art svg{height:140px;width:140px;filter:drop-shadow(0 13px 9px #37307524);transition:transform .25s}.adventure-card:hover .adventure-art svg{transform:rotate(-8deg) scale(1.08)}.adventure-title{font-size:23px;font-weight:1000;letter-spacing:-1px;margin-bottom:4px;z-index:1}.adventure-desc{font-size:13px;color:#746e85;line-height:1.5;max-width:255px;z-index:1}.adventure-pill{margin-top:16px;font-size:11px;font-weight:1000;color:var(--purple);background:#ffffffae;border-radius:999px;padding:8px 12px;z-index:2}.adventure-card:after{content:'✦';position:absolute;bottom:37px;right:22px;font-size:92px;color:#ffffff66;transform:rotate(25deg)}.home-quote{display:flex;justify-content:center;align-items:center;gap:28px;color:#928ab0;margin:35px 0 57px;font-size:13px;font-weight:800;text-align:center}.home-quote span:first-child,.home-quote span:last-child{font-size:27px;color:#d3c1f9}
/* shared inside pages */
.page-lead{display:flex;justify-content:space-between;align-items:center;min-height:185px;padding:24px 0 16px;position:relative}.page-lead h1{font-size:clamp(36px,4.4vw,56px);margin:8px 0 8px;line-height:1.08;font-weight:1000}.page-lead h1 em{font-style:normal;color:var(--purple)}.page-lead p{font-size:15px;color:var(--muted);margin:0}.mascot-lead{height:145px;width:170px;position:relative;overflow:visible;filter:drop-shadow(0 12px 12px #41377c22)}.mascot-lead svg{height:100%;width:100%;object-fit:contain}.paper-card{background:#fff;border:1px solid #eeeaf8;border-radius:28px;box-shadow:var(--soft-shadow)}.card-header{display:flex;align-items:center;justify-content:space-between;padding:24px 26px 12px;gap:15px}.card-header h2,.tool-header h2{font-size:24px;font-weight:1000;margin:6px 0 0}.tiny-badge{background:#e8f9ee;color:#49866b;padding:8px 11px;border-radius:50px;white-space:nowrap;font-size:11px;font-weight:1000}.micro-eyebrow{font-size:9px;letter-spacing:1.7px}.learning-layout,.game-layout,.tools-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px}.learning-layout{align-items:start}.clock-lab{overflow:hidden}.device-picker{display:flex;gap:7px;flex-wrap:wrap;padding:0 25px 18px}.device-choice{background:#f4f2fb;color:#827999;border-radius:13px;font-size:12px;padding:11px 14px;font-weight:900;display:flex;gap:6px;align-items:center}.device-choice.active{background:var(--purple);color:white;box-shadow:0 5px 13px #744de138}.clock-workspace{background:linear-gradient(135deg,#f3ecff,#ecf7ff);margin:0 14px;border-radius:23px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(210px,.9fr);min-height:419px;align-items:center;gap:8px;padding:14px 18px}.learning-device{height:365px;width:min(100%,380px);margin:0 auto;position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate;touch-action:none}.device-dial{height:min(290px,85%);width:min(290px,85%);position:absolute;z-index:4;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;filter:drop-shadow(0 11px 9px #5c459742)}.clock-svg{height:100%;width:100%;overflow:visible;touch-action:none;user-select:none;display:block}.clock-svg.interactive{cursor:crosshair}.clock-number{font-weight:1000;font-family:'Trebuchet MS',system-ui,sans-serif;fill:#514579}.clock-numeral-roman{font-family:Georgia,serif;font-weight:bold;fill:#59467c}.clock-hand{pointer-events:stroke;stroke-linecap:round}.clock-face-bg{filter:drop-shadow(0 3px 3px #49386a1c)}.watch-strap{display:none;position:absolute;z-index:0;left:50%;transform:translateX(-50%);width:124px;height:115px;border-radius:25px;background:repeating-linear-gradient(0deg,transparent 0,transparent 21px,#ffffff28 21px,#ffffff28 24px),linear-gradient(95deg,#845ddf,#6845c5);box-shadow:inset 10px 0 12px #42279243,inset -10px 0 12px #41218f36}.watch-device .watch-strap{display:block}.strap-upper{top:-1px}.strap-lower{bottom:-1px}.watch-device .device-dial{background:#815ddd;border-radius:50%;padding:10px;box-shadow:0 0 0 7px #b399f2,0 0 0 11px #7355cc}.alarm-bells,.alarm-feet{display:none}.alarm-device .alarm-bells,.alarm-device .alarm-feet{display:block}.alarm-bells i{width:90px;height:51px;background:linear-gradient(#ffbd86,#fb819f);border-radius:90px 90px 20px 20px;top:3px;position:absolute;z-index:0;border:6px solid #ed8294}.alarm-bells i:first-child{left:36px;transform:rotate(-28deg)}.alarm-bells i:last-child{right:36px;transform:rotate(28deg)}.alarm-device .device-dial{top:52%;border:14px solid #f88c97;background:#ffd1bf;box-shadow:0 0 0 7px #ffc8c9}.alarm-feet i{position:absolute;bottom:13px;height:55px;width:21px;background:#a47ce2;z-index:0;border-radius:12px}.alarm-feet i:first-child{left:80px;transform:rotate(28deg)}.alarm-feet i:last-child{right:80px;transform:rotate(-28deg)}.cuckoo-roof,.cuckoo-door,.cuckoo-pendulum{display:none}.cuckoo-device{background:linear-gradient(100deg,#dd935a,#c87e50);border:11px solid #b66e49;border-radius:22px 22px 36px 36px;width:320px;height:361px;margin:12px auto 14px;box-shadow:inset 0 0 0 5px #e9aa75,0 13px 14px #5d347c29}.cuckoo-device .cuckoo-roof{display:block;position:absolute;z-index:5;top:-31px;left:-32px;width:calc(100% + 64px);height:100px;background:linear-gradient(115deg,#9055a0,#54357f);clip-path:polygon(50% 0,100% 74%,94% 100%,50% 37%,6% 100%,0 74%);filter:drop-shadow(0 4px 2px #623b4a)}.cuckoo-device .cuckoo-door{display:grid;place-items:center;position:absolute;z-index:6;top:37px;left:50%;transform:translateX(-50%);background:#79497d;border:5px solid #ffd9ae;border-bottom:0;width:60px;height:64px;border-radius:32px 32px 0 0;overflow:hidden}.cuckoo-door span{font-size:33px;transform:translateY(35px);transition:transform .3s}.cuckoo-device.cuckoo-pop .cuckoo-door span{transform:translateY(-4px)}.cuckoo-device .device-dial{height:228px;width:228px;top:65%;border:9px solid #f4c68b;box-shadow:0 0 0 5px #a96351}.cuckoo-device .cuckoo-pendulum{display:block;position:absolute;width:9px;height:40px;background:#9a5770;left:50%;bottom:-43px;transform-origin:top;animation:pendulum 2s ease-in-out infinite alternate}.cuckoo-device .cuckoo-pendulum:after{content:'';position:absolute;bottom:-7px;left:-11px;width:31px;height:31px;border-radius:50%;background:#f9c478;box-shadow:inset -5px -5px #e2a35f}@keyframes pendulum{from{transform:rotate(-15deg)}to{transform:rotate(15deg)}}.clock-controls{display:flex;flex-direction:column;gap:9px}.toggle-label{font-size:10px;font-weight:1000;color:#857ba3;letter-spacing:1.5px}.segmented{display:flex;background:#e6ddfa;padding:4px;border-radius:13px;gap:4px}.seg{flex:1;padding:9px 4px;background:transparent;color:#7667a6;font-size:13px;border-radius:10px;font-weight:900}.seg.active{background:white;color:#6541d0;box-shadow:0 3px 9px #3b277b15}.learning-readout{padding:12px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;background:#fff;border-radius:17px;margin-top:2px;box-shadow:0 6px 10px #6b57a912}.learning-readout small{font-size:10px;color:#978eab;font-weight:1000;letter-spacing:1.3px}.learning-readout strong{font-size:39px;font-variant-numeric:tabular-nums;letter-spacing:-3px;line-height:1.1;margin:4px 0;color:#6742ce}.learning-readout span{font-size:12px;color:#797190;font-weight:900}.hand-setting{margin-top:2px}.setter-header{display:flex;justify-content:space-between;font-weight:1000;font-size:9px;color:#80729e;letter-spacing:1.1px;margin:0 4px 5px}.stepper{background:#fff;border-radius:13px;padding:5px;display:flex;justify-content:space-between;align-items:center}.stepper button{background:#f3edfe;border-radius:10px;width:40px;height:36px;color:var(--purple);font-size:23px;font-weight:800}.stepper button:hover{background:#e3d5ff}.stepper strong{font-size:23px;font-variant-numeric:tabular-nums}.clock-controls>.soft-button{margin-top:4px}.clock-caption{display:flex;align-items:center;gap:14px;margin:13px 15px 15px;padding:15px 18px;background:#f9f7ff;border-radius:16px}.clock-caption .caption-icon{font-size:30px}.clock-caption>div{flex:1}.clock-caption strong{font-size:13px}.clock-caption p{font-size:12px;line-height:1.45;margin:3px 0 0;color:#79718f}.cuckoo-action{background:#e8dbf9;color:#6342b5;border-radius:10px;padding:10px;font-size:11px;font-weight:1000}.lesson-side{display:flex;flex-direction:column;gap:17px}.companion-card{background:#e9dffe;min-height:163px;border-radius:26px;padding:18px 14px;display:flex;align-items:center;gap:6px;overflow:hidden;position:relative}.companion-mascot{width:114px;min-width:114px;height:125px;align-self:end}.companion-mascot svg{width:100%;height:100%;filter:drop-shadow(0 8px 8px #78579e33)}.companion-words{position:relative;z-index:2;align-self:center}.companion-words>span{font-size:10px;letter-spacing:1px;font-weight:1000;color:#6245ba}.companion-words p{font-size:13px;font-weight:900;line-height:1.45;margin:8px 0 0}.learn-decoder{padding:21px}.decoder-title{display:flex;align-items:center;gap:10px;margin-bottom:18px}.decoder-title>span{display:grid;place-items:center;font-size:29px;background:#ebe4ff;height:51px;width:51px;border-radius:16px}.decoder-title h3{font-size:18px;letter-spacing:-.7px;margin:0}.decoder-title p{margin:3px 0 0;color:#9791a9;font-size:11px}.decoder-row{display:flex;justify-content:space-between;gap:13px;border-top:1px dashed #eae5f5;padding:13px 0;font-size:12px;align-items:baseline}.decoder-row span{font-size:9px;letter-spacing:.8px;color:#9890ac;font-weight:1000}.decoder-row strong{text-align:right;font-size:13px}.minute-math{margin-top:7px;background:#dff6eb;border-radius:16px;text-align:center;padding:15px 6px}.minute-math>span:first-child{display:block;color:#639778;font-weight:1000;letter-spacing:1px;font-size:9px}.minute-math strong{font-size:49px;color:#4a9d77;line-height:1.15}.minute-math>span:nth-of-type(2){font-size:13px;font-weight:900;color:#539376}.math-dots{letter-spacing:4px;font-size:9px;color:#68b58e;margin-top:6px}.next-adventure{color:white;background:linear-gradient(125deg,#7452d4,#a47cec);text-align:left;display:flex;justify-content:space-between;align-items:center;width:100%;border-radius:21px;padding:20px 22px}.next-adventure small,.next-adventure strong{display:block}.next-adventure small{font-size:9px;letter-spacing:1.3px;opacity:.75}.next-adventure strong{font-size:21px;margin-top:5px}.next-adventure-arrow{font-size:29px}.flash-heading{margin-top:54px}.flash-heading p{color:#9b92ae;font-size:13px;margin:8px 0 0}.cards-counter{font-size:12px;font-weight:900;color:#8067bf;border-radius:12px;padding:10px 14px;background:#eee8ff}.flashcard-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;padding-bottom:44px}.flashcard{height:203px;perspective:900px;background:transparent;border-radius:21px;text-align:center}.flashcard-inner{position:relative;display:block;height:100%;width:100%;transition:transform .55s;transform-style:preserve-3d}.flashcard.flipped .flashcard-inner{transform:rotateY(180deg)}.flashcard-front,.flashcard-back{backface-visibility:hidden;-webkit-backface-visibility:hidden;position:absolute;inset:0;border-radius:21px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:16px;box-shadow:0 10px 23px #53459813}.flashcard-front{background:var(--card-color,#e9e0ff)}.flashcard-back{background:#fff;border:2px solid var(--card-color,#ded0ff);transform:rotateY(180deg)}.flashcard-symbol{font-size:38px;margin-bottom:14px}.flashcard-front strong{font-size:16px;line-height:1.3}.flashcard-front small{font-size:10px;font-weight:900;color:#81778d;margin-top:13px}.flashcard-back strong{color:var(--purple);font-size:14px;margin-bottom:10px}.flashcard-back span{color:#6e6589;font-size:12px;line-height:1.5}
/* Games */
.stats-card{min-width:180px;padding:18px 23px;border-radius:25px;background:#fff3d2;transform:rotate(3deg);text-align:center;box-shadow:0 9px 17px #b19f6722}.stats-card>span{display:block;font-size:10px;letter-spacing:1px;font-weight:1000;color:#b19148}.stats-card strong{font-size:37px;color:#d99634}.stats-card small{font-size:11px;color:#aa945f;display:block}.game-mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:15px 0 20px}.mode-tile{border:2px solid transparent;padding:17px 13px;border-radius:18px;background:#fff;box-shadow:0 8px 21px #56457b12;text-align:left;display:flex;align-items:center;gap:11px;min-height:78px}.mode-tile.active{background:#efe9ff;border-color:#bba6f5;box-shadow:0 8px 20px #6d51cf18}.mode-tile:hover{transform:translateY(-2px)}.mode-emoji{font-size:29px}.mode-tile strong,.mode-tile small{display:block}.mode-tile strong{font-size:12px;line-height:1.15}.mode-tile small{font-size:10px;color:#a09ab0;margin-top:5px}.challenge-card{padding:25px;min-height:515px;display:flex;flex-direction:column}.challenge-top{display:flex;justify-content:space-between;gap:15px;align-items:center}.challenge-top h2{font-size:27px;margin:7px 0 0}.question-badge{font-size:10px;font-weight:1000;border-radius:20px;background:#e9f8ef;padding:10px 12px;color:#589471;white-space:nowrap}.challenge-progress{height:9px;border-radius:10px;background:#f0eafa;margin:20px 0 0;overflow:hidden}.challenge-progress>div{height:100%;width:0%;background:linear-gradient(90deg,#b692fc,#704fda);border-radius:10px;transition:width .25s}.challenge-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:15px 0}.challenge-clock{height:252px;width:252px;background:#d9cbfc;border-radius:50%;padding:9px;box-shadow:0 9px 0 #b29ce5,0 16px 20px #4930781f}.challenge-clock .clock-svg{filter:drop-shadow(0 2px 1px #fff8)}.choices-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(100%,450px)}.choice-button{background:#f4f0ff;border:2px solid #e7dffc;padding:15px 12px;border-radius:14px;color:#5844a4;font-size:17px;font-weight:1000;transition:transform .15s,background .15s}.choice-button:hover:not(:disabled){transform:translateY(-2px);background:#ebe3ff}.choice-button.correct{background:#dbf7e7;border-color:#80d5a6;color:#35845b}.choice-button.wrong{background:#ffdee3;border-color:#ff9aab;color:#b34768}.challenge-tip{font-size:11px;color:#9185a2;margin:0;text-align:center}.set-target{font-size:14px;color:#9387a7;font-weight:900;text-align:center}.set-target strong{font-size:42px;display:block;color:var(--purple);line-height:1.25;letter-spacing:-2px}.set-controls{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.set-controls .mini-stepper{display:flex;align-items:center;gap:9px;background:#f0eaff;padding:5px 9px;border-radius:14px}.mini-stepper>span{font-size:10px;font-weight:1000;letter-spacing:1px;color:#785fbb}.mini-stepper button{height:36px;width:35px;border-radius:9px;background:#fff;color:var(--purple);font-size:22px;font-weight:1000}.set-controls .primary-button{box-shadow:none;padding:12px 24px}.roman-large{height:193px;width:193px;background:#ede7ff;color:#6546d2;border-radius:36px;display:grid;place-items:center;font-family:Georgia,serif;font-size:79px;font-weight:900;box-shadow:inset 0 0 0 3px #d8c9fb;transform:rotate(-4deg)}.roman-subtitle{font-weight:900;color:#8980a2;font-size:13px}.trivia-illustration{font-size:105px;line-height:1.25}.trivia-question{font-weight:1000;font-size:21px;max-width:460px;text-align:center}.answer-feedback{padding:15px 18px;border-radius:15px;background:#e6f9ec;color:#287b54;font-weight:900;font-size:14px;margin-bottom:13px}.answer-feedback.error{background:#fff0ed;color:#b95b59}.challenge-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center}.game-sidebar{display:flex;flex-direction:column;gap:19px}.difficulty-panel{padding:23px 19px}.difficulty-panel h3{font-size:19px;margin:8px 0 14px}.difficulty-list{display:flex;flex-direction:column;gap:7px}.difficulty{width:100%;display:flex;align-items:center;text-align:left;background:#faf8ff;padding:11px 10px;border:2px solid transparent;border-radius:13px;gap:8px;color:var(--ink)}.difficulty.active{background:#eee8ff;border-color:#cfbdff}.difficulty>span:first-child{font-size:25px}.difficulty>span:nth-child(2){flex:1}.difficulty strong,.difficulty small{display:block}.difficulty strong{font-size:12px}.difficulty small{font-size:10px;color:#9790ad;margin-top:4px}.difficulty b{font-size:13px;color:#c5bcda}.difficulty.active b{color:var(--purple)}.scoreboard{background:linear-gradient(145deg,#654ac9,#9a7ce8);color:white;min-height:284px;border-radius:25px;padding:17px 22px;position:relative;overflow:hidden;text-align:center}.scoreboard:before{content:'✧';position:absolute;top:6px;left:10px;font-size:86px;color:#ffffff1d}.score-mascot{height:100px;width:110px;margin:0 auto}.score-mascot svg{width:100%;height:100%}.scoreboard>span{display:block;font-size:10px;letter-spacing:1.4px;color:#e0d5ff;font-weight:1000;margin-top:4px}.scoreboard>strong{display:block;font-size:43px;line-height:1.1;margin:4px 0}.scoreboard>strong small{font-size:18px;color:#ddd4fc}.scoreboard p{color:#efe9ff;font-size:11px;margin:4px 0 11px}.streak-chip{display:inline-block;padding:7px 14px;border-radius:20px;background:#ffffff31;font-size:12px;font-weight:900}.game-summary{text-align:center;padding:10px 20px}.game-summary>span{font-size:88px}.game-summary h3{font-size:30px;margin:6px 0}.game-summary p{font-size:15px;color:#807398}.game-summary .primary-button{margin-top:12px}
/* Alarm and timer */
.tools-layout{grid-template-columns:minmax(0,1fr) 340px;align-items:start}.tools-aside{display:flex;flex-direction:column;gap:18px}.alarm-main,.timer-main{padding:25px 28px 28px;min-height:620px}.tool-header{display:flex;justify-content:space-between;align-items:center;gap:10px}.tool-status{display:inline-flex;align-items:center;gap:8px;border-radius:25px;background:#ebf8ef;color:#568d6b;padding:10px 12px;font-size:10px;font-weight:1000;white-space:nowrap}.tool-status i{width:8px;height:8px;background:#60d69c;border-radius:50%}.tool-status.ringing{background:#ffdfdd;color:#a34968}.tool-status.ringing i{background:#e86b91}.alarm-display-area{display:flex;justify-content:center;align-items:center;gap:45px;margin:32px 0 25px;background:radial-gradient(ellipse at 35% 50%,#e8e1ff 0%,#f8f4ff 72%);min-height:264px;border-radius:25px;padding:25px;overflow:hidden}.alarm-clock-illustration{height:232px;width:225px;position:relative;flex-shrink:0;filter:drop-shadow(0 14px 12px #6756b335);transform-origin:50% 85%;cursor:pointer;user-select:none}.alarm-clock-illustration:focus-visible{outline:3px solid orange}.toy-bell{position:absolute;z-index:0;top:7px;background:linear-gradient(135deg,#a38ff6,#7154c8);height:62px;width:96px;border-radius:80px 80px 12px 12px;box-shadow:inset 0 -5px 0 #563abb}.toy-bell-left{left:1px;transform:rotate(-24deg)}.toy-bell-right{right:1px;transform:rotate(24deg)}.toy-handle{position:absolute;left:94px;top:7px;width:38px;height:12px;border-radius:20px;background:#5135a6;z-index:0}.toy-face{position:absolute;z-index:1;inset:33px 9px 13px;border:12px solid #7f65d7;border-radius:50%;background:linear-gradient(140deg,#e8fff7,#b7f0e1);box-shadow:inset 0 0 0 8px #fff9,0 8px 0 #5f4bb8}.toy-eyes{position:absolute;display:flex;gap:38px;top:56px;left:50%;transform:translateX(-50%)}.toy-eyes i{width:17px;height:23px;border-radius:50%;background:#42317b;position:relative}.toy-eyes i:after{content:'';width:6px;height:7px;border-radius:50%;background:white;position:absolute;top:4px;left:4px}.toy-cheeks{position:absolute;left:50%;transform:translateX(-50%);top:93px;display:flex;gap:94px}.toy-cheeks i{height:15px;width:25px;border-radius:50%;background:#ffa5b4}.toy-mouth{position:absolute;top:99px;left:50%;transform:translateX(-50%);height:19px;width:26px;background:#ff8b9c;border-radius:3px 3px 22px 22px;border:3px solid #51367e;border-top:0}.toy-digital{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);background:#fff9;border-radius:12px;padding:8px 14px;font-weight:1000;color:#5e49b1;letter-spacing:1px;font-size:22px;box-shadow:inset 0 0 0 2px #9cd2c1}.toy-feet i{position:absolute;bottom:-4px;height:31px;width:18px;background:#6d59ce;border-radius:8px;z-index:0}.toy-feet i:first-child{left:50px;transform:rotate(24deg)}.toy-feet i:last-child{right:50px;transform:rotate(-24deg)}.alarm-clock-illustration.ringing{animation:alarmBounce .22s ease-in-out infinite alternate}.alarm-clock-illustration.ringing .toy-bell-left{animation:bellShake .16s infinite alternate}.alarm-clock-illustration.ringing .toy-bell-right{animation:bellShake .16s infinite alternate-reverse}@keyframes alarmBounce{from{transform:rotate(-5deg) translateY(-3px)}to{transform:rotate(5deg) translateY(1px)}}@keyframes bellShake{to{transform:rotate(5deg)}}.alarm-now{display:flex;flex-direction:column;gap:7px}.alarm-now>span{font-size:10px;font-weight:1000;letter-spacing:1.6px;color:#8c80ad}.alarm-now strong{font-size:clamp(22px,3.8vw,41px);white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-2px}.alarm-now small{color:#958da4;font-size:11px}.alarm-form{display:grid;grid-template-columns:1fr 1fr;gap:17px;max-width:680px;margin:0 auto}.alarm-form label,.timer-custom>label{display:block;font-size:10px;color:#807a94;font-weight:1000;letter-spacing:1.3px;margin-bottom:10px}.alarm-form input,.alarm-form select{height:57px;width:100%;background:#fbf9ff;color:var(--ink);border-radius:14px;padding:12px 15px;border:2px solid #eee6fd;min-width:0;font-weight:900;font-size:19px}.sound-input-line{display:flex;gap:7px}.alarm-form select{font-size:14px;flex:1}.sound-input-line button{width:54px;border-radius:14px;background:#eee7ff;color:var(--purple);font-size:25px}.alarm-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:26px}.alarm-actions .primary-button{min-width:200px}.alarm-countdown{text-align:center;color:#7c709a;font-size:13px;font-weight:900;margin-top:20px;min-height:20px}.alarm-ringing{background:#fff1c5;border:2px dashed #facb7e;padding:17px;border-radius:17px;text-align:center;margin-top:15px}.alarm-ringing strong{font-size:20px;color:#a66b1c}.alarm-ringing p{font-size:13px;margin:4px 0 12px;color:#947941}.alarm-ring-buttons{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.alarm-ring-buttons .primary-button,.alarm-ring-buttons .outline-button{padding:10px 15px;box-shadow:none}.alarm-companion{background:#c6efdc}.alarm-companion .companion-words>span{color:#3d8a69}.help-card{padding:26px}.help-icon{display:grid;place-items:center;height:59px;width:59px;border-radius:18px;background:#fff0c8;font-size:31px;margin-bottom:18px}.help-card h3{font-size:23px;margin:0 0 10px}.help-card p{color:#7d758e;font-size:13px;line-height:1.7}.mini-lesson{background:#f3eeff;padding:14px;border-radius:13px;color:#7965a8;font-size:13px;line-height:1.95}.tool-disclaimer{font-size:11px;color:#918ba1;line-height:1.7;margin:0 5px}.timer-main{text-align:center}.timer-main .tool-header{text-align:left}.timer-ring-wrap{width:min(100%,320px);height:320px;margin:25px auto 17px;position:relative}.timer-ring{position:absolute;inset:0;height:100%;width:100%;transform:rotate(-90deg);overflow:visible}.timer-ring-track,.timer-ring-progress{fill:none;stroke-width:14px}.timer-ring-track{stroke:#efebfa}.timer-ring-progress{stroke:#8862e4;stroke-linecap:round;stroke-dasharray:860.8;stroke-dashoffset:0;transition:stroke-dashoffset .2s linear}.timer-illustration{position:absolute;inset:32px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#ece7ff)}.timer-illustration strong{font-size:58px;letter-spacing:-4px;font-variant-numeric:tabular-nums;color:#6747c7;line-height:1.3}.timer-illustration>span:not(.timer-mini-star){color:#8877ae;font-size:12px;font-weight:1000}.timer-mini-star{position:absolute;font-size:25px;color:#f5bb64}.star-top{top:25px;right:53px}.star-bottom{bottom:23px;left:55px;color:#c69cf1}.timer-presets{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.preset{background:#f0edfc;color:#8475a4;border:2px solid transparent;border-radius:12px;padding:11px 15px;font-size:12px;font-weight:1000}.preset.active{border-color:#ac91ef;color:var(--purple);background:#e7ddff}.preset:hover{transform:translateY(-2px)}.timer-custom{margin:21px auto 5px;display:flex;justify-content:center;align-items:center;gap:25px}.timer-custom>label{margin:0}.timer-custom-fields{display:flex;align-items:center;gap:8px}.timer-custom-fields label{display:flex;align-items:center;gap:7px;color:#9890ae;font-size:10px;font-weight:1000}.timer-custom-fields input{font-size:21px;font-weight:1000;text-align:center;width:69px;height:47px;border-radius:12px;border:2px solid #eee6fa;background:#faf8ff;color:var(--ink);padding:5px}.timer-custom-fields b{font-size:22px;color:#ab9ec6}.timer-actions{margin-top:22px;display:flex;justify-content:center;gap:12px}.timer-celebrate{margin-top:15px;border-radius:15px;padding:12px;background:#dbf8e8;color:#33835f;font-size:14px;font-weight:1000}.timer-companion{background:#ffe7cb}.timer-companion .companion-words>span{color:#bb8450}
/* footer / transient */
.footer{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #e6e1f3;margin-top:32px;min-height:85px;font-size:11px;font-weight:900;color:#9d96b1}.footer-brand{font-size:15px;color:#6844c7}.footer-brand span{color:#f5a53b}.toast{position:fixed;left:50%;bottom:27px;transform:translate(-50%,30px);background:#33265b;color:white;padding:13px 22px;border-radius:15px;z-index:50;box-shadow:0 15px 35px #2715524d;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;font-size:13px;font-weight:900;text-align:center;max-width:calc(100vw - 30px)}.toast.show{opacity:1;transform:translate(-50%,0)}.confetti-layer{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:40}.confetti-piece{position:absolute;top:-20px;width:9px;height:15px;opacity:0;animation:confettiFall 2.6s ease-in forwards}@keyframes confettiFall{0%{translate:0 -15px;transform:rotate(0);opacity:1}100%{translate:var(--drift,0px) 105vh;transform:rotate(690deg);opacity:0}}
@media(min-width:1400px){.home-hero{min-height:522px}.hero-art{height:483px}.hero-clock-wrap{top:92px}}
@media(max-width:1170px){.brand-name{font-size:18px}.nav-tab{min-width:70px;padding:12px 9px}.hero-copy h1{font-size:59px}.hero-art{height:430px}.hero-clock-wrap{height:288px;width:288px}.hero-mascot{scale:.9}.clock-workspace{grid-template-columns:minmax(0,1fr) 210px;padding:10px}.learning-device{height:343px}.learning-layout,.game-layout{grid-template-columns:minmax(0,1fr) 270px}.tools-layout{grid-template-columns:minmax(0,1fr) 295px}.adventure-card{padding:20px}.adventure-desc{font-size:12px}.flashcard-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.mode-tile{padding:13px 10px}.mode-tile strong{font-size:11px}.mode-tile small{font-size:9px}}
@media(max-width:950px){.topbar{flex-wrap:wrap;justify-content:space-between;padding-top:17px;padding-bottom:11px;min-height:126px}.nav-tabs{order:3;width:100%;justify-content:center}.nav-tab{flex:1}.home-hero{gap:17px;grid-template-columns:1fr 1fr;min-height:445px}.hero-copy h1{font-size:clamp(38px,5.6vw,61px)}.hero-art{height:378px;border-radius:29px}.hero-clock-wrap{height:248px;width:248px;top:78px}.hero-mascot{scale:.7}.hero-time-pill{top:19px;left:18px;scale:.82;transform-origin:top left}.hero-sticker{scale:.75;right:7px;top:77px}.adventure-art{height:108px}.adventure-title{font-size:20px}.learning-layout,.game-layout,.tools-layout{grid-template-columns:minmax(0,1fr)}.lesson-side,.game-sidebar,.tools-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.next-adventure{grid-column:1/-1}.clock-workspace{grid-template-columns:1fr 1fr}.learning-device{height:380px}.flashcard-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.companion-card{min-height:180px}.difficulty-panel{min-height:285px}.scoreboard{min-height:285px}.tools-aside .tool-disclaimer{grid-column:1/-1}.alarm-main,.timer-main{min-height:0}.tools-layout{gap:17px}}
@media(max-width:680px){.app-wrap{padding:0 15px}.topbar{gap:9px}.brand-mark{width:41px;height:41px;font-size:25px}.brand-name{font-size:18px}.brand-name small{font-size:7.5px}.live-time{padding:10px 9px;font-size:12px}.icon-button{height:39px;width:39px}.nav-tabs{padding:5px;overflow:auto}.nav-tab{font-size:10px;min-width:0;padding:10px 6px;white-space:nowrap}.nav-glyph{font-size:13px;margin-right:1px}.home-hero{grid-template-columns:1fr;gap:25px;padding-top:29px}.hero-copy{text-align:center;padding:0}.hero-copy h1{max-width:490px;margin:16px auto 23px;font-size:clamp(45px,10vw,67px)}.hero-description{margin-left:auto;margin-right:auto;font-size:14px}.eyebrow{justify-content:center;font-size:9px;letter-spacing:1.4px}.hero-buttons,.hero-proof{justify-content:center}.hero-proof{margin-top:29px}.hero-art{width:100%;max-width:540px;height:360px;margin:auto;transform:none}.hero-clock-wrap{height:254px;width:254px;top:68px}.hero-time-pill{scale:.75}.hero-mascot{scale:.77}.hero-sticker{right:4px;top:75px;scale:.7}.section-heading{margin:36px 0 20px}.section-heading h2{font-size:27px}.adventure-grid{grid-template-columns:1fr;gap:13px}.adventure-card{min-height:148px;padding:18px 21px;display:grid;grid-template-columns:1fr 128px;grid-template-rows:auto auto auto 1fr;column-gap:5px}.adventure-topline{grid-column:1/-1}.adventure-art{grid-column:2;grid-row:2/5;width:125px;height:112px;margin:0}.adventure-art svg{width:125px;height:130px}.adventure-title{grid-column:1;grid-row:2;align-self:end;font-size:21px}.adventure-desc{grid-column:1;grid-row:3;align-self:start;max-width:245px}.adventure-pill{grid-column:1;grid-row:4;align-self:start;justify-self:start;margin-top:10px}.home-quote{margin:27px 0 38px;font-size:10px;gap:13px}.home-quote span:first-child,.home-quote span:last-child{font-size:18px}.page-lead{min-height:154px;padding:20px 0}.page-lead h1{font-size:clamp(30px,7.5vw,43px)}.page-lead p{font-size:12px}.mascot-lead{height:90px;width:95px;flex-shrink:0}.learning-layout,.game-layout,.tools-layout{gap:16px}.card-header{padding:20px 16px 13px}.card-header h2,.tool-header h2{font-size:20px}.tiny-badge{font-size:9px}.device-picker{padding:0 13px 14px;gap:5px}.device-choice{flex:1;padding:9px 6px;font-size:11px;justify-content:center;gap:4px}.clock-workspace{grid-template-columns:1fr;min-height:0;margin:0 10px;padding:10px 12px 14px}.learning-device{height:349px}.clock-controls{display:grid;grid-template-columns:1fr 1fr;column-gap:10px;row-gap:9px}.toggle-label,.segmented{grid-column:1/-1}.learning-readout{grid-column:1/-1}.clock-controls>.soft-button{grid-column:1/-1}.learning-readout strong{font-size:31px}.learning-readout{padding:10px}.clock-caption{margin:11px;padding:12px;gap:8px}.clock-caption p{font-size:11px}.caption-icon{font-size:24px}.cuckoo-action{font-size:10px}.lesson-side,.game-sidebar,.tools-aside{grid-template-columns:1fr}.next-adventure{grid-column:auto}.companion-card{min-height:141px}.flashcard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.flashcard{height:185px}.flash-heading{margin-top:40px}.flash-heading h2{font-size:25px}.cards-counter{font-size:9px;padding:8px 9px;white-space:nowrap}.game-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mode-tile{min-height:65px}.game-sidebar{grid-template-columns:1fr 1fr}.difficulty-panel{padding:17px 12px;min-height:270px}.difficulty-panel h3{font-size:16px}.difficulty{padding:8px 6px;gap:4px}.difficulty>span:first-child{font-size:19px}.difficulty strong{font-size:10px}.difficulty small{font-size:9px}.scoreboard{padding:16px 8px;min-height:270px}.scoreboard p{font-size:9px}.challenge-card{padding:19px 15px;min-height:500px}.challenge-top h2{font-size:21px}.question-badge{font-size:9px;padding:8px}.challenge-clock{width:216px;height:216px}.choice-button{font-size:15px;padding:13px 6px}.challenge-content{padding:20px 0}.stats-card{min-width:110px;padding:13px}.stats-card>span{font-size:8px}.stats-card strong{font-size:27px}.stats-card small{font-size:9px}.alarm-main,.timer-main{padding:21px 13px}.tool-header h2{font-size:19px}.tool-status{font-size:9px;padding:8px}.alarm-display-area{padding:15px 10px;gap:3px;min-height:325px;margin:21px 0;flex-direction:column}.alarm-clock-illustration{scale:.80;margin:-21px auto 15px;flex-shrink:0}.alarm-now{text-align:center;align-items:center;padding-bottom:10px}.alarm-now strong{font-size:clamp(19px,5vw,29px);letter-spacing:-1px}.alarm-now>span{font-size:9px}.alarm-form{gap:10px}.alarm-form input,.alarm-form select{font-size:16px;padding:8px}.alarm-form select{font-size:12px;padding:6px}.sound-input-line button{width:42px;flex-shrink:0}.alarm-actions .primary-button{min-width:0}.timer-ring-wrap{width:285px;height:285px}.timer-ring{width:285px;height:285px}.timer-illustration strong{font-size:47px}.timer-presets{gap:6px}.preset{padding:9px 10px;font-size:11px}.timer-custom{gap:12px}.timer-actions{gap:8px}.timer-actions button{padding:13px 14px}.footer{flex-direction:column;gap:7px;justify-content:center;padding:17px 0;text-align:center;min-height:95px}.footer span{font-size:10px}}
@media(max-width:390px){.nav-tab{font-size:9px;padding:9px 4px}.brand-name{font-size:16px}.hero-art{height:331px}.hero-clock-wrap{width:235px;height:235px;top:69px}.hero-mascot{scale:.67}.hero-sticker{scale:.58}.clock-workspace{padding:8px}.learning-device{height:335px}.clock-caption{flex-wrap:wrap}.cuckoo-action{width:100%}.flashcard{height:179px}.game-sidebar{grid-template-columns:1fr}.scoreboard{min-height:225px}.score-mascot{height:65px}.difficulty-panel{min-height:0}.alarm-display-area{gap:4px}.alarm-clock-illustration{scale:.80;margin:-21px auto 15px}.alarm-now{padding:0 0 10px}.alarm-form{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}


/* Kokoro learning voice controls */
.voice-button{border:0;border-radius:999px;background:#f1ebff;color:#5d45a2;font:700 12px/1.2 inherit;padding:8px 11px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(93,69,162,.12);white-space:nowrap}
.voice-button:hover,.voice-button:focus-visible{background:#e8ddff;outline:2px solid #8a6adb;outline-offset:2px}
.learning-readout .voice-button{margin-top:8px;align-self:center}
.clock-caption .voice-button{margin-left:auto}
.decoder-title .voice-button{margin-left:auto}
.challenge-voice-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.choice-with-audio{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:stretch}
.choice-with-audio .choice-button{width:100%}
.choice-audio{min-width:42px;border:0;border-radius:14px;background:#f3edff;color:#5d45a2;font-size:17px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(93,69,162,.12)}
.choice-audio:hover,.choice-audio:focus-visible{background:#e8ddff;outline:2px solid #8a6adb;outline-offset:2px}
.help-card{position:relative}.help-voice{float:right;margin-left:8px}
@media(max-width:650px){.challenge-voice-tools{justify-content:flex-start}.voice-button{font-size:11px;padding:7px 9px}.choice-audio{min-width:38px}}

/* Saturday / Riddle 23 orange theme. Voice clips stay centralized under /riddle18/. */
:root{--ink:#4e342e;--muted:#795548;--purple:#f57c00;--purple-deep:#e65100;--lilac:#ffcc80;--pink:#ffb74d;--mint:#ffe0b2;--cream:#fffdf8;--page:#fff3e0;--line:#ffcc80;--soft-shadow:0 18px 55px rgba(230,81,0,.10);--strong-shadow:0 24px 65px rgba(230,81,0,.18)}
body{background:var(--page)}.ambient-one{background:#ffe0b2}.ambient-two{background:#ffcc80}.brand-mark{background:linear-gradient(145deg,#ffb74d,#f57c00);box-shadow:0 8px 16px rgba(230,81,0,.24)}.nav-tabs{border-color:#ffcc80}.nav-tab.active{background:#f57c00;box-shadow:0 6px 13px rgba(230,81,0,.24)}.nav-tab:hover:not(.active){background:#fff0e0;color:#9a4700}.live-time,.icon-button{border-color:#ffcc80}.primary-button{background:linear-gradient(135deg,#ffb74d,#f57c00);box-shadow:0 8px 0 #e69a52,0 15px 23px rgba(230,81,0,.20)}.outline-button{border-color:#ffcc80}.outline-button:hover{background:#fff0e0}.soft-button{background:#fff0e0;color:#9a4700}.hero-art{background:radial-gradient(circle at 80% 15%,#ffcc80 0%,transparent 32%),radial-gradient(circle at 12% 90%,#ffb74d 0%,transparent 34%),linear-gradient(150deg,#f57c00,#8a3e00);box-shadow:0 25px 50px rgba(230,81,0,.24)}.hero-glow{background:radial-gradient(ellipse,#ffe0b288 0,transparent 70%)}
