/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:"Vazirmatn", system-ui, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--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%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;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:where(:not(iframe)){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]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance: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,utilities;html{font-family:Vazirmatn,system-ui,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f8f9fe;color:#20283e;font-family:Vazirmatn,sans-serif}button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed}.app-shell{min-height:100vh;min-height:100dvh;position:relative;overflow:hidden;display:flex;flex-direction:column;background:radial-gradient(circle at 7% 18%,#f0efff 0,transparent 28%),radial-gradient(circle at 93% 47%,#eef5ff 0,transparent 27%),#f9faff}.bg-squiggle{position:absolute;pointer-events:none;color:#e8e7fc;font-size:190px;line-height:1;z-index:0}.bg-squiggle-one{top:720px;left:-70px}.bg-squiggle-two{right:-60px;top:1500px;color:#eaf0ff}.site-header{height:80px;background:#fff;border-bottom:1px solid #eceef6;position:relative;z-index:3}.header-inner,.main-content,.footer-inner{width:100%;max-width:1192px;margin:0 auto;padding-right:24px;padding-left:24px}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:inline-flex;align-items:center;gap:11px;border:0;background:none;color:#242642;font-size:27px;font-weight:900;padding:0;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#65e;color:#fff;font-size:36px;font-family:Arial,sans-serif;font-weight:500;line-height:1;box-shadow:0 5px #493bd0;transform:rotate(-8deg)}.brand-mark.small{width:32px;height:32px;border-radius:9px;font-size:27px;box-shadow:none}.brand-dot{color:#6754ef}.header-actions{display:flex;align-items:center;gap:13px}.coin-counter{display:flex;align-items:center;gap:7px;background:#fffae9;border:1px solid #ffedb7;border-radius:14px;padding:7px 13px;min-height:43px;color:#685122;font-size:14px}.coin-counter strong{font-size:18px;font-weight:900;color:#382b11}.coin-emoji{font-size:21px}.coin-label{font-weight:600}.icon-button{width:43px;height:43px;border-radius:12px;border:1px solid #e8eaf3;background:#fff;display:grid;place-items:center;color:#666b82;transition:.2s}.icon-button:hover,.icon-button:focus-visible{color:#65e;border-color:#65e}.main-content{flex:1;position:relative;z-index:1}.hero{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;min-height:486px;padding:49px 0 56px;gap:28px}.hero-copy{position:relative;z-index:1}.eyebrow,.section-kicker{color:#6755e9;font-size:14px;font-weight:800}.eyebrow{display:inline-flex;align-items:center;gap:6px;background:#efecff;border-radius:99px;padding:7px 14px}.hero h1{font-size:clamp(38px,4.7vw,62px);line-height:1.35;letter-spacing:-1px;font-weight:900;margin:18px 0 15px;color:#252541}.hero h1 span{color:#6655ec}.hero-copy>p{font-size:17px;line-height:2;color:#73788b;max-width:520px;margin:0 0 28px}.hero-buttons{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.primary-button,.soft-button{min-height:49px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 23px;border-radius:13px;font-weight:800;font-size:15px;transition:transform .2s,box-shadow .2s,background .2s;border:0}.primary-button{background:#6655ec;color:#fff;box-shadow:0 6px #493bc9}.primary-button:hover{transform:translateY(-2px);background:#5846df;box-shadow:0 8px #493bc9}.primary-button:active{transform:translateY(4px);box-shadow:0 2px #493bc9}.soft-button{background:#fff;border:1px solid #e4e3f4;color:#5347b2}.soft-button:hover{background:#f0eeff;border-color:#c9c3fb}.hero-stats{display:flex;align-items:center;gap:19px;color:#85899d;font-size:13px;margin-top:32px;font-weight:600}.hero-stats strong{font-size:17px;color:#3b3957;margin-left:3px}.stats-divider{height:19px;width:1px;background:#d9dce9}.hero-art{height:365px;position:relative;display:grid;place-items:center}.hero-art:before{content:"";position:absolute;width:min(90%,360px);aspect-ratio:1;border-radius:50%;background:#ece9ff;top:0;left:50%;transform:translate(-50%)}.hero-art:after{content:"";position:absolute;width:220px;height:33px;border-radius:50%;background:#dedaf2;filter:blur(12px);bottom:10px;left:50%;transform:translate(-50%)}.math-card{position:absolute;display:flex;align-items:center;justify-content:center;box-shadow:0 18px 38px #35346b24}.math-card-back{top:36px;right:10%;width:160px;height:84px;background:#fff;border:2px solid #e5e4ff;border-radius:18px;transform:rotate(13deg);font-size:26px;font-weight:900;color:#5552c3;gap:8px}.math-card-back span{color:#f3a327}.math-card-main{width:250px;height:254px;background:#6655ed;border:8px solid #fff;border-radius:38px;transform:rotate(-9deg);z-index:2;flex-direction:column;gap:13px;top:86px;left:50%;margin-left:-125px;color:#fff}.math-card-face{width:125px;height:125px;display:grid;place-items:center;background:#fff;color:#6655ed;border-radius:27px;font-size:112px;font-family:Arial,sans-serif;line-height:1;padding-bottom:12px;font-weight:300}.math-card-caption{font-size:15px;font-weight:800}.art-doodle,.art-star,.art-coin{position:absolute;z-index:3}.art-doodle-a{font-size:55px;color:#f6bb53;left:10%;top:18px}.art-doodle-b{font-size:57px;color:#92d8ba;right:4%;bottom:40px}.art-star{left:12%;bottom:80px;background:#fff4d3;border:5px solid #fff;color:#efa625;border-radius:18px;width:70px;height:70px;display:grid;place-items:center;font-size:40px;transform:rotate(15deg);box-shadow:0 10px 22px #7069a629}.art-coin{right:7%;top:132px;background:#fff;border-radius:50%;width:64px;height:64px;display:grid;place-items:center;font-size:36px;box-shadow:0 8px 18px #51469429;transform:rotate(-15deg)}.chapters-section{padding:10px 0 72px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.section-heading h2,.stage-title h2{font-size:28px;line-height:1.5;margin:3px 0 2px;font-weight:900;color:#262841}.section-heading p{color:#8b90a0;margin:0;font-size:14px}.section-deco{font-size:58px;color:#e4e0ff}.chapter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.chapter-card{min-width:0;background:#fff;border:1px solid #eceef5;border-radius:22px;padding:22px;box-shadow:0 8px 30px #27355308;transition:transform .2s,box-shadow .2s}.chapter-card:hover{transform:translateY(-5px);box-shadow:0 16px 35px #27355314}.card-top{display:flex;justify-content:space-between;align-items:flex-start}.chapter-icon{width:59px;height:59px;border-radius:16px;display:grid;place-items:center;font-size:31px;background:#dff7ea}.medium .chapter-icon{background:#fff2db}.hard .chapter-icon{background:#ffede7}.expert .chapter-icon{background:#eeeaff}.chapter-index{border-radius:20px;padding:5px 9px;background:#f5f6fa;color:#949aaa;font-size:12px;font-weight:700}.chapter-card h3{font-size:22px;font-weight:900;margin:19px 0 4px}.chapter-card p{font-size:13px;color:#858b9a;line-height:1.8;margin:0;min-height:47px}.chapter-progress{margin:23px 0 20px}.progress-label{display:flex;justify-content:space-between;font-size:12px;color:#9196a5;margin-bottom:8px}.progress-label strong{color:#656a7d}.progress-track{height:8px;background:#eff1f5;border-radius:99px;overflow:hidden}.progress-track div{height:100%;background:#69c98c;border-radius:99px;transition:width .3s}.medium .progress-track div{background:#ffba56}.hard .progress-track div{background:#fb8e72}.expert .progress-track div{background:#9f8af5}.card-button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:45px;border:0;border-radius:11px;background:#e8f8ee;color:#298650;font-weight:800;font-size:13px;transition:.2s}.card-button:hover{filter:brightness(.96);transform:translateY(-2px)}.medium .card-button{background:#fff4df;color:#aa701d}.hard .card-button{background:#fff0e9;color:#bc664e}.expert .card-button{background:#f0edff;color:#7662ca}.bottom-banner{display:flex;align-items:center;gap:18px;padding:22px 28px;margin:0 0 76px;background:#eeecff;border:1px solid #e5e0ff;border-radius:19px}.banner-icon{width:55px;height:55px;flex:none;border-radius:14px;background:#fff;color:#6b57ed;display:grid;place-items:center}.bottom-banner h3{font-size:17px;margin:0 0 3px;font-weight:900}.bottom-banner p{font-size:13px;margin:0;color:#77798e}.bottom-banner button{margin-right:auto;display:flex;align-items:center;gap:3px;background:#fff;border:1px solid #e4defe;border-radius:10px;padding:10px 13px;min-height:44px;color:#6250d2;font-size:13px;font-weight:800;white-space:nowrap}.bottom-banner button:hover{background:#f8f6ff}.site-footer{z-index:1;background:#fff;border-top:1px solid #eceef6;padding:24px 0;padding-bottom:max(24px,env(safe-area-inset-bottom))}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#8e93a4;font-size:13px}.footer-brand{display:flex;align-items:center;gap:10px;color:#2d2c49;font-size:18px;font-weight:900}.footer-brand small{display:block;color:#9b9faf;font-size:11px;font-weight:500}.footer-inner button{border:0;background:none;color:#686c83;display:flex;align-items:center;gap:7px;min-height:44px;font-size:13px}.footer-inner button:hover{color:#6655ec}.footer-love{font-size:12px}.inner-page,.game-page,.about-page{padding-top:34px;padding-bottom:88px}.back-link{border:0;background:none;color:#74788e;font-size:14px;display:inline-flex;align-items:center;gap:7px;padding:9px 0;min-height:44px;font-weight:700}.back-link:hover{color:#6655ec}.chapter-hero{position:relative;overflow:hidden;border-radius:24px;padding:34px 39px;min-height:213px;margin-top:20px;background:#e9f8ee;color:#227649}.chapter-hero.medium{background:#fff3dd;color:#9b6723}.chapter-hero.hard{background:#fff0e9;color:#b55a40}.chapter-hero.expert{background:#efecff;color:#6954ba}.chapter-hero-kicker{font-size:13px;font-weight:800;opacity:.8}.chapter-hero h1{font-size:36px;font-weight:900;margin:5px 0}.chapter-hero p{margin:0 0 20px;font-size:15px}.chapter-hero-meta{display:flex;gap:17px;flex-wrap:wrap;font-size:13px;font-weight:700}.chapter-hero-meta span{display:inline-flex;align-items:center;gap:6px}.chapter-hero-watermark{position:absolute;left:8%;top:20px;font-size:125px;opacity:.6;transform:rotate(-17deg)}.stage-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:40px 0 22px}.stage-count{font-size:13px;color:#858b9f;background:#fff;border:1px solid #e9ebf3;border-radius:99px;padding:8px 13px;white-space:nowrap}.stage-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.stage-tile{min-height:133px;background:#fff;border:2px solid #e9eaf3;border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#6655ec;transition:.2s}.stage-tile:hover:not(:disabled){transform:translateY(-4px);box-shadow:0 10px 25px #6554eb1b;border-color:#bcb2f9}.stage-tile-icon{height:27px;display:grid;place-items:center}.stage-tile strong{font-size:24px;font-weight:900}.stage-tile small{font-size:12px;font-weight:700;color:#9294a7}.stage-tile.done{color:#34a76c;border-color:#c6efd9;background:#f7fef9}.stage-tile.unavailable{color:#b7bdc8;background:#f3f4f8;border-color:#f0f1f6}.stage-tile.unavailable small{color:#b7bdc8}.stage-hint{display:flex;align-items:center;gap:6px;color:#9297a7;font-size:13px;margin:19px 0}.game-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}.game-chapter-pill{background:#efecff;color:#6655dc;padding:8px 14px;border-radius:99px;font-size:13px;font-weight:800}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 256px;gap:22px;align-items:start}.game-board{min-width:0;background:#fff;border:1px solid #e9eaf4;border-radius:24px;padding:29px 36px 34px;box-shadow:0 12px 38px #3338670a}.game-board-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.question-progress{font-size:14px;color:#777b90;font-weight:800}.question-dots{display:flex;gap:5px;margin-top:11px;direction:rtl}.question-dots span{width:30px;height:6px;background:#edf0f6;border-radius:20px}.question-dots span.active{background:#6655ec}.timer{display:flex;align-items:center;gap:6px;color:#6655ec;background:#f0eeff;border-radius:12px;padding:9px 12px;min-width:108px;justify-content:center}.timer strong{font-size:21px}.timer span{font-size:12px}.timer.urgent{background:#fff0ed;color:#e5554a}.question-area{text-align:center;padding:44px 0 36px}.question-badge{display:inline-block;border-radius:99px;padding:7px 15px;background:#f5f6fa;color:#73778d;font-size:13px;font-weight:700}.equation{display:flex;align-items:center;justify-content:center;gap:18px;direction:ltr;margin:21px 0 15px;font-size:clamp(39px,6vw,64px);line-height:1.4;font-weight:900;color:#282944}.equation em{font-style:normal;color:#9b90e8}.question-mark{color:#6655ed}.question-area p{color:#a1a5b5;margin:0;font-size:14px}.answers-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.answer-option{display:flex;align-items:center;gap:14px;min-height:76px;padding:12px 18px;border:2px solid #e9ebf3;background:#fff;border-radius:15px;color:#34364f;transition:.18s}.answer-option:hover:not(:disabled){border-color:#8877f0;background:#f8f7ff;transform:translateY(-2px)}.answer-option:focus-visible,.stage-tile:focus-visible,button:focus-visible{outline:3px solid #a99aff;outline-offset:3px}.answer-letter{display:grid;place-items:center;width:36px;height:36px;flex:none;background:#f4f4f9;color:#9296a9;border-radius:9px;font-size:14px;font-weight:800}.answer-option strong{flex:1;text-align:center;font-size:25px;font-weight:900}.answer-option.correct{border-color:#65c996;background:#effcf4;color:#238954}.answer-option.incorrect{border-color:#f6a49d;background:#fff4f2;color:#d4554b}.answer-feedback{text-align:center;font-size:14px;font-weight:800;margin:17px 0 0}.answer-feedback.right{color:#2aab6a}.answer-feedback.wrong{color:#e17462}.game-sidebar{display:flex;flex-direction:column;gap:15px}.side-panel{background:#fff;border:1px solid #e9eaf4;border-radius:18px;padding:22px;box-shadow:0 8px 28px #33386708}.side-label{font-size:13px;font-weight:800;color:#888b9e}.heart-row{display:flex;gap:9px;direction:ltr;justify-content:flex-end;margin-top:17px}.heart-full{color:#f36d78}.heart-empty{color:#d6d9e1}.side-panel p{font-size:12px;color:#a3a6b3;margin:14px 0 0;line-height:1.8}.reward-number{font-size:25px;margin-top:13px;display:flex;align-items:center;gap:5px;color:#c48a24}.reward-number strong{font-size:25px}.side-tip{display:flex;gap:9px;background:#eeecff;border-radius:15px;padding:17px;color:#705fd6;font-size:12px;line-height:1.9;font-weight:700}.side-tip svg{flex:none}.result-page{display:grid;place-items:center;padding:44px 0 85px}.result-card{text-align:center;background:#fff;border:1px solid #e9eaf4;border-radius:26px;padding:45px 35px;max-width:550px;width:100%;box-shadow:0 18px 60px #33386711}.result-illustration{width:106px;height:106px;border-radius:30px;background:#fff4d9;display:grid;place-items:center;font-size:61px;margin:0 auto 25px;transform:rotate(-8deg)}.result-card.lose .result-illustration{background:#eeecff}.result-kicker{font-size:14px;font-weight:800;color:#6e5cdd}.result-card h1{font-size:34px;font-weight:900;margin:8px 0 10px}.result-card>p{font-size:15px;color:#898d9f;line-height:1.9;margin:0 auto;max-width:410px}.earned-coins{background:#fff7e8;border:1px dashed #f1d28e;border-radius:13px;display:flex;align-items:center;justify-content:center;gap:8px;padding:15px;margin:25px auto 0;max-width:300px;color:#9b6d20}.earned-coins span{font-size:23px}.earned-coins strong{font-size:21px}.earned-coins small{font-size:11px;color:#a39a83}.result-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:29px}.result-actions .text-button{width:100%;border:0;background:none;color:#858ba2;min-height:42px;font-size:13px;font-weight:700}.result-actions .text-button:hover{color:#6655ec}.chapter-complete{display:flex;align-items:center;justify-content:center;gap:7px;color:#37a86c!important;margin-top:12px!important;font-weight:800}.about-page{max-width:760px;margin:0 auto;width:100%}.about-card{background:#fff;border:1px solid #ecedf4;box-shadow:0 15px 45px #3035620b;border-radius:25px;text-align:center;padding:48px 42px;margin-top:22px}.about-avatar{width:110px;height:110px;border-radius:32px;background:#eeebff;display:grid;place-items:center;margin:0 auto 20px;color:#6655ec}.about-card h1{font-size:32px;font-weight:900;margin:5px 0}.about-divider{width:50px;height:5px;border-radius:5px;background:#6655ec;margin:18px auto}.about-card p{line-height:2.1;color:#797e90;font-size:15px;max-width:490px;margin:0 auto 27px}.creator-name{max-width:420px;margin:auto;padding:17px 22px;background:#f6f5ff;border-radius:15px;display:flex;justify-content:space-between;align-items:center;gap:10px}.creator-name span{font-size:13px;color:#81839b}.creator-name strong{font-size:17px;color:#5f4ed6}.toast{position:fixed;z-index:20;bottom:25px;left:50%;transform:translate(-50%);background:#292c48;color:#fff;padding:12px 20px;border-radius:13px;box-shadow:0 15px 35px #22253d40;max-width:calc(100% - 32px);text-align:center;font-size:14px;font-weight:700;line-height:1.7}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#1c1b37a8;display:grid;place-items:center;padding:18px}.help-modal{background:#fff;border-radius:24px;padding:32px;position:relative;width:100%;max-width:470px;box-shadow:0 25px 70px #18192d40}.modal-close{position:absolute;left:20px;top:20px;width:40px;height:40px;border:0;border-radius:10px;background:#f4f4f9;color:#8589a1;display:grid;place-items:center}.help-icon{width:65px;height:65px;border-radius:17px;background:#fff4d9;display:grid;place-items:center;font-size:33px}.help-modal h2{font-size:25px;font-weight:900;margin:18px 0 7px}.help-modal p,.help-modal li{font-size:14px;line-height:2;color:#777b8e}.help-modal ul{padding:0;list-style:none;margin:17px 0 25px}.help-modal li{display:flex;align-items:flex-start;gap:8px;margin:7px 0}.help-modal li svg{color:#6655ed;flex:none;margin-top:5px}.help-modal .primary-button{width:100%}.profile-button{display:flex;align-items:center;gap:7px;min-height:43px;max-width:165px;padding:7px 11px;background:#f3f1ff;color:#5848cd;border:1px solid #e5e0ff;border-radius:12px;font-weight:800;font-size:13px}.profile-button .profile-button-text{display:flex;flex-direction:column;align-items:flex-start;min-width:0;overflow:hidden;line-height:1.25}.profile-button strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.profile-button small{font-size:11px;font-weight:700;white-space:nowrap;color:#7668ce;margin-top:3px}.profile-button svg{flex:none}.profile-button:hover,.logout-button:hover{background:#e9e5ff}.logout-button{min-height:43px;padding:7px 12px;border:1px solid #e5e0ff;border-radius:12px;background:#fff;color:#6655dc;font-size:13px;font-weight:800;white-space:nowrap}.accounts-page{max-width:670px;width:100%;margin:0 auto;padding:55px 0 85px}.accounts-heading{text-align:center;margin-bottom:30px}.accounts-heading h1{font-size:clamp(27px,5vw,37px);font-weight:900;margin:7px 0}.accounts-heading p{font-size:15px;color:#777d91;line-height:1.9;margin:0}.accounts-heading small{display:block;color:#9297a8;font-size:13px;margin-top:6px}.profiles-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px}.profile-card{width:100%;min-width:0;display:flex;align-items:center;gap:12px;text-align:right;border:1px solid #e9e8f5;border-radius:18px;background:#fff;padding:15px;color:#6655ec;min-height:91px;transition:.2s}.profile-card:hover,.profile-card.selected{border-color:#a99af9;background:#f8f7ff;transform:translateY(-2px)}.profile-avatar{flex:none;width:45px;height:45px;display:grid;place-items:center;background:#efedff;border-radius:13px}.profile-details{flex:1;min-width:0}.profile-details strong{display:block;color:#262841;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-details small{display:block;color:#888da1;font-size:12px;margin-top:3px}.create-profile{background:#fff;border:1px solid #e9eaf4;border-radius:22px;padding:24px;box-shadow:0 12px 32px #3338670a}.create-profile h2{font-size:21px;font-weight:900;margin:0 0 16px}.create-profile label{display:block;font-size:14px;font-weight:800;margin-bottom:8px}.profile-form-row{display:flex;gap:10px}.profile-form-row input{flex:1;min-width:0;height:50px;border:1px solid #dddfee;border-radius:12px;padding:10px 14px;font:inherit;font-size:15px;outline:none}.profile-form-row input:focus{border-color:#6655ec;box-shadow:0 0 0 3px #6655ec22}.profile-error{color:#c33a4b;font-size:13px;margin:10px 0 0}.account-limit{font-size:13px;color:#8c91a1;margin:15px 0 0}.account-limit-full{text-align:center;background:#fff;border:1px solid #e9eaf4;border-radius:15px;padding:18px}@media(max-width:900px){.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{min-height:430px}.hero-art{transform:scale(.85)}.game-layout{grid-template-columns:minmax(0,1fr) 210px}.game-board{padding:24px}.game-sidebar .side-panel{padding:17px}}@media(max-width:680px){.header-inner,.main-content,.footer-inner{padding-left:18px;padding-right:18px}.site-header{height:auto;min-height:69px}.header-inner{min-height:69px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.header-actions{flex:1;min-width:0;justify-content:flex-end;flex-wrap:wrap}.profile-button{max-width:120px}.accounts-page{padding-top:35px}.profiles-list{grid-template-columns:1fr}.brand{font-size:23px}.brand-mark{width:36px;height:36px;font-size:32px}.hero{grid-template-columns:1fr;padding:35px 0 42px;gap:0}.hero h1{font-size:39px;letter-spacing:0}.hero-copy>p{font-size:15px;line-height:1.9}.hero-art{height:295px;transform:scale(.82);margin:-8px 0 -20px}.hero-art:before{width:310px}.math-card-main{top:59px}.math-card-back{top:8px}.art-coin{top:100px}.hero-stats{margin-top:27px}.chapters-section{padding-bottom:47px}.section-heading h2{font-size:25px}.chapter-grid{gap:12px}.chapter-card{padding:16px;border-radius:17px}.chapter-card h3{font-size:20px}.chapter-icon{width:49px;height:49px;font-size:26px}.chapter-card p{min-height:69px}.chapter-progress{margin:16px 0}.card-button{font-size:12px;padding:5px}.bottom-banner{padding:18px;flex-wrap:wrap;margin-bottom:50px;gap:12px}.bottom-banner>div:nth-child(2){flex:1;min-width:180px}.bottom-banner button{margin-right:0;width:100%;justify-content:center}.footer-inner{flex-wrap:wrap}.footer-love{width:100%;text-align:center}.chapter-hero{padding:25px;min-height:190px}.chapter-hero h1{font-size:29px}.chapter-hero-watermark{font-size:85px;left:4%;top:42px}.stage-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.stage-tile{min-height:106px}.stage-title{margin-top:31px}.stage-title h2{font-size:25px}.game-layout{grid-template-columns:1fr}.game-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.side-tip{grid-column:1/-1}.heart-row{gap:3px}.side-panel{min-width:0}.question-area{padding:34px 0 29px}.game-board{padding:21px 17px 24px}.answer-option{min-height:67px;padding:8px 10px;gap:6px}.answer-option strong{font-size:21px}.answer-letter{width:29px;height:29px;font-size:12px}.answers-grid{gap:9px}.result-card{padding:37px 20px}.result-card h1{font-size:29px}}@media(max-width:390px){.header-actions{gap:5px}.profile-button{max-width:100px;padding:6px}.logout-button{padding:6px;font-size:11px}.sound-button{width:38px;height:38px}.header-inner,.main-content,.footer-inner{padding-left:14px;padding-right:14px}.coin-label{display:none}.header-actions{gap:8px}.coin-counter{padding:7px 9px}.hero h1{font-size:35px}.hero-art{transform:scale(.72);margin:-35px 0 -45px}.chapter-card{padding:13px}.chapter-index{font-size:10px;padding:5px}.chapter-card p{font-size:12px}.chapter-progress{margin:12px 0}.card-button{font-size:11px}.chapter-hero-watermark{opacity:.25}.stage-count{font-size:11px;padding:7px}.game-chapter-pill{font-size:11px;padding:8px}.equation{gap:9px;font-size:38px}.question-dots span{width:21px}.result-actions{flex-direction:column}.result-actions .primary-button,.result-actions .soft-button{width:100%}.earned-coins{flex-wrap:wrap}.creator-name{flex-direction:column}}
