@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@500;600;700;800;900;1000&display=swap');

:root{font-family:'Nunito','Trebuchet MS',sans-serif;color:#fff0ce;background:#171321;color-scheme:dark;--energy:#ff612a;--energy-light:#fff375;--muted:#c4b6c9;--ink:#211425}
*{box-sizing:border-box}body{margin:0;min-width:280px;background:linear-gradient(90deg,#140d2599,transparent 30%,transparent 70%,#140d2599),url('./assets/rune-forge-room.webp') center center/cover fixed no-repeat;min-height:100dvh}body:before{content:'';position:fixed;inset:0;pointer-events:none;background:linear-gradient(#0c0d1944,#1a0d211a 50%,#130c21a6);z-index:-1}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #a7f2ff;outline-offset:4px}button:not(:disabled){cursor:pointer}h1,h2,h3,p{margin:0}button{color:inherit}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:fixed;z-index:100;background:#261a35;padding:12px}.rune-art,.stone-art{display:block;width:100%;height:100%;overflow:visible}#forge-app{max-width:1480px;margin:auto;padding:0 40px}.forge-nav{height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:13px;font-weight:900;color:#eddfcf}.collection-link{display:flex;align-items:center;gap:9px;text-shadow:0 2px #160c1c}.collection-link>span{font-size:30px;line-height:1}.jellykid-wordmark{font-family:'Fredoka','Trebuchet MS',sans-serif;font-size:24px;line-height:.78;transform:rotate(-5deg);text-align:center;letter-spacing:-.6px;color:#fff5d9;text-shadow:2px 3px #4e2276,-2px -1px #4e2276,0 4px 0 #21142c;position:absolute;left:50%;translate:-50% 0}.jellykid-wordmark span{display:block;font-size:19px;margin-top:7px}.nav-note{font-size:11px;color:#d4c8dc;letter-spacing:.025em}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:1000;color:#e2b66b;text-transform:uppercase}.quiet-button{border:0;background:transparent;font-weight:900;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:7px 10px;color:#efdfcf;border-radius:9px}.quiet-button:hover:not(:disabled){background:#f7d08c13;color:#fff5d7}.quiet-button:disabled{opacity:.45}.forge-button{display:flex;align-items:center;justify-content:center;gap:15px;min-height:48px;padding:10px 24px;background:linear-gradient(#66516f,#3c2b49);border:2px solid #bda3b5;border-radius:10px;box-shadow:0 4px #170f20;font-weight:1000;color:#ffefd4}.forge-button.primary{background:linear-gradient(#ffdf89,#f7b34c 55%,#df8c2a);border-color:#ffe0a0;color:#4b250e;box-shadow:0 4px #7e3e20,inset 0 2px #fff3c6;text-shadow:0 1px #ffe2a6}.forge-button:hover{filter:brightness(1.09)}
.forge-logo{position:relative;font-family:'Fredoka','Trebuchet MS',sans-serif;font-weight:700;text-align:center;isolation:isolate;display:flex;flex-direction:column;align-items:center;width:300px;margin:auto;line-height:.82;padding:14px 22px 40px;transform:rotate(-3deg);filter:drop-shadow(0 7px 0 #120e1dc7)}.forge-logo:before{content:'';position:absolute;inset:5px 1px 22px;background:linear-gradient(125deg,#a995ae,#3c304b 37%,#817084 66%,#39293d);clip-path:polygon(10% 12%,31% 0,71% 0,92% 17%,100% 54%,86% 89%,52% 100%,14% 89%,0 55%);z-index:-2}.forge-logo:after{content:'';position:absolute;inset:11px 9px 29px;background:linear-gradient(110deg,#2d2237,#544052 45%,#282133);clip-path:polygon(10% 12%,31% 0,71% 0,92% 17%,100% 54%,86% 89%,52% 100%,14% 89%,0 55%);z-index:-1}.logo-rune{font-size:64px;color:#d1e3fa;-webkit-text-stroke:1.4px #263246;text-shadow:0 4px #506780,3px 5px #111321;letter-spacing:1px}.logo-forge{font-size:77px;color:#ffc643;-webkit-text-stroke:1.4px #7e360e;text-shadow:0 5px #ce6615,3px 7px #251324;letter-spacing:-1px;margin-top:5px}.forge-logo>svg{position:absolute;bottom:0;width:88px;height:58px;color:#ffc13d;filter:drop-shadow(0 0 8px #ff8b20)}
.level-select{max-width:1080px;margin:auto}.select-header{text-align:center;padding:8px 0 35px}.select-header .forge-logo{margin-bottom:22px}.select-header .eyebrow{margin-bottom:9px}.select-header h1{font-family:'Fredoka','Trebuchet MS',sans-serif;font-size:clamp(21px,2.5vw,30px);font-weight:500;text-shadow:0 3px #160c20}.select-header>p:last-child{font-size:13px;color:#e0d3dc;margin-top:8px;text-shadow:0 2px #170d20}.select-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px}.select-heading h2{font-family:'Fredoka',sans-serif;font-size:24px;font-weight:500;margin-top:3px}.total-stars{background:#261d34bd;border:1px solid #a286795e;border-radius:25px;padding:8px 16px;font-size:19px;font-weight:900}.total-stars>span{color:#ffc44f}.total-stars small{font-size:12px;color:#c8bacb}.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.chapter{background:linear-gradient(#302336e6,#1a1626ed);border:1px solid #8e6e7559;border-radius:16px;padding:16px 12px 12px;box-shadow:0 7px 16px #0d0b173d}.chapter>header{display:flex;align-items:center;gap:11px;padding:0 3px 15px}.chapter-number{font-family:'Fredoka',sans-serif;font-size:27px;color:#b69874;opacity:.65}.chapter h3{font-family:'Fredoka',sans-serif;font-size:17px;letter-spacing:.1px;font-weight:500}.chapter header p{font-size:10px;color:#c4b2c3;margin-top:2px}.level-group{display:grid;gap:10px}.level-card{position:relative;display:flex;align-items:center;gap:11px;padding:17px 12px 16px;min-height:139px;width:100%;text-align:left;background:linear-gradient(130deg,#554159,#30263d);border:2px solid #87718d;border-radius:12px;box-shadow:inset 0 2px #bdb0bb33,0 3px #140e21;transition:transform .15s,border-color .15s}.level-card:hover:not(:disabled){transform:translateY(-2px);border-color:#ffcf7f}.level-card.current{border-color:#ffc86b;background:radial-gradient(at 30% 30%,#89513688,transparent 80%),linear-gradient(#534053,#352637);box-shadow:0 0 20px #ffac3626,inset 0 2px #fff7b344,0 3px #281322}.level-num{position:absolute;top:6px;left:9px;font-size:10px;letter-spacing:1px;font-weight:1000;color:#d5bdd0}.level-emblem{position:relative;width:69px;height:69px;flex-shrink:0;filter:drop-shadow(0 4px 3px #120d20aa)}.level-copy{min-width:0}.level-copy strong{font-family:'Fredoka',sans-serif;font-weight:500;font-size:16px;display:block;white-space:nowrap}.level-copy>span:not(.stars){display:block;font-size:10px;color:#c9b8c7;margin-top:4px}.level-copy small{display:block;font-size:10px;color:#ddc1a7;margin-top:2px}.stars{display:inline-flex;gap:3px;font-size:24px;line-height:1.4;color:#746479;white-space:nowrap;text-shadow:0 2px #211326}.stars .earned{color:#ffcb5b;text-shadow:0 2px #a05820,0 0 12px #ffbd4b33}.locked{filter:saturate(.45);opacity:.65}.locked .rune-art{opacity:.4}.lock{position:absolute;inset:0;display:grid;place-items:center;font-size:35px;color:#bcb0c3;text-shadow:0 3px #191321}.continue-button{width:100%;display:flex;justify-content:space-between;gap:12px;border:1px solid #ffc36890;border-radius:10px;background:#7c442865;padding:12px 17px;margin-bottom:16px;font-weight:900}.continue-button>span{font-weight:600;font-size:12px}.select-note{text-align:center;font-size:13px;margin-top:26px;color:#efe0cd}.save-note{text-align:center;min-height:16px;font-size:10px;color:#c5b7c6;margin:10px auto}.forge-footer{display:flex;align-items:center;justify-content:center;gap:13px;margin:23px 0;font-size:8px;font-weight:1000;letter-spacing:2px;color:#a899b0}.forge-footer>span{color:#f4b664}
.game-view{max-width:920px;margin:0 auto;padding-bottom:22px}.game-header{padding:0 0 22px}.game-header .forge-logo{width:245px;padding:11px 18px 32px}.game-header .logo-rune{font-size:52px}.game-header .logo-forge{font-size:63px}.game-header .forge-logo>svg{width:73px;height:47px}.play-area{display:grid;grid-template-columns:minmax(0,1fr) 116px;gap:30px;align-items:center}.game-main{min-width:0}.game-hud{display:grid;grid-template-columns:68px minmax(0,1fr) 82px;align-items:center;gap:10px;margin-bottom:13px}.metal-panel{position:relative;text-align:center;background:linear-gradient(145deg,#55425f,#36273f 65%);border:5px solid #8b7891;border-radius:13px;box-shadow:0 0 0 3px #1b1423,inset 0 0 0 2px #c4b3be77,0 7px #19111ecc;color:#fff1ce}.metal-panel:before,.metal-panel:after{content:'';position:absolute;width:5px;height:5px;border-radius:50%;background:#e0bd93;box-shadow:1px 2px #3c2832;bottom:6px}.metal-panel:before{left:5px}.metal-panel:after{right:5px}.level-plaque{padding:11px 4px}.metal-panel>span{display:block;font-family:'Fredoka',sans-serif;font-size:17px;font-weight:600;text-shadow:0 2px #201225}.metal-panel>strong{display:block;font-family:'Fredoka',sans-serif;font-size:40px;line-height:1.12;text-shadow:0 3px #1a1021;font-weight:600}.moves-plaque{padding:13px 2px}.moves-plaque>strong{font-size:48px}.objective-plaque{position:relative;min-width:0;background:linear-gradient(115deg,#f4cf96,#f7dbab 55%,#d3a16e);border:5px solid #a86b3f;border-radius:16px;box-shadow:0 0 0 3px #2d1b24,inset 0 0 0 3px #ffe9b1,0 7px #17111ecc;padding:18px 14px 14px;color:#391d1b}.objective-plaque>h2{font-family:'Fredoka',sans-serif;font-weight:600;position:absolute;left:50%;top:-22px;translate:-50% 0;white-space:nowrap;min-width:80%;text-align:center;padding:6px 13px;color:#ffedb2;font-size:21px;line-height:1.2;border:3px solid #f4be64;background:linear-gradient(#6d4034,#442b34);box-shadow:0 0 0 3px #25151f,0 4px #ad602d;text-shadow:0 2px #22131a;border-radius:4px 4px 12px 12px}.objective-content{display:flex;align-items:center;gap:11px;margin-top:8px}.objective-icon{width:57px;height:57px;flex-shrink:0}.objective-info{flex:1;min-width:0}.objective-info>h3{font-family:'Fredoka',sans-serif;font-size:19px;font-weight:600;line-height:1.15;margin-bottom:7px;white-space:nowrap}.objective-meter{position:relative;height:27px;background:#51303c;border:3px solid #48212a;border-radius:19px;box-shadow:inset 0 3px 6px #140b1daa,0 2px #ffedc6;overflow:hidden}.objective-meter>span{display:block;height:100%;border-radius:15px;background:linear-gradient(var(--energy-light),var(--energy) 48%,var(--energy));box-shadow:inset 0 2px #ffffff80,2px 0 8px var(--energy);transition:width .25s}.objective-meter>strong{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1;font-weight:1000;color:#fffbe5;paint-order:stroke fill;-webkit-text-stroke:3px #24131c}.level-name{text-align:center;font-size:10px;color:#d7c3c6;font-weight:900;margin:13px 0 19px;text-shadow:0 2px #160d1d}.level-name>span{margin:0 7px;color:#edb26b}
.board-wrap{position:relative;width:calc(100% - 16px);margin:0 auto;aspect-ratio:1;--tile:calc(100% / var(--cols));filter:drop-shadow(0 8px 0 #110b1a88)}.rune-board{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-template-rows:repeat(var(--cols),minmax(0,1fr));width:100%;height:100%;isolation:isolate;touch-action:none}.tile-recess{background:linear-gradient(145deg,#161224,#33283f);box-shadow:inset 0 0 0 1.5px #675572,inset 0 0 12px #080710;border-radius:7px;min-width:0;min-height:0}.cell{display:block;padding:0;width:100%;height:100%;border:0;background:transparent;border-radius:9px;position:relative;touch-action:none;user-select:none}.cell:disabled{opacity:1}.cell .rune-art,.cell .stone-art{pointer-events:none;filter:drop-shadow(0 4px 1px #090810aa);transition:filter .12s}.cell:hover:not(:disabled) .rune-art{filter:brightness(1.15) drop-shadow(0 0 6px #ffda8077)}.cell.selected{z-index:3;box-shadow:inset 0 0 0 3px #ffe69a,0 0 17px #ffc749;background:#ffb53533}.cell.selected .rune-art{filter:drop-shadow(0 0 5px #ffcb5c)}.piece-motion{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.cell .rune-art,.cell .stone-art{width:78%;height:78%;min-width:0;min-height:0}.special{padding:0}.board-outline{position:absolute;inset:-2.43%;width:104.86%;height:104.86%;pointer-events:none;z-index:2;overflow:visible}.board-rivet{position:absolute;z-index:3;width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,#ffe5b9,#d6a684 40%,#6d4550);box-shadow:1px 2px #312333,0 0 0 1px #433146}.rivet-tl{left:-4px;top:-4px}.rivet-tr{right:-4px;top:-4px}.rivet-bl{left:-4px;bottom:-4px}.rivet-br{right:-4px;bottom:-4px}.board-wrap:has(.tile-recess:not([style*="grid-row:1;grid-column:1"])) .board-rivet{pointer-events:none}.board-wrap:has(.rune-board>.tile-recess:first-child:not([style="grid-row:1;grid-column:1"])) .board-rivet{display:none}.forge-exit{position:absolute;z-index:5;left:calc(var(--exit-col) * 100% / var(--cols));top:calc((var(--exit-row) + 1) * 100% / var(--cols) - 2px);width:calc(100% / var(--cols));height:40px;display:flex;align-items:center;justify-content:center;background:linear-gradient(#ffce3277,#ff9b16 80%,#c85b16);box-shadow:0 0 14px #ff9900,inset 0 0 0 3px #ffdf62;border:3px solid #704027;border-radius:0 0 11px 11px;color:#fff4ab}.forge-exit .rune-art{width:30px;height:30px;filter:drop-shadow(0 0 5px #fff47c)}.forge-exit>span{font-size:24px;line-height:1;font-weight:1000}.has-exits{margin-bottom:42px}.board-status{text-align:center;font-size:11px;min-height:20px;margin:16px 0 4px;font-weight:900;color:#f0d6a3;text-shadow:0 2px #170e20}.play-controls{display:flex;justify-content:space-between;align-items:center;gap:5px}.play-controls .quiet-button{color:#d6c1cd;font-size:10px}.play-controls .quiet-button>span{border:1px solid #a288a4;border-radius:50%;font-size:10px;width:15px;height:15px;line-height:14px}.star-guide{font-size:9px;color:#c4b2c7;white-space:nowrap}.star-guide b{color:#ebba65;letter-spacing:1px;font-size:11px}.star-guide>span{margin:0 5px}.element-water{--energy:#1fbfff;--energy-light:#b3ffff}.element-leaf{--energy:#66e321;--energy-light:#e2ff85}.element-sun{--energy:#f3e62d;--energy-light:#fffbc2}.element-crystal{--energy:#da83fb;--energy-light:#fff0ff}.weapon{min-width:0;align-self:center;position:relative;text-align:center}.sword{width:100%;max-height:510px;overflow:visible;filter:drop-shadow(0 0 13px color-mix(in srgb,var(--energy) 35%,transparent))}.weapon-caption>span{display:block;font-size:9px;text-transform:uppercase;font-weight:1000;letter-spacing:1px;color:#d6bbbc}.weapon-caption>strong{display:block;font-family:'Fredoka',sans-serif;font-size:28px;color:#ffe29e;line-height:1.4}.weapon-caption small{font-size:15px}.charged .sword{animation:forge-glow 1.1s ease-in-out infinite alternate}.objective-sidebar{text-align:center;padding:20px 0}.side-anvil{color:#ffbd52;width:92px;height:92px;margin:auto;filter:drop-shadow(0 0 12px #ff941b88)}.objective-sidebar>strong{font-family:'Fredoka',sans-serif;font-size:18px;font-weight:500;display:block;margin:10px 0}.objective-sidebar>p{font-size:11px;line-height:1.6;color:#cbb7c6}.victory .board-wrap{filter:drop-shadow(0 0 14px #ffc55688)}
.forge-dialog{width:min(440px,calc(100% - 28px));padding:30px 31px 25px;text-align:center;background:radial-gradient(ellipse at top,#61404a,#302139 80%);border:3px solid #d7ae79;border-radius:21px;box-shadow:0 0 0 5px #211425,0 20px 90px #080710aa;color:#fff0d3;max-height:calc(100dvh - 40px);overflow:auto}.forge-dialog::backdrop{background:#100d1bd1;backdrop-filter:blur(4px)}.dialog-emblem{display:block;width:72px;height:72px;margin:0 auto 16px;color:#ffd177;filter:drop-shadow(0 0 18px #ffa52755)}.forge-dialog .eyebrow{font-size:8px;letter-spacing:1.4px}.forge-dialog h2{font-family:'Fredoka',sans-serif;font-weight:500;font-size:29px;line-height:1.1;margin:10px 0 14px;color:#ffe8b5}.forge-dialog p:not(.eyebrow){font-size:13px;line-height:1.6;color:#dfcdd6;margin-bottom:14px}.forge-dialog>.stars{font-size:47px;gap:8px;margin:-5px 0 10px}.forge-dialog>.forge-button{width:100%;margin-top:22px}.dialog-actions{display:grid;gap:12px;margin-top:23px}.dialog-actions>.quiet-button{margin-top:1px}.tutorial-match{display:flex;width:170px;gap:7px;margin:15px auto}.tutorial-match>.rune-art{width:52px;height:52px}.forge-dialog .dialog-detail{font-size:11px!important;line-height:1.6;color:#baa6bc!important}.matching{z-index:4;animation:match-pulse .21s ease-in-out infinite alternate}.matching .rune-art{filter:brightness(1.3) drop-shadow(0 0 8px var(--energy-light))}.stone-hit{animation:stone-impact .18s ease-in-out;z-index:4}.stone-hit .stone-art{filter:brightness(1.6) drop-shadow(0 0 8px #a7ecff)}.stone-broken{animation:shatter .18s ease-in both}.falling>*{animation:rune-fall .26s cubic-bezier(.2,.5,.45,1) both}.swapping>*{animation:rune-swap .16s ease-out both}.invalid-swap>*{animation:invalid-swap .36s ease-in-out}.shuffling>*{animation:shuffle .4s ease-in-out}.delivering{animation:forge-glow .3s ease-in-out 2 alternate}
@keyframes match-pulse{to{transform:scale(1.07);background:#ffe98c33;box-shadow:inset 0 0 0 2px #fff0a6,0 0 15px #ffc761}}@keyframes stone-impact{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}@keyframes shatter{to{transform:scale(1.16);opacity:0}}@keyframes rune-fall{from{transform:translateY(calc(var(--fall) * 100%));opacity:.7}to{transform:translateY(0);opacity:1}}@keyframes rune-swap{from{transform:translate(calc(var(--swap-x) * 100%),calc(var(--swap-y) * 100%))}to{transform:translate(0,0)}}@keyframes invalid-swap{50%{transform:translate(calc(var(--swap-x) * 90%),calc(var(--swap-y) * 90%));filter:brightness(1.2)}}@keyframes shuffle{50%{transform:scale(.5) rotate(20deg);opacity:.2}}@keyframes forge-glow{to{filter:drop-shadow(0 0 22px #ffb31f);brightness:1.3}}
@media(min-width:1450px){.game-view{max-width:1000px}.play-area{grid-template-columns:minmax(0,1fr) 125px;gap:40px}.game-main{max-width:760px}.game-header{padding-bottom:28px}.game-header .forge-logo{width:280px}.game-header .logo-rune{font-size:60px}.game-header .logo-forge{font-size:72px}}
@media(max-width:1050px){#forge-app{padding:0 25px}.chapter-grid{gap:12px}.chapter{padding:15px 8px 8px}.chapter>header{gap:7px}.chapter h3{font-size:15px}.chapter header p{font-size:9px}.level-card{padding:19px 9px 12px;gap:6px}.level-emblem{width:53px;height:60px}.level-copy strong{font-size:14px}.level-copy small{font-size:9px}.play-area{gap:22px;grid-template-columns:minmax(0,1fr) 100px}.game-hud{grid-template-columns:60px minmax(0,1fr) 72px;gap:10px}.objective-info>h3{font-size:17px}.objective-plaque{padding:18px 10px 11px}.objective-content{gap:6px}.objective-icon{width:49px;height:53px}.objective-plaque>h2{font-size:19px}.metal-panel>strong{font-size:34px}.moves-plaque>strong{font-size:43px}}
@media(max-width:760px){#forge-app{padding:0 18px}.nav-note{display:none}.forge-nav{height:71px;gap:15px}.jellykid-wordmark{position:static;translate:0}.collection-link{font-size:11px}.forge-nav>.quiet-button{font-size:11px}.select-header{padding-top:8px;padding-bottom:26px}.select-header .forge-logo{width:250px}.select-header .logo-rune{font-size:54px}.select-header .logo-forge{font-size:65px}.select-header h1{font-size:24px;max-width:360px;margin:auto}.select-header>p:last-child{font-size:11px}.select-heading h2{font-size:22px}.chapter-grid{grid-template-columns:1fr;gap:16px}.chapter{padding:15px 12px 12px}.chapter>header{padding:0 3px 12px;gap:12px}.chapter h3{font-size:19px}.chapter header p{font-size:10px}.level-group{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.level-card{display:flex;flex-direction:column;justify-content:center;gap:6px;text-align:center;padding:19px 5px 11px;min-height:190px}.level-emblem{width:62px;height:62px}.level-copy strong{font-size:13px;white-space:normal;min-height:32px;line-height:1.2;display:flex;align-items:center;justify-content:center}.level-copy>span:not(.stars){font-size:8px;margin-top:3px}.level-copy small{font-size:8px}.level-card .stars{font-size:22px}.play-area{grid-template-columns:minmax(0,1fr);gap:0}.game-header{padding-bottom:20px}.game-header .forge-logo{width:210px;padding-bottom:29px}.game-header .logo-rune{font-size:45px}.game-header .logo-forge{font-size:54px}.game-header .forge-logo>svg{width:65px;height:43px}.game-main{max-width:590px;width:100%;margin:auto}.game-hud{grid-template-columns:53px minmax(0,1fr) 62px;gap:9px}.metal-panel{border-width:4px;border-radius:10px}.metal-panel>span{font-size:14px}.metal-panel>strong{font-size:31px}.moves-plaque>strong{font-size:38px}.moves-plaque{padding:9px 2px}.level-plaque{padding:9px 2px}.objective-info>h3{font-size:18px}.objective-plaque>h2{font-size:19px;top:-20px}.objective-plaque{border-width:4px;padding:14px 9px 10px;border-radius:12px}.objective-content{margin-top:7px;gap:5px}.objective-icon{width:46px;height:49px}.objective-meter{height:25px}.objective-meter>strong{font-size:18px}.level-name{font-size:10px;margin:12px 0 16px}.weapon{height:65px;width:310px;max-width:100%;justify-self:center;display:flex;justify-content:flex-end;align-items:center;padding-right:15px;margin-top:5px}.sword{position:absolute;width:65px;height:240px;rotate:-90deg;left:90px;top:-87px}.weapon-caption{width:77px}.weapon-caption>span{font-size:7px;letter-spacing:.3px}.weapon-caption>strong{font-size:23px}.objective-sidebar{display:none}.board-status{font-size:11px;margin-top:15px}.play-controls .quiet-button{font-size:10px;padding:5px 3px}.star-guide{font-size:8px}.star-guide b{font-size:10px}.star-guide>span{margin:0 3px}.game-view{padding-bottom:6px}.forge-exit{height:33px}.forge-exit .rune-art{width:24px;height:24px}.forge-exit>span{font-size:19px}.has-exits{margin-bottom:34px}.cell{padding:0}.forge-dialog{padding:24px}.forge-dialog h2{font-size:26px}.continue-button{font-size:13px}.continue-button>span{font-size:10px}}
@media(max-width:420px){#forge-app{padding:0 12px}.forge-nav{height:61px;gap:6px}.jellykid-wordmark{font-size:20px}.jellykid-wordmark span{font-size:16px;margin-top:6px}.collection-link{font-size:10px;gap:4px}.forge-nav>.quiet-button{font-size:10px;padding:5px}.game-header{padding-bottom:19px}.game-header .forge-logo{width:180px;padding:9px 12px 25px}.game-header .logo-rune{font-size:39px}.game-header .logo-forge{font-size:47px}.game-header .forge-logo>svg{width:56px;height:37px}.game-hud{grid-template-columns:44px minmax(0,1fr) 51px;gap:7px}.metal-panel>span{font-size:12px}.metal-panel>strong{font-size:27px}.moves-plaque>strong{font-size:32px}.objective-plaque{padding:14px 7px 9px}.objective-plaque>h2{font-size:16px;top:-19px;padding:5px 8px;min-width:88%}.objective-icon{width:36px;height:42px}.objective-info>h3{font-size:14px;letter-spacing:-.2px;margin-bottom:5px}.objective-meter{height:22px;border-width:2px}.objective-meter>strong{font-size:17px}.objective-content{gap:4px;margin-top:5px}.level-name{font-size:9px;letter-spacing:-.15px}.level-name>span{margin:0 4px}.cell{padding:0}.board-status{font-size:10px}.play-controls .quiet-button{font-size:9px;gap:4px}.star-guide{font-size:7px}.star-guide b{font-size:9px}.star-guide>span{margin:0 2px}.select-header h1{font-size:22px}.select-heading h2{font-size:21px}.level-group{gap:6px}.chapter{padding:14px 8px 8px}.level-card{min-height:180px}.level-copy strong{font-size:12px}.level-copy small{font-size:7px}.level-num{font-size:9px}.total-stars{padding:7px 12px}.eyebrow{font-size:9px}}
@media(max-width:340px){#forge-app{padding:0 9px}.game-hud{grid-template-columns:38px minmax(0,1fr) 44px;gap:5px}.objective-icon{width:29px;height:34px}.objective-info>h3{font-size:12px}.objective-plaque>h2{font-size:14px}.objective-plaque{padding:13px 5px 8px}.metal-panel>span{font-size:10px}.metal-panel>strong{font-size:25px}.moves-plaque>strong{font-size:29px}.level-name{font-size:8px}.forge-nav>.quiet-button{font-size:9px}.star-guide{font-size:7px}.star-guide b{font-size:8px}.play-controls .quiet-button{font-size:8px}.chapter h3{font-size:17px}.level-card{min-height:170px}.level-emblem{width:54px;height:54px}}
@supports(padding:max(0px)){#forge-app{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:env(safe-area-inset-bottom)}.forge-nav{padding-top:env(safe-area-inset-top)}}
@media(min-width:761px){.game-view{max-width:clamp(610px,calc(100dvh - 280px),820px)}.forge-nav{height:65px}.game-header{padding-bottom:18px}.game-header .forge-logo{width:190px;padding:9px 12px 26px}.game-header .logo-rune{font-size:40px}.game-header .logo-forge{font-size:49px}.game-header .forge-logo>svg{width:62px;height:40px}.play-area{grid-template-columns:minmax(0,1fr) 96px;gap:25px}.game-hud{grid-template-columns:54px minmax(0,1fr) 64px;gap:9px}.objective-info>h3{font-size:16px}.objective-plaque>h2{font-size:18px}.objective-icon{width:44px;height:48px}.objective-plaque{padding:17px 9px 10px}.metal-panel>span{font-size:14px}.metal-panel>strong{font-size:32px}.moves-plaque>strong{font-size:40px}.objective-content{gap:6px}.objective-meter{height:25px}.objective-meter>strong{font-size:19px}.game-main{max-width:none}.level-name{margin:12px 0 16px}}
@media(max-width:420px){.play-controls{flex-wrap:wrap}.play-controls .quiet-button{font-size:11px}.star-guide{order:3;flex-basis:100%;text-align:center;font-size:9px}.star-guide b{font-size:11px}.board-wrap{width:calc(100% - 10px)}}
.charge-instruction{font-size:11px;line-height:1.5;font-weight:900;color:#694331}.charge-objective .objective-content{min-height:52px}.charge-objective .objective-info>h3{margin-bottom:3px}.weapon-caption{background:#201627db;border:1px solid #aa82575e;border-radius:9px;padding:8px 4px}.weapon-caption .weapon-state{font-size:7px;letter-spacing:.4px;color:#c7b4bf}.weapon-caption>strong{font-variant-numeric:tabular-nums;white-space:nowrap}.weapon-caption>span:first-child{color:#ffe1a2}.combined-counters{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.combined-counters>span{display:flex;align-items:center;gap:7px;font-size:10px;line-height:1.3;background:#7d4c2a18;border:1px solid #ab754c66;border-radius:6px;padding:4px 6px;font-weight:900}.combined-counters b{color:#3c1e20;white-space:nowrap}.master-forge .objective-info>h3{white-space:normal;font-size:15px}.master-challenge{margin-top:19px;background:linear-gradient(115deg,#302438ee,#50341bee);border:1px solid #d8aa5c77;border-radius:14px;padding:16px}.master-challenge>.eyebrow{margin-bottom:10px}.master-card{min-height:118px;gap:20px;padding:18px 25px;border-color:#c4a05b}.master-card .level-emblem{width:74px;height:74px}.master-card .level-copy>strong{font-size:22px}.master-card .level-copy>span:not(.stars){font-size:11px;white-space:normal}.master-forge.victory .board-wrap{animation:master-forge-flash 1.1s ease-in-out both}.master-forge.victory .sword{filter:drop-shadow(0 0 26px #fff04a)}.master-result{border-color:#fff18c;box-shadow:0 0 0 5px #614321,0 0 65px #ffe05b66}.master-result .dialog-emblem{filter:drop-shadow(0 0 22px #fff175)}.result-goals{font-weight:900;color:#ffedb7!important}
@keyframes master-forge-flash{0%,100%{filter:drop-shadow(0 0 18px #ffcb4f99)}35%{filter:drop-shadow(0 0 35px #fff7a8);transform:scale(1.015)}65%{filter:drop-shadow(0 0 24px #ffcb4f);transform:scale(1)}}
@media(max-width:760px){.weapon-caption{min-width:91px;padding:5px}.weapon-caption>span:first-child{font-size:8px}.weapon-caption>strong{font-size:22px}.weapon-caption>strong small{font-size:14px}.weapon-caption .weapon-state{font-size:6px}.master-card{flex-direction:row;text-align:left;justify-content:flex-start;min-height:126px;gap:16px;padding:17px}.master-card .level-copy>strong{justify-content:flex-start;min-height:0;font-size:20px}.master-card .level-copy>span:not(.stars){font-size:10px}.master-card .level-copy small{font-size:10px}.master-challenge{padding:12px}.master-forge .objective-plaque{padding-bottom:8px}}
@media(max-width:420px){.charge-instruction{font-size:9px}.charge-objective .objective-content{min-height:42px}.combined-counters>span{font-size:9px;padding:3px 4px;gap:5px}.master-forge .objective-icon{width:29px;height:37px}.master-forge .objective-info>h3{font-size:12px}.master-forge .objective-plaque>h2{font-size:15px}.master-card .level-emblem{width:58px;height:58px}.master-card .level-copy>strong{font-size:18px}.master-card .level-copy>span:not(.stars){font-size:9px}}
.game-main{position:relative}.weapon-slot{position:absolute;left:calc(100% + 25px);top:50%;transform:translateY(-50%);width:96px}
@media(max-width:760px){.weapon-slot{position:static;transform:none;width:100%;display:flex;justify-content:center;margin:-3px 0 12px}.weapon-slot .weapon{margin-top:0}.weapon-slot .weapon-caption{background:#201627ec}}
.sword-frame{display:block}
@media(max-width:760px){.weapon-slot .weapon{width:310px;max-width:100%;padding:0;display:grid;grid-template-columns:minmax(0,1fr) 91px;gap:8px;align-items:center}.weapon-slot .sword-frame{position:relative;width:100%;aspect-ratio:440/120}.weapon-slot .sword-frame .sword{position:absolute;width:27.272727%;height:auto;max-height:none;left:50%;top:50%;rotate:none;transform:translate(-50%,-50%) rotate(-90deg)}.weapon-slot .weapon-caption{width:91px;min-width:0}}
.cell.move-hint:after{content:'';position:absolute;inset:7%;border:2px solid #ffe4a0b3;border-radius:12px;box-shadow:0 0 9px #ffd06b66,inset 0 0 5px #ffdf7840;pointer-events:none;opacity:.85;animation:idle-move-hint 1.8s ease-in-out infinite alternate}
@keyframes idle-move-hint{from{opacity:.45;box-shadow:0 0 5px #ffd06b33,inset 0 0 3px #ffdf7826}to{opacity:1;box-shadow:0 0 12px #ffd06b88,inset 0 0 6px #ffdf7855}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
