@font-face{font-family:FactoryArabic;src:url(../assets/fonts/NotoSansArabic.ttf) format("truetype");font-weight:100 900;font-display:swap}:root{font-family:FactoryArabic,Tahoma,sans-serif;color:#263858;background:#fff5de;font-synthesis:none;font-weight:500;--navy:#263858;--world:#29c7c9;--accent:#ffd45b;--dark:#168c9f;--sky:#ddf6f7}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button svg{flex-shrink:0}button{border:0}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #263858;outline-offset:3px}button:disabled{cursor:default;filter:saturate(.4);opacity:.48}button:not(:disabled):active{translate:0 2px}h1,h2,p{margin:0}h1,h2{line-height:1.5}svg{vertical-align:middle}body[data-screen=play]{overflow:hidden}button img{pointer-events:none}button>*{pointer-events:none}.game-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:2px solid #26385818;min-height:49px;padding:8px 21px;border-radius:16px;font-weight:800;box-shadow:0 4px #26385826;white-space:nowrap;transition:background .15s,box-shadow .15s}.game-button.primary{background:#29c7c9;color:#163c4b;border-color:#20a8b0}.game-button.primary:hover{background:#4ad9d8}.game-button.cream{background:#fffdf6;border-color:#e1d8c2}.round-button{width:45px;height:45px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:1.5px solid #2638581c;background:#fffdf6;border-radius:14px;box-shadow:0 3px #26385812}.link-button{background:transparent;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px;font-weight:800;min-height:36px;padding:4px 9px}.eyebrow{display:block;letter-spacing:.2px;font-size:11px;font-weight:800;color:#447574}.eyebrow i{display:inline-block;width:7px;height:7px;background:#29c7c9;border-radius:50%;margin-left:7px}.site-header{height:88px;display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1200px;margin:auto;padding:12px 32px}.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:24px;line-height:1.3}.brand small{display:block;font-size:10px;font-weight:700;color:#6c7c88;margin-top:4px}.brand-emblem{height:43px;width:43px;display:grid;place-items:center;background:#ffd45b;border:2px solid #26385814;border-radius:13px;rotate:-8deg}.header-tools{display:flex;align-items:center;gap:16px}.star-total{display:flex;gap:7px;align-items:center;font-size:14px;font-weight:800}.star-total svg{color:#e4a93c}.home-shell{min-height:100dvh;background:radial-gradient(ellipse at 26% 45%,#e6f6ec 0%,transparent 58%),#fff8e9}.home-main{max-width:1260px;margin:auto;min-height:calc(100dvh - 173px);display:grid;grid-template-columns:.95fr 1.2fr;align-items:center;padding:12px 42px 35px;gap:30px}.home-copy h1{font-size:clamp(34px,4.2vw,62px);font-weight:900;letter-spacing:-1.5px;margin:14px 0 20px}.home-copy h1 span{color:#159d9f;position:relative}.home-copy p{font-size:17px;color:#667c86;line-height:2}.home-actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0}.home-actions .game-button{min-height:56px;font-size:15px}.journey{max-width:325px;margin-top:32px}.journey>div:first-child{display:flex;justify-content:space-between;font-size:11px;margin-bottom:8px}.journey span{color:#6c7c88}.progress-rail{background:#dfe8db;border-radius:6px;height:8px;overflow:hidden}.progress-rail i{display:block;height:100%;min-width:5px;background:#29c7c9;border-radius:6px}.journey small{display:block;font-size:10px;margin-top:8px;color:#7d8e91}.home-factory{height:430px;position:relative;isolation:isolate}.home-factory:before{content:"";position:absolute;inset:2% -3% 0;border-radius:46% 48% 40% 45%;background:#c9ede1;border:12px solid #e7f4de;z-index:-1}.home-factory:after{content:"";position:absolute;inset:9% 5% 3%;border-radius:40%;box-shadow:0 25px 45px #26385813;z-index:-1}#home-scene{height:100%;width:100%;overflow:hidden;border-radius:46% 46% 28% 35%}canvas{display:block;width:100%;height:100%;touch-action:none}.art-tag{display:flex;align-items:center;gap:10px;position:absolute;z-index:2;background:#fffdf4;border:2px solid #fff;border-radius:15px;box-shadow:0 8px 25px #26385817;padding:9px 15px;font-size:12px;font-weight:800}.tag-top{top:0;left:20px;rotate:-4deg}.tag-top svg{color:#d89c26}.tag-bottom{bottom:9px;right:0;rotate:3deg}.tag-bottom img{width:49px;height:49px}.tag-bottom small{display:block;font-size:9px;color:#7d8d95;margin-top:3px}.floating-tokens{position:absolute;left:6%;bottom:12%;display:flex;gap:6px;rotate:-6deg}.floating-tokens span{display:grid;place-items:center;background:#fff5de;border:2px solid #f0cd7e;border-radius:10px;width:40px;height:43px;box-shadow:0 4px #dbad56;font-size:24px;font-weight:800}.home-footer{height:85px;max-width:1170px;margin:auto;border-top:1px solid #dce6d6;display:flex;align-items:center;justify-content:space-between;color:#788b8b;font-size:11px;padding:20px}.home-footer i{margin:0 14px;color:#d2bd85}.home-footer button{background:transparent;color:#537278;display:flex;gap:8px;font-weight:800}.map-shell{min-height:100dvh;background:#fff8ea}.map-main{max-width:1140px;margin:auto;padding:22px 28px}.map-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.map-heading h1{font-size:31px;margin:5px 0}.map-heading p,.collection-shell main>p{font-size:13px;color:#7d8d95}.world-tabs{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.world-tab{background:#fffdf6;border:2px solid #eae3cf;border-radius:17px;padding:12px 7px;font-size:10px;display:flex;align-items:center;gap:6px;position:relative;min-height:80px}.world-tab img{width:49px;height:51px;object-fit:contain}.world-tab b{position:absolute;top:4px;right:6px;font-size:10px}.world-tab span{font-weight:800;text-align:right;line-height:1.8}.world-tab.active{background:color-mix(in srgb,var(--tab) 15%,white);border-color:var(--tab);box-shadow:0 4px color-mix(in srgb,var(--tab) 55%,white)}.world-map{margin-top:25px;border:2px solid #e4ddca;border-radius:28px;overflow:hidden;background:#fffcf5;box-shadow:0 8px #e9e0ca}.map-illustration{height:190px;background-position:center;background-size:cover;display:flex;justify-content:center;align-items:center;gap:35px}.map-illustration>img{width:210px;height:170px;object-fit:contain}.map-illustration h2{font-size:25px}.map-illustration p{font-size:12px;margin-top:4px}.level-track{display:grid;grid-template-columns:repeat(10,1fr);gap:12px;padding:35px 24px;position:relative}.level-track:before{content:"";height:7px;background:repeating-linear-gradient(90deg,#c8ded7 0 12px,transparent 12px 16px);position:absolute;left:42px;right:42px;top:68px}.level-stop{background:transparent;display:flex;flex-direction:column;align-items:center;gap:4px;position:relative}.level-stop>span{width:56px;height:56px;background:#fff5de;border:3px solid #dbcfad;box-shadow:0 5px #cfbb8f;border-radius:19px;display:grid;place-items:center;font-size:23px;font-weight:900}.level-stop.finished>span{background:#d9f6df;border-color:#75c78c}.level-stop.boss>span{background:var(--accent);border-color:#d7ae48;border-radius:17px;rotate:6deg}.level-stop b{font-size:10px;margin-top:6px}.level-stop small{color:#d3a539;font-size:13px;height:22px}.map-caption{text-align:center;font-size:11px;color:#7d8d95;padding:20px}.play-shell{height:100vh;height:100dvh;max-height:100dvh;display:grid;grid-template-rows:57px 75px minmax(125px,1fr) auto 38px;grid-template-columns:minmax(0,1fr);padding:env(safe-area-inset-top) max(env(safe-area-inset-right),12px) env(safe-area-inset-bottom) max(env(safe-area-inset-left),12px);background:var(--sky);overflow:hidden;gap:0}.game-hud{display:flex;align-items:center;gap:10px;min-width:0}.game-hud>.round-button{width:42px;height:42px;border-radius:13px}.level-title{flex:1;min-width:0;line-height:1.6}.level-title small{display:block;font-size:9px;color:#607a84;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.level-title small span{color:var(--dark);margin-right:7px}.level-title>b{font-size:14px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.station-count{font-size:11px;font-weight:800;color:var(--dark)}.objective{display:flex;align-items:center;justify-content:center;gap:14px;position:relative;min-height:0;padding:0 0 18px}.objective h1{font-size:17px;font-weight:600;line-height:1.8}.objective h1 strong{font-size:27px;font-weight:900;color:#263858;border-radius:10px;padding:0 5px;white-space:nowrap}.objective .eyebrow{font-size:9px;color:var(--dark)}.objective .listen{width:46px;height:46px;background:#fffdf6;border-color:#26385820;color:var(--dark)}.objective-meaning{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:10px;color:#617985;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.factory-zone{display:flex;flex-direction:column;position:relative;min-height:0;margin:8px auto 6px;width:100%;max-width:1050px;border:2px solid #26385819;border-radius:23px;background:#fff5de;overflow:hidden;box-shadow:0 4px #26385816}.factory-canvas{flex:1;min-height:80px;width:100%;overflow:hidden}.machine-callout{position:absolute;top:8px;left:50%;transform:translate(-50%);font-size:9px;font-weight:700;padding:3px 12px;border:1px solid #fff;background:#fffdf5d9;border-radius:20px;white-space:nowrap;pointer-events:none;max-width:96%;overflow:hidden;text-overflow:ellipsis}.mechanics{flex-shrink:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:6px;background:#fffdf4;border-top:1px solid #26385812}.mechanics:empty{display:none}.mechanism{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:45px;padding:4px 8px;border:1.5px solid #26385822;border-radius:10px;background:#f2f6ef;min-width:0}.mechanism>span{font-size:10px;font-weight:800;text-align:right;line-height:1.6}.mechanism svg{width:15px;height:15px;color:var(--dark)}.mechanism small{display:block;font-size:8px;color:#687f8b}.mechanism>b{font-size:9px;color:var(--dark);white-space:nowrap}.sequence-control{grid-column:span 3;display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:44px;background:#f4f0e6;border-radius:10px;padding:3px 9px;font-size:10px;font-weight:800}.sequence-control>div{display:flex;gap:7px}.sequence-button{width:44px;height:38px;border:1.5px solid #cabf9e;background:#fff5de;border-radius:9px;font-weight:900}.sequence-button.active{background:#75d58a;opacity:1}.workbench{width:100%;max-width:780px;margin:auto;background:#fffdf5;border:2px solid #ded8c5;border-radius:20px;padding:5px 10px 9px;box-shadow:0 4px #26385814;align-self:end;min-width:0}.bench-top{display:flex;align-items:center;justify-content:space-between;min-height:29px}.bench-top>span{font-size:10px;font-weight:700;color:#607887}.bench-top .link-button{min-height:29px;padding:0 3px;font-size:10px}.letter-slots,.letter-bank{display:flex;justify-content:center;align-items:flex-start;gap:6px;direction:rtl;flex-wrap:wrap;min-width:0}.letter-slots{margin:4px 0 8px}.slot-wrap,.token-wrap{display:flex;flex-direction:column;align-items:center;min-width:0}.letter-slot{height:53px;min-width:47px;max-width:105px;padding:1px 7px 8px;border:2px dashed #c8d2c7;border-radius:11px;position:relative;background:#edf4eb;line-height:1.8}.letter-slot>span{font-size:27px;font-weight:800}.letter-slot>small{position:absolute;bottom:1px;left:0;right:0;line-height:10px;font-size:7px;color:#7f938c}.letter-slot.prefilled{border-style:solid;border-color:#c8b88b;background:#f9edc9}.letter-slot.filled{border-style:solid;border-color:#55b4a0;background:#e2f7ee}.letter-slot.repair{border-style:solid;border-color:#eeaf74;background:#fff0db}.letter-slot.repair:before{content:"؟";position:absolute;right:-4px;top:-6px;font-size:10px;background:#ff906b;border:2px solid #fff5de;border-radius:50%;width:19px;height:19px;line-height:16px}.letter-bank{position:relative;background:repeating-linear-gradient(90deg,#b9cac7 0 3px,#dbe5df 3px 12px);border:3px solid #b6c7c3;border-radius:14px;padding:5px 6px 7px;min-height:58px;box-shadow:inset 0 -5px #26385813;gap:7px}.letter-token{min-width:46px;height:46px;padding:0 9px;font-size:25px;line-height:1.8;font-weight:800;border:2px solid #ddb970;border-radius:10px;background:linear-gradient(#fffdf2,#ffe5a2);box-shadow:0 3px #b79351;touch-action:none}.letter-token.selected{background:#b9f0e9;border-color:#168c9f;box-shadow:0 0 0 3px #29c7c944,0 3px #168c9f}.letter-token.used{opacity:.5;box-shadow:none;border-style:dotted}.mini-letters{display:flex;justify-content:center;direction:rtl;gap:1px;max-width:135px}.mini-letter{background:transparent;font-size:15px;line-height:1.8;padding:0 3px;min-width:23px;height:27px;border-radius:5px;pointer-events:auto}.mini-letter:hover{background:#ffd45b55}.mini-letter:focus-visible{outline-offset:0}.bench-actions{display:flex;gap:8px;justify-content:center;margin-top:10px;align-items:center}.bench-actions>.round-button{width:40px;height:40px;border-radius:11px}.bench-actions .game-button{min-height:42px;font-size:12px;border-radius:12px;padding:3px 13px;gap:6px}.machine-start{background:#ffd45b;border-color:#d8af4c}.machine-start:not(:disabled){box-shadow:0 4px #bb8c31,0 0 0 3px #ffd45b33}.game-feedback{display:flex;align-items:center;justify-content:center;gap:6px;position:relative;text-align:center;font-size:9px;color:#4f6c7b;line-height:1.7;padding:4px 0}.feedback-light{width:6px;height:6px;background:#29a699;border-radius:50%;flex-shrink:0}.audio-status{position:absolute;left:0;right:0;bottom:0;background:#fff5de;font-size:8px}.audio-status:empty{display:none}.speaking{outline:3px solid #f4b41a!important;outline-offset:1px;background-color:#fff2c5!important}.hinted{outline:3px solid #29c7c9;outline-offset:2px}.drag-ghost{position:fixed;z-index:1000;pointer-events:none;transform:translate(-50%,-50%);font-size:30px;background:#fff5de;border:3px solid #29c7c9;border-radius:13px;padding:0 10px;box-shadow:0 8px 30px #26385833;direction:rtl}.modal-shade{position:fixed;inset:0;z-index:100;background:#23384980;backdrop-filter:blur(5px);display:grid;place-items:center;padding:max(env(safe-area-inset-top),12px) 14px max(env(safe-area-inset-bottom),12px)}.game-modal{background:#fffdf4;border:3px solid #fff;border-radius:27px;box-shadow:0 12px #26385835,0 20px 60px #26385840;max-width:410px;width:100%;max-height:100%;overflow:auto;text-align:center;padding:24px 29px;position:relative}.game-modal h2{font-size:24px;font-weight:900;margin:7px 0}.game-modal p{font-size:12px;color:#718592;line-height:1.9;margin:10px 0 18px}.full{width:100%}.modal-emblem{width:67px;height:67px;background:#e0f1e5;border:2px solid #c1dfcf;border-radius:23px;display:grid;place-items:center;margin:0 auto 14px;rotate:4deg}.modal-secondary{display:flex;gap:9px;margin:12px 0}.modal-secondary .game-button{flex:1;font-size:11px;padding:5px 8px;min-height:44px}.result-product{display:block;width:112px;height:112px;object-fit:contain;margin:0 auto 4px;filter:drop-shadow(0 8px 12px #ddbc7044)}.result-word{display:block;font-size:24px;line-height:1.9}.result-letters{display:flex;justify-content:center;gap:5px}.result-letters .mini-letter{min-width:34px;min-height:32px;font-size:19px}.success-ribbon{display:inline-block;background:#ffd45b;border-radius:7px;padding:2px 20px;font-size:12px;font-weight:900;rotate:-3deg;margin-bottom:5px}.result-stars{display:flex;justify-content:center;gap:10px;margin:9px}.result-stars span{color:#dae2da}.result-stars .earned{color:#edb63b;filter:drop-shadow(0 3px 0 #bd8d31)}.result-stars span:nth-child(2){translate:0 -7px}.modal-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:right;font-size:12px;margin:17px 0}.setting-row input[type=range]{width:125px;accent-color:#29c7c9}.setting-row input[type=checkbox]{width:24px;height:24px;accent-color:#29c7c9}.setting-row select{max-width:185px;font-size:10px;border:1px solid #d9dfd4;border-radius:9px;background:#f1f7ed;padding:8px}.game-modal .settings-note{font-size:10px;line-height:1.9;text-align:right;background:#fff4d7;padding:10px;border-radius:11px}.collection-shell{min-height:100dvh;background:#fff8ea}.collection-shell main{max-width:1000px;margin:auto;padding:20px 25px 45px}.collection-shell h1{font-size:30px;margin:7px 0}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:17px;margin-top:25px}.collection-item{position:relative;background:#f0eee3;border:2px solid #e1decc;border-radius:18px;padding:12px;display:flex;align-items:center;flex-direction:column;gap:5px}.collection-item img{width:78px;height:78px;filter:grayscale(1);opacity:.14}.collection-item.discovered{background:#fffdf6;border-color:#d1e5cf;box-shadow:0 4px #d8e4ce}.collection-item.discovered img{filter:none;opacity:1}.collection-item b{font-size:15px}.collection-item .round-button{position:absolute;left:6px;top:5px;width:30px;height:30px;border-radius:9px}.collection-item>svg{color:#aab5ac}@media(min-width:1000px){.play-shell{grid-template-columns:minmax(0,1.3fr) minmax(390px,.8fr);grid-template-rows:66px 90px minmax(0,1fr) 40px;column-gap:26px;padding-right:max(calc((100vw - 1280px)/2),25px);padding-left:max(calc((100vw - 1280px)/2),25px)}.game-hud{grid-column:span 2}.objective{grid-column:2;grid-row:2}.factory-zone{grid-column:1;grid-row:2 / 4;max-width:none;align-self:stretch}.workbench{grid-column:2;grid-row:3;align-self:center;padding:18px;max-width:500px}.game-feedback{grid-column:span 2}.letter-token{height:55px;min-width:54px;font-size:30px}.letter-slot{height:64px;min-width:52px}.letter-slot>span{font-size:30px}.bench-actions{margin-top:25px;flex-wrap:wrap}.bench-top{margin-bottom:15px}.letter-slots{margin-bottom:20px}.letter-bank{padding:15px 9px}.level-title>b{font-size:18px}.objective h1{font-size:22px}.objective h1 strong{font-size:35px}.objective{padding-bottom:25px}.objective-meaning{font-size:12px}.machine-callout{font-size:11px}.mechanism{min-height:54px}.mechanism>span{font-size:11px}.mechanism>b{font-size:11px}.mechanism small{font-size:9px}.game-feedback{font-size:12px}}@media(max-width:700px){.site-header{height:72px;padding:10px 18px}.brand{font-size:22px}.brand small{font-size:8px}.header-tools{gap:8px}.home-main{grid-template-columns:1fr;gap:12px;padding:12px 26px 28px;min-height:0}.home-copy{text-align:center}.home-copy .eyebrow{font-size:10px}.home-copy h1{font-size:37px;letter-spacing:-.5px;margin:9px 0}.home-copy p{font-size:12px;line-height:1.9}.home-actions{justify-content:center;gap:9px;margin:18px 0}.home-actions .game-button{font-size:12px;min-height:48px;padding:6px 13px}.journey{display:none}.home-factory{height:270px;max-width:430px;width:100%;margin:auto}.tag-top{font-size:9px;top:0;padding:7px 9px}.tag-bottom{font-size:10px;bottom:0;right:8px;padding:5px 8px}.tag-bottom img{width:38px;height:38px}.tag-bottom small{font-size:8px}.floating-tokens{bottom:11%;left:3%}.floating-tokens span{font-size:20px;width:30px;height:34px}.home-footer{height:auto;min-height:60px;flex-direction:column;gap:13px;font-size:9px;padding:16px}.map-main{padding:13px 16px}.map-heading{gap:10px}.map-heading h1{font-size:21px}.map-heading p{font-size:10px}.map-heading .game-button{font-size:10px;min-height:42px;padding:6px 10px}.world-tabs{grid-template-columns:repeat(3,1fr);gap:7px}.world-tab{min-height:75px;padding:8px 5px;font-size:8px;gap:4px}.world-tab img{width:37px;height:42px}.map-illustration{height:168px;gap:7px}.map-illustration>img{width:135px;height:140px}.map-illustration h2{font-size:16px;max-width:150px}.map-illustration p{font-size:9px;max-width:150px}.level-track{grid-template-columns:repeat(5,1fr);gap:15px 10px;padding:22px 15px}.level-track:before{display:none}.level-stop>span{width:47px;height:47px;font-size:21px}.level-stop b{font-size:8px}.level-stop small{font-size:11px}.map-shell .site-header>.brand{flex:1}.collection-shell main{padding:12px 16px}.collection-shell h1{font-size:23px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.collection-item{padding:11px 5px}.collection-item img{width:64px;height:64px}.collection-item b{font-size:11px}}@media(max-width:370px){.play-shell{padding-left:8px;padding-right:8px;grid-template-rows:54px 73px minmax(125px,1fr) auto 39px}.workbench{padding-left:6px;padding-right:6px}.letter-slots{gap:4px}.letter-slot{min-width:43px;padding-left:5px;padding-right:5px;height:51px}.letter-slot>span{font-size:26px}.letter-bank{gap:6px;padding:5px}.letter-token{min-width:44px;padding:0 6px;height:44px;font-size:24px}.bench-actions{gap:6px}.bench-actions .game-button{font-size:10px;padding:3px 9px;gap:4px}.bench-actions .game-button svg{width:18px}.bench-actions>.round-button{width:36px}.bench-top>span{font-size:9px}.mechanics{gap:4px;padding:4px}.mechanism{padding:3px 4px;gap:3px}.mechanism>span{font-size:8px}.mechanism small{font-size:7px}.mechanism>b{font-size:8px}.mechanism svg{display:none}.game-feedback,.level-title small{font-size:8px}.level-title>b{font-size:12px}.mini-letter{min-width:20px;font-size:13px;height:22px}.game-modal{padding:17px 20px}.game-modal h2{font-size:22px}}@media(orientation:landscape)and (max-height:600px){.play-shell{grid-template-columns:minmax(0,1.15fr) minmax(290px,1fr);grid-template-rows:47px 52px minmax(0,1fr) 28px;column-gap:12px;padding-left:max(env(safe-area-inset-left),12px);padding-right:max(env(safe-area-inset-right),12px)}.game-hud{grid-column:span 2}.level-title small{display:inline;font-size:8px}.level-title>b{display:inline;font-size:12px;margin-right:8px}.game-hud .round-button{height:38px;width:40px}.objective{grid-column:2;grid-row:2;padding:0 0 11px;gap:8px}.objective .eyebrow{display:none}.objective h1{font-size:12px}.objective h1 strong{font-size:22px}.objective-meaning{font-size:8px}.objective .round-button{height:37px;width:39px}.factory-zone{grid-column:1;grid-row:2 / 4;margin:3px 0;align-self:stretch;border-radius:16px}.workbench{grid-column:2;grid-row:3;padding:2px 8px 7px;align-self:center}.game-feedback{grid-column:span 2;font-size:8px}.letter-slot{height:44px;min-width:42px;padding:0 4px 7px}.letter-slot>span{font-size:23px}.letter-slots{gap:4px;margin:2px 0 5px}.letter-token{height:42px;min-width:42px;font-size:23px;padding:0 7px}.letter-bank{padding:4px;gap:5px;min-height:52px}.bench-top{min-height:23px}.bench-top>span{font-size:8px}.bench-top .link-button{font-size:9px;min-height:23px}.bench-actions{margin-top:6px;gap:6px}.bench-actions .game-button{font-size:10px;min-height:35px;padding:2px 8px;border-radius:10px}.bench-actions>.round-button{width:35px;height:34px}.mechanics{grid-template-columns:repeat(3,minmax(0,1fr));padding:4px;gap:3px}.mechanism{min-height:35px;padding:2px 5px}.mechanism>span{font-size:8px}.mechanism small{font-size:7px}.mechanism>b{font-size:8px}.mechanism svg{display:none}.sequence-control{min-height:36px;font-size:8px}.sequence-button{width:36px;height:30px}.machine-callout{top:3px;font-size:8px;padding:2px 8px}.mini-letter{height:22px;font-size:12px;min-width:20px}.result-product{width:73px;height:73px}.game-modal{max-width:490px;padding:12px 24px;display:flex;flex-direction:column;align-items:center;gap:0}.game-modal h2{font-size:19px;margin:0}.game-modal p{margin:3px 0 7px;font-size:10px}.game-modal .result-stars{position:absolute;left:18px;top:80px;gap:3px}.result-stars svg{width:27px;height:27px}.result-word{font-size:20px;line-height:1.5}.result-letters .mini-letter{min-height:24px;min-width:26px;font-size:16px}.game-modal .game-button{min-height:36px;padding:3px 15px;font-size:11px}.game-modal .link-button{min-height:25px;font-size:10px}.success-ribbon{font-size:10px;padding:1px 12px}.modal-emblem{width:42px;height:42px;margin-bottom:5px}.modal-secondary{margin:8px 0}.game-modal:has(.setting-row){display:block;max-width:520px}.setting-row{margin:9px 0;font-size:10px}.game-modal .settings-note{font-size:8px;margin:8px 0;padding:6px}.modal-heading{margin-bottom:5px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}[data-reduced-motion=true] *{animation:none!important;transition:none!important}.station-count{direction:ltr;unicode-bidi:isolate}@media(max-width:370px){.letter-slot{min-width:44px}.bench-actions>.round-button{width:44px;height:44px}}@media(orientation:landscape)and (max-height:600px){.game-hud .round-button{height:44px;width:44px}.letter-token{height:44px;min-width:44px}.bench-actions .game-button{min-height:44px}.bench-actions>.round-button{height:44px;width:44px}.mechanism{min-height:44px}.sequence-button{width:44px;height:40px}}
