@font-face{font-family:Vazirmatn;src:url(/assets/Vazirmatn.woff2) format("woff2");font-display:swap;font-weight:100 900}*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;background:#091426;color:#ecf2fb;font-family:Vazirmatn,Tahoma,sans-serif;font-size:16px;line-height:1.85}button,input,select{font:inherit}button,.button{min-height:48px;min-width:44px;border:1px solid transparent;border-radius:13px;background:#f4bd58;color:#152136;padding:10px 18px;cursor:pointer;text-decoration:none;text-align:center;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:100%}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #6ee5d5;outline-offset:3px}.quiet{background:transparent;color:#c8d8ec;border-color:#304159}.secondary{background:#20354d;color:#f0f5fb;border-color:#45617c}.row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}.wide{display:block;width:100%;text-align:right}header{max-width:1100px;margin:auto;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #23344a}.brand{color:#f4bd58;text-decoration:none;display:flex;gap:12px;font-size:27px;font-weight:800}.brand span{font-size:18px}.brand small{display:block;color:#a9bdd6;font-size:11px;font-weight:400}.header-actions{display:flex;gap:8px;flex-wrap:wrap}main{max-width:1040px;min-height:75vh;margin:auto;padding:24px 20px 110px}.hero{position:relative;overflow:hidden;border:1px solid #314760;border-radius:24px;padding:36px 28px;background:linear-gradient(120deg,#152b40,#0c1b30);margin-bottom:24px}.hero h1{font-size:clamp(26px,5vw,44px);margin:12px 0}.hero p{max-width:600px}.hero-symbol{position:absolute;font-size:240px;color:#54cab715;left:25px;top:-65px;pointer-events:none}.eyebrow{color:#75d8c9;font-size:14px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:18px}.panel,.game-card{background:#132238;border:1px solid #30435d;border-radius:20px;padding:22px;margin:14px 0;color:#ecf2fb}.game-card{text-align:right;display:block;min-height:240px}.game-icon{width:64px;height:64px;display:grid;place-items:center;background:#233d50;color:#f4bd58;border-radius:18px;font-size:38px}h1,h2,h3{line-height:1.65;overflow-wrap:anywhere}h1{font-size:26px}h2{font-size:21px}h3{font-size:18px}p{overflow-wrap:anywhere}.teal{color:#75d8c9}.muted,small{color:#b4c5d8}.balances{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.balances button{background:#15273b;color:#f4bd58;flex:1;padding:8px;font-size:18px}.balances small{font-size:11px}.balances p{width:100%;margin:2px 0;font-size:12px;color:#b4c5d8}.notice,.error{padding:12px 16px;border-radius:12px;margin:12px 0;background:#193f43;border:1px solid #4e9c94}.error{background:#492a31;border-color:#bb7482;color:#ffe3e8}.error button{margin:8px}.levels{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:10px}.levels button{background:#20354d;color:#f4bd58;min-height:85px;flex-direction:column}.levels .done{border-color:#75d8c9;color:#75d8c9}.levels small{font-size:11px}.puzzle{max-width:760px;margin:14px auto}.slots,.tile-bank{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:24px 0}.slots button,.tile-bank button{width:48px;height:54px;padding:4px;font-size:23px}.slots button{background:#071527;border:2px solid #4d647d;color:#fff}.answer-word{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:100%;padding:8px 3px;border-bottom:1px solid #37516f}.slots{column-gap:22px;row-gap:12px}.slots button,.tile-bank button{touch-action:none;-webkit-user-select:none;user-select:none}.slots .drop-target{border-color:#f4bd58;background:#38412e}.drag-letter{position:fixed;z-index:1000;pointer-events:none;width:48px;height:54px;display:grid;place-items:center;border-radius:12px;background:#f4bd58;color:#132238;font-size:24px;box-shadow:0 8px 24px #0008}.slots .locked{border-color:#7be0ce;opacity:1;color:#7be0ce}.tile-bank button:disabled{visibility:visible;opacity:.2}.clue{display:block;width:100%;max-width:420px;border-radius:14px;margin:18px auto}.result{background:#1c3d3d;padding:20px;border-radius:16px}.result button{margin:5px}label{display:block;margin:16px 0}input:not([type=checkbox],[type=radio]),select{width:100%;min-height:48px;background:#0a192c;border:1px solid #4d647d;border-radius:10px;color:#fff;padding:10px;margin-top:7px}input[type=checkbox],input[type=radio]{width:23px;height:23px;accent-color:#f4bd58;margin:0 0 0 10px}.option{min-height:48px;display:flex;align-items:center;border:1px solid #3a4e69;padding:10px;border-radius:12px}fieldset{border:0;padding:0}.bottom{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#0b192df5;border-top:1px solid #30435d;padding:8px 10px calc(8px + env(safe-area-inset-bottom));z-index:20;gap:5px}.bottom button{background:transparent;color:#bbcbde;flex:1;max-width:160px;padding:8px;font-size:14px}.bottom .selected{background:#263b50;color:#ffce74}footer{text-align:center;color:#91a8c0;padding:0 16px 110px;font-size:13px}.badge{display:inline-block;padding:8px 15px;margin:5px;background:#224638;border-radius:12px;color:#a1edd0}.tabs{display:flex;flex-wrap:wrap;gap:8px}.table-wrap{overflow:auto;max-width:100%;border:1px solid #30435d;border-radius:12px;margin:16px 0}table{border-collapse:collapse;min-width:100%;font-size:13px}th,td{padding:10px 14px;text-align:right;border-bottom:1px solid #30435d;min-width:100px;max-width:320px;overflow-wrap:anywhere}th{color:#f4bd58;background:#192d43}.admin form{max-width:650px}aside{border-right:3px solid #73d1c0;padding-right:16px}del{color:#b4c5d8}@media(max-width:420px){header{padding:14px 12px}.header-actions button{font-size:11px;padding:6px}.brand{gap:6px}.brand span{font-size:15px}main{padding:16px 12px 105px}.panel,.hero{padding:18px}.balances button{font-size:15px}.balances small{font-size:10px}.slots,.tile-bank{gap:6px}.slots button,.tile-bank button{width:44px;height:48px}.puzzle h1{font-size:22px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}:root{--game-ink: #f5f4ff;--game-muted: #aab6d1;--game-gold: #ffd076;--game-teal: #6de2c1;--game-purple: #a995ff;--game-panel: #17213b;--game-edge: #33405d}.action-sync{position:fixed;bottom:100px;left:50%;transform:translate(-50%);z-index:60;display:flex;align-items:center;justify-content:center;gap:9px;max-width:calc(100% - 28px);width:max-content;padding:9px 16px;border:1px solid #6cd4b94d;border-radius:999px;background:#163b3df2;color:#b1f3df;font-size:12px;box-shadow:0 6px 24px #0003;pointer-events:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.play-page .action-sync{bottom:18px}.action-sync:before{content:"";width:12px;height:12px;border:2px solid #7de7cb;border-inline-end-color:transparent;border-radius:50%;animation:sync-spin .8s linear infinite}.tile-bank.is-syncing button:disabled:not(.tile-used){opacity:.75;background:linear-gradient(#fff2cf,#f0cf90);color:#4c382c;border-color:#ffeabd;border-bottom-color:#aa854a}@keyframes sync-spin{to{transform:rotate(360deg)}}body{background-color:#0c1125;background-image:radial-gradient(ellipse at 85% 0,#34307145,transparent 48%),radial-gradient(ellipse at 4% 48%,#17595c1c,transparent 40%),radial-gradient(#93a4e512 1px,transparent 1px);background-size:auto,auto,28px 28px;color:var(--game-ink)}body>#root{isolation:isolate}button,.button{transition:transform .16s ease,background .16s ease,box-shadow .16s ease;border-bottom-width:3px;border-bottom-color:#ad762b;background:linear-gradient(#ffdc8c,#f6bb55);box-shadow:0 3px #0002}button:active:not(:disabled),.button:active{transform:translateY(2px);box-shadow:none}button:disabled{cursor:not-allowed}.quiet{background:#17223a88;border:1px solid #34405a;box-shadow:none}.secondary{background:linear-gradient(#314061,#23304b);border-color:#46577c;border-bottom-color:#152037}header{max-width:1120px;padding-top:20px;padding-bottom:20px;border-color:#6574a222}.brand{min-height:44px;align-items:center;gap:12px;color:#f6dc9b}.brand-mark{width:46px;height:46px;display:grid;place-items:center;flex:none;border-radius:16px;background:linear-gradient(145deg,#ffdc88,#dca23e);border-bottom:4px solid #a76d26;color:#35223d;box-shadow:0 7px 24px #e6a23e25;transform:rotate(-7deg)}.brand small{color:#91a0c0}.header-actions .quiet{min-height:44px;font-size:12px}main{max-width:1060px;padding-top:24px}.hero{min-height:310px;display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:center;gap:24px;padding:38px;border-radius:30px;border:1px solid #6657ab66;background:radial-gradient(ellipse at 10% 30%,#6860bd33,transparent 65%),linear-gradient(115deg,#1b2240,#19223c 65%,#23223e);box-shadow:0 18px 50px #0002,inset 0 1px #ffffff0c}.hero-copy{position:relative;z-index:1;min-width:0}.hero .eyebrow{display:inline-flex;align-items:center;gap:8px;color:#c4b7ff;font-size:12px;font-weight:700;letter-spacing:.2px}.hero h1{font-size:clamp(30px,4vw,46px);line-height:1.65;margin:16px 0 12px;color:#fff3d7;text-shadow:0 3px 0 #0002}.hero p{font-size:14px;line-height:2.1;color:#bdc6df;max-width:430px;margin-bottom:22px}.hero-start{padding-inline:22px;min-height:50px;border-radius:16px}.hero-tags{display:flex;flex-wrap:wrap;gap:18px;margin-top:18px;font-size:11px;color:#aeb9d3}.hero-tags>span{display:flex;align-items:center;gap:5px}.hero-tags svg{color:#76dcbf}.game-art{position:relative;flex:none;width:290px;height:250px;pointer-events:none}.art-orbit{position:absolute;border:1px dashed #bba4ff35;border-radius:50%;top:5px;right:20px;bottom:5px;left:20px;transform:rotate(-25deg)}.art-orbit--inner{top:40px;right:55px;bottom:40px;left:55px;border-style:solid;border-color:#9aa7e51b}.art-spark{position:absolute;color:#a693f7;font-style:normal;font-size:24px}.art-spark--one{top:20px;left:28px;color:#ffe7a0}.art-spark--two{bottom:20px;right:38px;font-size:34px}.art-tile{position:absolute;width:76px;height:80px;border-radius:20px;display:grid;place-items:center;font-size:40px;font-weight:900;border:1px solid #fff8;box-shadow:0 8px 0 var(--tile-shadow),0 18px 28px #0004;animation:tile-float 5s ease-in-out infinite;animation-delay:var(--delay, 0s)}.art-tile--one{right:40px;top:20px;background:#ffdfa0;color:#634128;--tile-shadow: #ba853f;--turn: 12deg;--delay: -1s}.art-tile--two{left:55px;top:52px;background:#b8a8ff;color:#3b2c75;--tile-shadow: #7561ba;--turn: -16deg;--delay: -3s}.art-tile--three{right:20px;bottom:42px;background:#85e3cc;color:#174f4b;--tile-shadow: #398b83;--turn: -9deg;--delay: -2s}.art-tile--four{left:80px;bottom:8px;background:#fff3d8;color:#66533d;--tile-shadow: #bcb29b;--turn: 12deg}.art-coin{position:absolute;top:5px;left:92px;display:grid;place-items:center;width:47px;height:47px;border-radius:50%;background:#ffd16d;color:#9a661c;border:4px solid #ffe7a4;box-shadow:0 5px #ad7830;transform:rotate(-15deg)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:32px 0 12px;scroll-margin-top:20px}.section-heading h2{margin:3px 0;font-size:23px}.section-heading .eyebrow{font-size:11px;color:#a89bd7}.count-pill{display:inline-flex;align-items:center;flex-shrink:0;border:1px solid #615b8940;border-radius:999px;padding:5px 12px;background:#a68bfa0b;color:#c0b5e6;font-size:11px}.game-selection{gap:20px}.game-card{isolation:isolate;position:relative;overflow:hidden;min-height:260px;padding:26px;border:1px solid #535c8b80;border-bottom:5px solid #0b1024;border-radius:26px;background:linear-gradient(135deg,#293452,#19253e);box-shadow:0 12px 25px #0002;transition:transform .2s ease,border-color .2s ease}.game-card--mysteries{background:linear-gradient(135deg,#39305c,#23223f);border-color:#76618b77;border-bottom-color:#161326}.game-card-kicker{display:block;position:relative;z-index:1;font-size:11px;color:#a6ead7;margin-bottom:25px}.game-card--mysteries .game-card-kicker{color:#d2b6ff}.game-card h2{position:relative;z-index:1;margin:0 0 5px;font-size:27px;color:#fff1d5}.game-card p{position:relative;z-index:1;max-width:57%;font-size:12px;color:#c1cce0;margin:8px 0 26px;line-height:1.95}.game-card .game-art{position:absolute;z-index:-1;left:-18px;top:2px;width:220px;height:200px;transform:scale(.72);transform-origin:center;opacity:.95}.game-card .art-orbit{top:-10px;right:-5px;bottom:-10px;left:-5px}.game-card .art-tile{animation:none;transform:rotate(var(--turn));width:69px;height:72px;font-size:35px}.game-card-footer{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #c8c3ff19;padding-top:17px;gap:8px}.play-label{display:flex;align-items:center;gap:9px;color:#ffda8c;font-size:12px}.game-level-count{font-size:11px;color:#9eafcf}.art-mystery-card{position:absolute;width:116px;height:155px;left:67px;top:20px;border-radius:22px;transform:rotate(-14deg);background:linear-gradient(145deg,#e1d7ff,#ad9adb);box-shadow:0 8px #7362a7,0 20px 30px #0003;padding:12px;text-align:center}.art-mystery-card>span{color:#5e438a;font-size:70px;font-weight:900;line-height:1.4}.art-mystery-card>i{display:block;height:4px;width:64%;margin:6px auto;border-radius:4px;background:#7f69aa44}.art-lens{position:absolute;bottom:0;right:6px;color:#ffd687;filter:drop-shadow(0 6px 0 #8f6c4155);transform:rotate(5deg)}.panel{border-color:#3c486b80;background:linear-gradient(130deg,#1a2540,#152037);border-radius:24px;box-shadow:0 7px 24px #00000012}.login{border:1px solid #71659266;background:linear-gradient(115deg,#282640,#1b253f)}.login h2{font-size:20px;margin-top:0}.login p{font-size:13px;color:#bac5de}.login .button{min-height:48px}.continue-card{display:flex;align-items:center;flex-wrap:wrap;gap:15px;border-color:#6ce0c14d;background:linear-gradient(115deg,#183c3f,#17253c)}.continue-card h2{margin:3px 0;font-size:19px}.continue-card .eyebrow{font-size:11px}.continue-card>button{margin-inline-start:auto}.continue-emblem,.scenario-emblem{display:inline-grid;place-items:center;flex:none;width:52px;height:52px;border-radius:18px;background:#77e5c920;color:#8cebd2}.balances{gap:10px}.balances .resource{min-width:0;min-height:84px;flex-direction:column;gap:2px;border:1px solid #42486a88;border-bottom:3px solid #11182c;border-radius:18px;background:linear-gradient(#252e49,#1a243e);padding:10px 6px}.resource-value{display:flex;align-items:center;gap:7px}.resource-value strong{font-size:22px;font-weight:800}.resource-cap{font-size:13px;opacity:.5;padding-inline-start:3px}.resource--coins .resource-value{color:#ffce72}.resource--energy .resource-value{color:#80e7c8}.resource--reserve .resource-value{color:#b9a6ff}.balances .resource small{font-size:10px;color:#9fadcb}.balances>p{font-size:11px;text-align:center;color:#8e9cbd;margin-top:2px}.scenario-card{text-align:right;display:block;min-height:210px;padding:24px;background:radial-gradient(ellipse at 0 0,#8d78ff1c,transparent 70%),#1a2440;border-bottom:4px solid #10172c}.scenario-card h2{font-size:21px}.scenario-card p{font-size:12px;color:#afbbd7}.scenario-go{display:flex;align-items:center;gap:8px;color:#ffdb90;font-size:12px}.scenario-emblem{color:#c5b4ff;background:#b399ff19}.journey-summary{display:flex;align-items:center;gap:14px;padding:17px 20px;border:1px solid #4f51784d;border-radius:20px;background:linear-gradient(110deg,#2a2948,#1b2841);margin:22px 0}.journey-summary>div{flex:1;min-width:0}.journey-summary strong{font-size:13px}.journey-summary .count-pill{margin-inline-start:auto}.journey-icon{color:#ffda8a;display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#ffd58212}progress{display:block;width:100%;height:8px;border:0;border-radius:999px;overflow:hidden;margin-top:10px;background:#0f1930;color:#76dec5}progress::-webkit-progress-bar{background:#0f1930}progress::-webkit-progress-value{background:linear-gradient(90deg,#5dc9b0,#a2efd9);border-radius:999px}progress::-moz-progress-bar{background:#76dec5;border-radius:999px}.levels{max-width:640px;margin:25px auto 35px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:104px;gap:0;align-items:center;justify-items:center;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 208'%3E%3Cpath d='M450 -52 Q480 -52 480 0 T450 52 H50 Q20 52 20 104 T50 156 H450 Q480 156 480 208 T450 260' fill='none' stroke='%233a4562' stroke-width='3' stroke-dasharray='5 8'/%3E%3C/svg%3E");background-size:100% 208px;background-repeat:repeat-y}.levels button{position:relative;grid-column:var(--level-column);grid-row:var(--level-row);width:100%;max-width:88px;height:94px;min-height:94px;background:transparent;border:0;border-radius:22px;padding:4px;box-shadow:none;gap:5px;overflow:visible}.levels button:disabled{opacity:1}.level-face{width:66px;height:66px;display:grid;place-items:center;border-radius:24px;background:linear-gradient(#31415d,#24334e);border:2px solid #4e5a77;border-bottom:6px solid #142039;box-shadow:0 5px #0002;color:#aebdd8;font-size:23px;font-weight:900}.levels .done .level-face{background:linear-gradient(#5dc9b3,#2d9b90);border-color:#7fe1c6;border-bottom-color:#1c676c;color:#effff9;box-shadow:0 4px 16px #53c8aa1a}.levels .level-current .level-face{background:linear-gradient(#ffdf97,#f2b448);border-color:#ffe4ad;border-bottom-color:#a66e22;color:#5e3a19;box-shadow:0 0 0 5px #f4bd5814,0 5px 20px #f4bd5822;animation:stage-glow 3s ease-in-out infinite}.levels .level-locked .level-face{background:#1b273e;border-color:#2d3b57;border-bottom-color:#111a2d;color:#71809c}.levels small{font-size:10px;color:#a0aecb}.levels .level-locked small{color:#72809d}.puzzle{padding:26px;border-radius:28px;border:1px solid #58618c66;background:radial-gradient(ellipse at 50% 0,#53618a18,transparent 60%),linear-gradient(145deg,#1b2943,#152037);box-shadow:0 18px 45px #0003}.puzzle-stage{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.puzzle-stage>span:first-child{display:flex;align-items:center;gap:8px;color:#d8c6ff;font-size:12px;font-weight:700}.difficulty-pill{font-size:10px;color:#8fe3cc;background:#66dfb910;border:1px solid #6de2c126;border-radius:999px;padding:3px 10px}.puzzle>.row{justify-content:space-between;margin:8px 0 24px}.puzzle>.row button{font-size:11px;min-height:44px}.puzzle>.row>span{font-size:11px;color:#97a8c5}.puzzle>.eyebrow{display:block;text-align:center;font-size:12px}.puzzle h1{text-align:center;font-size:25px;margin:14px auto;max-width:600px}.puzzle>.muted{text-align:center;font-size:11px;color:#8fa0c0}.answer-help{text-align:center;font-size:12px!important;color:#acb9d5!important;margin-top:24px}.answer-word{border-bottom:0;gap:8px;padding:6px 0}.slots{margin:12px 0 28px;gap:12px 24px}.slots button{width:48px;height:56px;border:2px dashed #60709280;border-bottom:3px solid #0c172c;background:#0c1930;box-shadow:inset 0 3px 8px #0002;color:#6c7e9e;border-radius:13px}.slots button.filled{color:#e4fff7;background:linear-gradient(#275456,#1c3c49);border:2px solid #6bbaa6;border-bottom:4px solid #12313b;box-shadow:0 4px 12px #0002}.slots button.locked{color:#a9ffe6;border-color:#84e5c3;opacity:1}.slots button.drop-target{background:#645238;border:2px solid #ffda88;box-shadow:0 0 0 4px #ffd17722}.tile-bank{max-width:560px;margin:24px auto 20px;gap:10px;padding:18px 12px;border:1px solid #62709a24;border-radius:20px;background:#0d172b88}.tile-bank button{width:48px;height:55px;font-weight:800;font-size:24px;background:linear-gradient(#fff2cf,#f0cf90);border:1px solid #ffeabd;border-bottom:5px solid #aa854a;border-radius:13px;box-shadow:0 4px #0002;color:#4c382c}.tile-bank button:active:not(:disabled){border-bottom-width:2px;transform:translateY(3px)}.tile-bank button:disabled{opacity:.14;background:#b4bddd;border-color:#5f6b8c;box-shadow:none;transform:none}.puzzle .quiet{font-size:12px}.puzzle-actions{justify-content:center;margin-top:28px;gap:12px}.puzzle-actions>button{flex:1;min-height:52px}.puzzle-actions .secondary{color:#d8c7ff;background:linear-gradient(#3c3459,#2d2a49);border-color:#665780;border-bottom-color:#201d36}.drag-letter{background:linear-gradient(#fff2ca,#f3cf8b);color:#4c382c;border:1px solid #ffeac1;border-bottom:5px solid #aa854a;transform:rotate(-8deg);box-shadow:0 12px 24px #0006}.result{position:relative;isolation:isolate;text-align:center;overflow:hidden;border:1px solid #73d6b366;background:radial-gradient(ellipse at 50% 0,#60d2a51c,transparent 65%),#18363b;border-radius:24px;padding:24px 18px;margin-top:22px}.win-emblem{position:relative;display:grid;place-items:center;margin:0 auto 12px;width:88px;height:88px;border-radius:30px;background:linear-gradient(#ffe3a3,#edb54d);border:3px solid #ffedbd;border-bottom:7px solid #a6742f;color:#98611e;box-shadow:0 0 0 8px #ffd17810,0 12px 25px #0002;transform:rotate(-7deg)}.result h2{font-size:22px;position:relative;margin:16px 0 20px}.result>button{position:relative}.result--ended{background:#1a2942;border-color:#455a7c}.result--ended .win-emblem{background:#3c4969;border-color:#627292;color:#bdc9e5;box-shadow:none}.confetti{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:-1}.confetti i{position:absolute;left:calc(6% + var(--i) * 8%);top:-15px;width:7px;height:12px;background:#b6a0ff;border-radius:2px;animation:confetti-drop 2.5s ease-out both;animation-delay:calc(var(--i) * 45ms)}.confetti i:nth-child(3n){background:#ffd374}.confetti i:nth-child(3n+1){background:#81e7cb}.bottom{left:50%;right:auto;transform:translate(-50%);width:calc(100% - 28px);max-width:620px;bottom:max(12px,env(safe-area-inset-bottom));border:1px solid #5a608343;border-radius:24px;background:#151f37f5;box-shadow:0 12px 40px #0006,inset 0 1px #ffffff08;padding:9px;gap:6px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bottom button{flex-direction:column;gap:3px;font-size:10px;padding:7px 6px;min-height:58px;border:0;border-radius:17px;color:#98a9c7;box-shadow:none}.bottom button svg{stroke-width:1.65}.bottom .selected{background:linear-gradient(#423b49,#342e3d);color:#ffcf76;box-shadow:inset 0 1px #f8d38a22}.bottom button:disabled{opacity:.35}footer{color:#6f82a5;font-size:11px;padding-bottom:115px}.admin{background:transparent}.admin .panel,.admin button{box-shadow:none}.admin .tabs button{font-size:12px}@keyframes tile-float{0%,to{transform:translateY(0) rotate(var(--turn))}50%{transform:translateY(-8px) rotate(var(--turn))}}@keyframes stage-glow{50%{box-shadow:0 0 0 8px #f4bd5810,0 5px 25px #f4bd5826}}@keyframes confetti-drop{0%{transform:translateY(-20px) rotate(0);opacity:0}20%{opacity:1}to{transform:translateY(260px) rotate(200deg);opacity:0}}@media(hover:hover){.game-card:hover{transform:translateY(-4px);border-color:#a797d7}.tile-bank button:hover:not(:disabled){background:linear-gradient(#fff8e5,#ffdda3)}.levels button:hover:not(:disabled) .level-face{filter:brightness(1.12)}}@media(max-width:700px){.hero{grid-template-columns:minmax(0,1fr) 200px;gap:0;padding:26px}.hero>.game-art{transform:scale(.75);transform-origin:center;width:200px;margin-left:-24px}.hero h1{font-size:32px}.game-selection{grid-template-columns:minmax(0,1fr);gap:12px}.game-card{padding:20px;min-height:250px}.game-card .game-art{left:-38px;top:0;opacity:.7;transform:scale(.56)}.game-card h2{font-size:24px}.game-card p{max-width:60%;font-size:11px}.game-card-kicker{font-size:10px}.game-card-footer{gap:4px}.game-level-count{font-size:10px}.play-label{font-size:11px}.puzzle{padding:22px}}@media(max-width:480px){header{padding:14px}.brand-mark{width:40px;height:42px;border-radius:14px}.brand{gap:9px}.brand span{font-size:15px}.brand small{font-size:10px}.header-actions{gap:5px}.header-actions .quiet{min-width:44px;font-size:10px;padding:6px 9px}.hero{display:block;padding:24px 22px;min-height:300px;border-radius:26px}.hero>.game-art{position:absolute;left:-52px;top:-12px;width:220px;opacity:.23;transform:scale(.75);z-index:0}.hero-copy{max-width:100%}.hero h1{font-size:32px;max-width:270px;margin:12px 0}.hero p{font-size:12px;max-width:280px;margin:10px 0 18px}.hero-tags{font-size:10px;gap:12px;margin-top:14px}.hero-start{font-size:13px;min-height:46px}.hero .eyebrow{font-size:10px}.section-heading{margin-top:26px}.section-heading h2{font-size:19px}.section-heading .eyebrow{font-size:10px}.game-selection{grid-template-columns:minmax(0,1fr);gap:3px}.game-card{min-height:225px;padding:22px;margin:8px 0;border-radius:24px}.game-card .game-art{left:0;top:-4px;transform:scale(.65);opacity:1}.game-card h2{font-size:27px}.game-card p{max-width:58%;font-size:12px;margin-bottom:22px}.game-card-kicker{margin-bottom:20px;font-size:11px}.game-card-footer{padding-top:14px}.game-level-count{font-size:11px}.play-label{font-size:12px}.balances{gap:8px}.balances .resource{min-height:79px;border-radius:16px}.resource-value strong{font-size:20px}.resource-value svg{width:19px}.resource-cap{font-size:11px}.balances .resource small{font-size:9px}.balances>p{font-size:10px}.panel.login{padding:20px}.login h2{font-size:18px}.login p{font-size:12px}.login .button{width:100%;font-size:13px}.journey-summary{padding:14px 12px;gap:10px}.journey-summary .count-pill{display:none}.journey-summary strong{font-size:12px}.level-face{width:52px;height:55px;border-radius:19px;font-size:20px}.levels button{max-width:66px}.levels small{font-size:9px}.puzzle{padding:19px 16px;border-radius:24px}.puzzle h1{font-size:22px}.puzzle>.muted{font-size:10px}.slots{column-gap:18px}.slots button{width:44px;height:51px;font-size:23px;border-radius:12px}.tile-bank{gap:8px;padding:16px 10px}.tile-bank button{width:44px;height:51px;font-size:23px;border-radius:12px}.puzzle-actions{gap:9px}.puzzle-actions>button{font-size:12px;min-height:48px;padding:10px}.result h2{font-size:19px}.win-emblem{width:76px;height:76px;border-radius:25px}.bottom{width:calc(100% - 24px);border-radius:22px}.bottom button{min-height:55px}.continue-card{padding:17px;gap:12px}.continue-card h2{font-size:17px}.continue-card>button{width:100%;margin:0}.answer-word{gap:6px}}.bottom--playing{display:none}.header--playing{padding-top:12px;padding-bottom:12px}.header--playing .brand-mark{width:36px;height:38px;border-radius:13px}.play-page{padding-top:12px;padding-bottom:35px}.play-page .balances .resource{min-height:65px;padding:6px}.play-page .balances{margin-bottom:14px}.map-description{font-size:13px;line-height:2;color:#a9b6d0}.puzzle>.row{margin-bottom:16px}.answer-help,.play-page .tile-bank{margin-top:18px}@media(max-width:480px){.game-card .game-art{left:-20px;transform:scale(.56)}.game-card p{max-width:52%}.play-page .answer-help{font-size:11px!important}.play-page .puzzle{margin-top:8px}.map-description{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.art-tile{transform:rotate(var(--turn))}}
