/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-outline-style:solid}}}@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;@layer utilities{.min-h-dvh{min-height:100dvh}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}}html{font-family:Vazirmatn,system-ui,sans-serif}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}.game-shell{display:flex;flex-direction:column;min-height:100dvh;background:#fffaf3;color:#38302b;font-family:Vazirmatn,sans-serif;overflow-x:hidden}.game-shell main{flex:1}.site-header{width:100%;max-width:1152px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:16px 16px 8px}.brand-button{display:inline-flex;min-height:48px;align-items:center;gap:10px;border:0;background:none;color:#352b28;font-size:19px;font-weight:900;cursor:pointer}.brand-button strong{color:#e85520}.brand-symbol{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#ff7c23;color:#fff;font-size:27px;box-shadow:0 4px #dd5c14}.icon-button{display:grid;place-items:center;width:46px;height:46px;border:1px solid #f3d8bd;border-radius:14px;background:#fff;color:#d96b25;cursor:pointer}.icon-button:hover,.icon-button:focus-visible{background:#fff1df}.welcome-main{width:100%;max-width:1152px;margin:auto;padding:28px 16px 64px;display:grid;align-items:center;gap:36px}.welcome-copy{min-width:0}.teacher-pill,.page-pill{display:inline-flex;align-items:center;border-radius:999px;padding:9px 15px;font-size:14px;font-weight:800}.teacher-pill{background:#ffedcc;color:#a85a13}.page-pill{margin:0 8px 8px 0;background:#e8f7fc;color:#1c7798}.welcome-copy h1{margin:20px 0 12px;font-size:clamp(35px,6vw,58px);line-height:1.4;font-weight:900}.welcome-copy h1 em{display:block;color:#f26820;font-style:normal}.welcome-copy>p{max-width:540px;margin:0 0 26px;color:#776b61;font-size:16px;line-height:2}.welcome-copy label{display:block;margin-bottom:8px;font-size:16px;font-weight:800}.welcome-copy input{display:block;width:100%;max-width:440px;min-height:56px;padding:12px 17px;border:2px solid #e9d7c4;border-radius:16px;background:#fff;color:#352c28;font:inherit;font-size:16px;outline:none}.welcome-copy input:focus{border-color:#ed7a2d;box-shadow:0 0 0 3px #ffe2c5}.field-error{margin:8px 0!important;color:#bb3732!important;font-size:14px!important}.primary-button{display:inline-flex;min-height:52px;align-items:center;justify-content:center;gap:10px;padding:11px 23px;border:0;border-radius:15px;background:#ef7025;color:#fff;font-family:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 4px #bd501b;transition:transform .2s,background .2s}.primary-button:hover{background:#dc5f17;transform:translateY(-2px)}.primary-button:active{transform:translateY(2px)}.primary-button:focus-visible,.choice:focus-visible,.blank-button:focus-visible,.text-button:focus-visible,.hint-button:focus-visible,.brand-button:focus-visible{outline:3px solid #20a9dc;outline-offset:3px}.start-button{margin-top:17px;width:100%;max-width:440px}.best-score{display:flex;align-items:center;gap:8px;margin-top:22px;color:#a76818;font-weight:800}.welcome-board,.worksheet-card,.answer-card,.finish-card{min-width:0;border:1px solid #f0dfcb;border-radius:25px;background:#fff;box-shadow:0 18px 55px -33px #97653e66}.welcome-board{width:100%;max-width:490px;margin:auto;padding:16px}.welcome-board-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;margin-bottom:15px;font-size:14px;font-weight:900}.welcome-board-top span:last-child{color:#db6b26}.welcome-board>p{margin:15px 2px 0;padding:10px;border-radius:12px;background:#fff4e5;color:#975825;font-size:14px;font-weight:700;text-align:center}.book-grid{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));width:100%;max-width:490px;margin:0 auto;border-top:3px solid #e29345;border-left:3px solid #e29345;background:#fff;direction:ltr}.book-grid-2{max-width:315px}.book-grid-3{max-width:400px}.book-grid-4{max-width:500px}.book-cell{position:relative;display:flex;aspect-ratio:1;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden;border-right:3px solid #e29345;border-bottom:3px solid #e29345;background:#fff}.book-corner{background:#fa7d23}.book-guide:not(.book-corner){background:#fffdf8}.art-icon{display:block;width:88%;height:88%;max-width:110px;max-height:110px;overflow:visible}.book-corner .art-icon{width:85%;height:85%}.book-empty{background:#fffefd}.book-active{background:#fff8e8;box-shadow:inset 0 0 0 3px #f6b23d}.blank-button{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border:0;background:transparent;cursor:pointer}.blank-button .art-icon{opacity:.35;filter:grayscale(1)}.blank-question{position:absolute;right:5px;bottom:2px;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#ef7025;color:#fff;font-size:16px;font-weight:900;line-height:1}.blank-button:hover{background:#fff4df}.play-main{width:100%;max-width:1152px;margin:auto;padding:16px 16px 65px}.progress-header{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:12px;max-width:1030px;margin:0 auto 13px}.eyebrow{font-size:14px;font-weight:800;color:#dc7632}.progress-header h1{margin:4px 0 0;font-size:clamp(22px,4vw,30px);font-weight:900}.score-pill{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid #f0d5a4;border-radius:14px;background:#fff5de;color:#b77516;font-weight:900}.progress-track{height:9px;max-width:1030px;margin:0 auto 22px;overflow:hidden;border-radius:10px;background:#f2e7d9}.progress-track>div{height:100%;border-radius:10px;background:#f39839;transition:width .3s}.play-layout{display:grid;gap:20px;max-width:1030px;margin:auto;align-items:start}.worksheet-card{padding:16px}.worksheet-heading{text-align:center;margin-bottom:19px}.worksheet-tag{display:inline-block;padding:5px 13px;border-radius:20px;background:#fff0d9;color:#bd6320;font-size:14px;font-weight:800}.worksheet-heading h2{margin:7px 0 3px;font-size:24px;font-weight:900}.worksheet-heading p{margin:0;color:#766c62;font-size:14px;line-height:1.9}.worksheet-footnote{text-align:center;margin-top:15px;color:#94633e;font-size:14px;font-weight:700;line-height:1.9}.answer-card{padding:21px}.answer-heading{display:flex;align-items:center;gap:11px;margin-bottom:18px}.answer-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;background:#ffedcc;color:#e36b23;font-size:28px;font-weight:900}.answer-heading h2{margin:0;font-size:20px;font-weight:900}.answer-heading p{margin:3px 0 0;color:#877a6c;font-size:14px;line-height:1.7}.choices-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choice{display:flex;align-items:center;justify-content:center;min-width:0;height:104px;border:2px solid #f0ddc9;border-radius:16px;background:#fffdf9;cursor:pointer;transition:border-color .2s,transform .2s,background .2s}.choice .art-icon{width:80px;height:80px}.choice:hover{border-color:#ee9b50;background:#fff5e5;transform:translateY(-2px)}.choice-wrong{border-color:#e45a52;background:#fff0ed}.answer-feedback{min-height:45px;padding:13px 0 6px;text-align:center;color:#aa6132;font-size:14px;font-weight:700;line-height:1.7}.hint-button{display:flex;min-height:44px;align-items:center;gap:6px;margin:auto;padding:5px 12px;border:0;border-radius:10px;background:transparent;color:#c46626;font-family:inherit;font-size:14px;font-weight:800;cursor:pointer}.hint-button:hover{background:#fff3e4}.hint-text{margin:8px 0 0;padding:12px;border-radius:12px;background:#fff5e0;color:#805728;font-size:14px;line-height:1.9}.stage-success{text-align:center;padding:22px 0}.success-icon{display:grid;place-items:center;width:67px;height:67px;margin:0 auto 15px;border-radius:22px;background:#e1f8eb;color:#238b57}.stage-success h2{margin:0;font-size:21px;font-weight:900}.stage-success p{margin:10px 0 23px;color:#786d62;font-size:15px;line-height:1.9}.stage-success .primary-button{width:100%}.finish-main{display:flex;align-items:center;justify-content:center;padding:45px 16px 85px}.finish-card{width:100%;max-width:510px;padding:30px 22px;text-align:center}.finish-trophy{display:grid;place-items:center;width:85px;height:85px;margin:0 auto 19px;border-radius:26px;background:#fff1cb;color:#d69419}.finish-card h1{margin:20px 0 8px;font-size:clamp(25px,5vw,36px);font-weight:900}.finish-card>p{color:#75685f;line-height:1.9}.finish-score{display:flex;flex-direction:column;gap:3px;margin:23px 0;padding:18px;border-radius:17px;background:#fff5e6;color:#8c5d35;font-weight:800}.finish-score strong{color:#e97428;font-size:35px}.finish-score small{font-weight:500}.finish-card .primary-button{width:100%}.text-button{display:flex;min-height:48px;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:10px;border:0;border-radius:12px;background:transparent;color:#bc6122;font-family:inherit;font-size:15px;font-weight:800;cursor:pointer}.text-button:hover{background:#fff4e4}.game-shell footer{padding:15px 16px 24px;text-align:center;color:#a6907d;font-size:13px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:16px;background:#2d2118a6}.help-dialog{position:relative;width:100%;max-width:440px;padding:29px;border-radius:23px;background:#fff;box-shadow:0 20px 60px #271d1870}.close-help{position:absolute;left:16px;top:16px}.help-dialog h2{margin:5px 0 18px;font-size:24px;font-weight:900}.help-dialog p{padding:11px 13px;border-radius:12px;background:#fff6e9;color:#715e50;font-size:15px;line-height:1.9}.help-dialog .primary-button{width:100%;margin-top:12px}@media(min-width:768px){.site-header{padding:22px 30px 10px}.welcome-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:35px;padding:50px 30px 90px}.play-main{padding:26px 30px 80px}.worksheet-card{padding:25px}.play-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px}.answer-card{margin-top:40px;padding:26px}.choice{height:120px}.choice .art-icon{width:92px;height:92px}}.worksheet-preview{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;margin-top:14px;padding:10px;border:1px dashed #dfd1bf;border-radius:14px;color:#806956;font-size:14px;font-weight:800}.worksheet-preview .art-icon{width:42px;height:42px}.worksheet-sudoku,.worksheet-sudoku .book-cell{border-color:#8b8983}.worksheet-sudoku .book-corner{background:#fff}.worksheet-sudoku .book-guide:not(.book-corner){background:#fff}.worksheet-sudoku .book-empty{background:#f7f8f5}.choices-grid-many{grid-template-columns:repeat(2,minmax(0,1fr))}.choices-grid-many .choice{height:86px}.choices-grid-many .choice .art-icon{width:67px;height:67px}.book-empty .blank-button{border:2px dashed #e8ac67;top:5px;right:5px;bottom:5px;left:5px;width:calc(100% - 10px);height:calc(100% - 10px);border-radius:9px}.book-empty .blank-question{right:50%;bottom:50%;transform:translate(50%,50%);width:32px;height:32px}.worksheet-sudoku .book-empty .blank-question{background:#777a70}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
