@font-face{font-family:Cinzel;font-style:normal;font-display:swap;font-weight:700;src:url(./cinzel-latin-700-normal.Dkw14w9r.woff2)format("woff2"),url(./cinzel-latin-700-normal.C-gK7hA8.woff)format("woff")}@font-face{font-family:Space Grotesk;font-style:normal;font-display:swap;font-weight:400;src:url(./space-grotesk-latin-400-normal.CJ-V5oYT.woff2)format("woff2"),url(./space-grotesk-latin-400-normal.BnQMeOim.woff)format("woff")}@font-face{font-family:Space Grotesk;font-style:normal;font-display:swap;font-weight:600;src:url(./space-grotesk-latin-600-normal.DjKNqYRj.woff2)format("woff2"),url(./space-grotesk-latin-600-normal.BflQw4A9.woff)format("woff")}@font-face{font-family:Cinzel Decorative;font-style:normal;font-display:swap;font-weight:700;src:url(./cinzel-decorative-latin-700-normal.CnX1aK6s.woff2)format("woff2"),url(./cinzel-decorative-latin-700-normal.ov6XPGpn.woff)format("woff")}:root{color:#ede6d2;font-synthesis:none;--gold:#efce76;--jade:#7ce6bc;--muted:#b7b19f;--edge:#3c3525;--surface:#15150f;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#080907;font-family:Space Grotesk,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(at 50% 0,#29231166,#0000 700px),#080907;min-width:280px;margin:0;line-height:1.5}button,input,select{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button,a{touch-action:manipulation;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--jade);outline-offset:4px}button{transition:background .15s,border-color .15s,transform .15s}button:not(:disabled):active{transform:translateY(1px)}p{margin:.65rem 0 1rem}h1,h2,h3{margin:0;font-family:Cinzel,Georgia,serif;font-weight:700;line-height:1.3}h1{font-size:27px}h2{font-size:14px}h3{color:var(--gold);margin:24px 0 12px;font-size:14px}small{font-size:11px}input[type=checkbox]{accent-color:#82dfb6;flex-shrink:0;width:19px;height:19px;margin:0}input[type=range]{accent-color:var(--jade);width:100%;margin:10px 0 24px}fieldset{border:0;min-width:0;margin:0 0 16px;padding:0}legend{color:var(--muted);margin-bottom:8px;font-size:12px}strong{font-weight:600}.muted{color:var(--muted)}.small{font-size:11px}.full{width:100%}.eyebrow{letter-spacing:.15em;color:var(--gold);margin:0 0 12px;font-size:10px;font-weight:600}.app{background:linear-gradient(145deg,#211d12aa,#100f0b 30%,#11110d 70%,#1c180e);border:1px solid #51452d;border-radius:22px;max-width:544px;min-height:calc(100dvh - 48px);margin:24px auto;padding:16px;box-shadow:0 0 0 5px #15130d,0 20px 80px #0008}.app-header{border-bottom:1px solid var(--edge);justify-content:space-between;align-items:center;gap:8px;padding:2px 0 17px;display:flex}.brand{align-items:center;gap:10px;min-width:0;text-decoration:none;display:flex}.brand img{flex-shrink:0}.brand span{letter-spacing:.025em;color:#ffe7a8;font-family:Cinzel,serif;font-size:19px;line-height:1.3}.brand small{color:#9dbbaa;letter-spacing:.07em;margin-top:3px;font-size:8px;display:block}.header-actions{gap:5px;display:flex}.icon-button{border:1px solid var(--edge);background:#15140f;border-radius:9px;justify-content:center;align-items:center;min-width:38px;height:38px;font-size:20px;display:inline-flex}.icon-button:hover{background:#282419;border-color:#8b7042}.setup-intro{text-align:center;padding:26px 4px 20px}.setup-intro .eyebrow{font-size:9px}.setup-intro h1{line-height:1.35}.setup-intro h1 span{color:#e6c66f}.setup-intro p:not(.eyebrow){color:var(--muted);margin:12px 0 5px;font-size:12px}.text-button{color:var(--jade);background:0 0;border:0;min-height:32px;padding:7px 2px;font-size:12px}.text-button:hover{color:#c1ffe5}.records-strip{border:1px solid var(--edge);background:#0d0e0a;border-radius:10px;grid-template-columns:1fr 1fr 1fr;margin-bottom:18px;display:grid;overflow:hidden}.records-strip button{text-align:center;background:0 0;border:0;padding:10px 5px}.records-strip button+button{border-left:1px solid var(--edge)}.records-strip button:hover{background:#222017}.records-strip span{letter-spacing:.06em;color:var(--muted);font-size:8px;display:block}.records-strip strong{color:var(--gold);font-size:17px}.records-strip small{font-size:10px;font-weight:400}.panel{border:1px solid var(--edge);background:linear-gradient(135deg,#1b1a1266,#10110d);border-radius:14px;margin-bottom:14px;padding:16px;box-shadow:inset 0 1px #eee0a207}.section-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;display:flex}.section-heading h2{color:#ecdbab}.section-heading h2>span{color:#ad985e;vertical-align:2px;border:1px solid #54482b;border-radius:4px;margin-right:5px;padding:2px 4px;font:10px Space Grotesk,sans-serif;display:inline-block}.badge{color:#f4d679;white-space:nowrap;background:#2d261044;border:1px solid #746037;border-radius:5px;padding:3px 6px;font-size:9px;font-weight:600}.segmented{background:#080b08;border:1px solid #2e3124;border-radius:9px;gap:4px;min-width:0;padding:4px;display:flex}.segmented button{min-width:0;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:6px;flex:1;padding:9px 2px;font-size:12px}.segmented button.chosen{color:#a7f2d5;background:#173b2d;border-color:#457960;box-shadow:inset 0 0 10px #92e8bb08}.difficulty-grid{grid-template-columns:1fr 1fr;gap:9px;margin-top:14px;display:grid}.difficulty{text-align:left;background:#13140f;border:1px solid #393829;border-radius:9px;min-width:0;padding:12px}.difficulty:hover{border-color:#79623e}.difficulty-top{color:var(--gold);justify-content:space-between;align-items:center;display:flex}.difficulty-top strong{font-family:Cinzel,serif;font-size:13px}.difficulty-top>span{font-size:18px;line-height:1}.difficulty>span:not(.difficulty-top){color:#c7c3b6;margin:3px 0 10px;font-size:11px;display:block}.difficulty small{color:#aaa18c;border-top:1px solid #5c503530;padding-top:7px;font-size:10px;display:block}.difficulty.selected small{color:#e7cf85}.rule-note{color:#a8ae9d;margin:12px 0 0;font-size:11px}.operator-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.operator-grid.four{grid-template-columns:repeat(4,1fr)}.operator-grid button{border:1px solid var(--edge);color:#b9b9a8;background:#151610;border-radius:8px;min-height:58px;padding:6px 2px}.operator-grid b{font-size:22px;line-height:1.2;display:block}.operator-grid span{margin-top:3px;font-size:10px;display:block}.operator-grid .chosen{color:#9ce7c3;background:linear-gradient(135deg,#113428,#13271e);border-color:#4f8f6b}.operator-grid button:disabled{opacity:1}.modifiers{grid-template-columns:1fr 1fr;gap:8px;display:grid}.modifiers label{cursor:pointer;background:#1c180e55;border:1px solid #3d3725;border-radius:8px;align-items:center;gap:9px;padding:10px 8px;display:flex}.modifiers strong{color:#dfcb92;font-size:11px;display:block}.modifiers small{color:var(--muted);margin-top:2px;font-size:10px;display:block}.primary{color:#241905;background:linear-gradient(105deg,#c79a39,#f7e4a2 25%,#e2bd5c 58%,#b4882b);border:1px solid #ffe9a4;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:54px;padding:13px 18px;font-family:Cinzel,serif;font-size:14px;font-weight:700;display:flex;box-shadow:inset 0 1px #fff4c8,inset 0 -3px #7b5c2960,0 3px 14px #0008}.primary:hover:not(:disabled){filter:brightness(1.12)}.primary>span{font-family:Arial,sans-serif;font-size:24px}.primary:disabled{opacity:.65}.secondary{color:#e4d09b;background:#232015;border:1px solid #51472f;border-radius:8px;min-height:42px;padding:10px 12px;font-size:12px}.secondary:hover{background:#332c1a;border-color:#978049}.secondary.full{margin-top:10px}.start-area{z-index:2;background:linear-gradient(#11110d00,#11110df7 15%);padding:12px 0 8px;position:sticky;bottom:0}.start-area p{color:#a69d86;text-align:center;letter-spacing:.04em;margin:9px 0 0;font-size:8px}.extra-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;display:grid}.extra-actions small{color:#b6aa8f;margin-top:4px;font-size:9px;display:block}.resume-card{background:#10291e;border:1px solid #3b785b;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;padding:12px;display:flex}.resume-card strong{color:var(--jade);font-size:13px;display:block}.resume-card span{color:#b8d4bb;margin-top:4px;font-size:10px;display:block}.resume-card button{flex-shrink:0}.app-footer{border-top:1px solid var(--edge);color:#93876a;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;padding-top:14px;font-size:9px;display:flex}.app-footer button{flex-shrink:0;font-size:10px}.notice{color:#ffe4a4;overflow-wrap:anywhere;background:#362e17;border:1px solid #887343;border-radius:8px;padding:10px;font-size:12px}.game-heading{align-items:center;gap:12px;margin:20px 0 8px;display:flex}.game-heading>div{flex:1}.game-heading .eyebrow{margin:0 0 2px;font-size:8px}.game-heading h1{color:#f1d79a;font-size:23px}.game-heading h1 span{color:#938567;font-size:13px}.game-meta{color:#abd1b7;justify-content:space-between;gap:8px;padding:0 3px;font-size:11px;display:flex}.game-meta>span:last-child{color:#81edc0;white-space:nowrap;letter-spacing:2px;font-size:15px;line-height:1.2}.chamber-track{justify-content:space-between;gap:4px;margin:18px 0;padding:0;list-style:none;display:flex;position:relative}.chamber-track:before{content:"";background:#4b3e26;height:1px;position:absolute;top:13px;left:5%;right:5%}.chamber-track li{text-align:center;color:#978a6d;background:#17180f;border:1px solid #514529;border-radius:50%;width:27px;height:27px;font-size:11px;line-height:25px;position:relative}.chamber-track .current{color:#fae3a1;border-color:#eacd75;box-shadow:0 0 12px #e8c56333}.chamber-track .cleared{color:#9defc4;background:#143b2b;border-color:#66b189}.timer{background:#0e100c;border:1px solid #6d603e;border-radius:6px;height:23px;margin-bottom:12px;position:relative;overflow:hidden}.timer-fill{background:linear-gradient(90deg,#114c34,#38896b);height:100%;transition:width .1s linear}.timer-fill.urgent{background:#812e26}.timer>span{text-align:center;color:#fff0c3;font-size:11px;line-height:21px;position:absolute;inset:0}.status-dot{white-space:nowrap;color:#a6a78f;font-size:9px}.status-dot:before{content:"";background:#d8b94e;border-radius:50%;width:5px;height:5px;margin-right:6px;display:inline-block}.status-dot.lit{color:var(--jade)}.status-dot.lit:before{background:var(--jade)}.cipher-panel{padding:12px}.cipher-panel h2{font-size:12px}.cipher-panel .section-heading{margin:0 2px 10px}.vault{background:#080b08;border:1px solid #5a452b;border-radius:9px;height:194px;position:relative;overflow:hidden;box-shadow:inset 0 0 40px #000}.door{z-index:2;background:repeating-linear-gradient(90deg,#0000 0 39px,#d8b45c05 40px),linear-gradient(90deg,#1b190f,#282315,#12140e);width:50%;transition:transform .75s cubic-bezier(.3,0,.3,1) .75s;position:absolute;top:0;bottom:0;box-shadow:inset 0 0 50px #0008}.left-door{border-right:2px solid #7f6030;left:0}.right-door{border-left:2px solid #49381b;right:0}.conduit{opacity:.3;background:linear-gradient(#0000,#7de3b5,#0000);width:2px;position:absolute;top:0;bottom:0;right:5px}.right-door .conduit{left:5px;right:auto}.mechanism{z-index:3;width:145px;height:145px;margin:-72.5px;transition:transform .75s .75s,opacity .5s 1s;position:absolute;top:50%;left:50%}.sun-wheel{filter:drop-shadow(0 6px 10px #000);width:100%;height:100%}.sun-wheel svg{width:100%;height:100%}.sun-wheel .calendar-rotary-wheel{transform-origin:80px 80px;transition:transform 1.1s .1s}.sun-wheel .vault-outer-cogs{transform-origin:80px 80px;transition:transform 1s .1s}.open .calendar-rotary-wheel{transform:rotate(360deg)}.open .vault-outer-cogs{transform:rotate(-120deg)}.bolt{z-index:0;background:linear-gradient(90deg,#d1ffe3,#26aa75,#075331);border:1px solid #8de8ae;width:13px;height:28px;transition:transform .3s .5s;position:absolute;box-shadow:0 0 8px #4fefbc60}.bolt.top{top:-15px;left:calc(50% - 6px)}.bolt.bottom{bottom:-15px;left:calc(50% - 6px)}.bolt.left{width:28px;height:13px;top:calc(50% - 6px);left:-15px}.bolt.right{width:28px;height:13px;top:calc(50% - 6px);right:-15px}.open .bolt.top{transform:translateY(23px)}.open .bolt.bottom{transform:translateY(-23px)}.open .bolt.left{transform:translate(23px)}.open .bolt.right{transform:translate(-23px)}.open .left-door{transform:translate(-100%)}.open .right-door{transform:translate(100%)}.open .mechanism{opacity:0;transform:translate(-190px)}.treasure{background:radial-gradient(at 50% 85%,#c3932944,#0000 65%),repeating-conic-gradient(from 10deg at 50% 65%,#e7b94508 0deg 12deg,#0000 12deg 24deg);flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.treasure-glyph{color:#80eeb4;text-shadow:0 0 30px #68e4aa88;font-size:68px;line-height:1.2}.treasure strong{color:#f3d174;font-family:Cinzel,serif;font-size:18px}.treasure>span:last-child{letter-spacing:.15em;color:#b5a980;margin-top:8px;font-size:8px}.vault-corner{z-index:4;border-style:solid;border-color:#ab8941;width:17px;height:17px;position:absolute}.tl{border-width:1px 0 0 1px;top:7px;left:7px}.tr{border-width:1px 1px 0 0;top:7px;right:7px}.bl{border-width:0 0 1px 1px;bottom:7px;left:7px}.br{border-width:0 1px 1px 0;bottom:7px;right:7px}.vault-caption{color:#9c9c83;letter-spacing:.02em;justify-content:space-between;gap:6px;margin:10px 1px;font-size:8px;display:flex}.vault-caption span:last-child{color:#84b99c}.formula-panel{background:radial-gradient(#79e7b414 .6px,#0000 .8px) 0 0/10px 10px,radial-gradient(at 50% 0,#123b29,#071c13) 0 0/100% 100%;border:1px solid #487b56;border-radius:9px;padding:12px;box-shadow:inset 0 0 20px #0006,0 0 10px #80e9b20d}.formula-label{color:#9dccae;justify-content:space-between;align-items:center;gap:5px;margin-bottom:10px;font-size:8px;display:flex}.formula-label .badge{font-size:8px}.equation{color:#f0d486;justify-content:center;align-items:center;gap:9px;min-width:0;font-size:clamp(14px,3.5vw,21px);font-weight:600;display:flex}.equation .expression{overflow-wrap:anywhere;text-align:center;min-width:0}.equation>span:not(.expression){color:#7ea28c}.equation b{color:#aeffd9;background:#07251b;border:1px solid #6ae8b7;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;min-width:36px;height:40px;font-size:24px;display:inline-flex;box-shadow:0 0 10px #76efb729}.dials-panel{padding:12px}.dials-panel .section-heading{margin-bottom:12px}.dials-panel h2{font-size:12px}.dials{gap:7px;max-width:420px;margin:auto;display:grid}.dial{text-align:center;min-width:0}.dial-arrow{color:#8c856e;background:linear-gradient(#27251a,#181910);border:1px solid #48402b;width:100%;height:36px;font-size:12px;line-height:1;display:block}.dial-well{touch-action:none;-webkit-user-select:none;user-select:none;cursor:ns-resize;color:#ddc78a;background:repeating-linear-gradient(0deg,#a6925010 0 1px,#0000 1px 5px),linear-gradient(#080a06,#373321 45%,#171c10 52%,#080a06);border:1px solid #625333;border-radius:5px;flex-direction:column;justify-content:space-between;align-items:center;width:100%;height:91px;margin:4px 0;padding:3px 0;display:flex;box-shadow:inset 0 5px 8px #000a,inset 0 -5px 8px #000a}.dial-neighbour{color:#82775b;font-size:11px;line-height:18px}.dial-value{text-shadow:0 1px #000,0 0 8px #ffe08533;background:#080906bb;border-block:1px solid #7e66336b;width:100%;font-size:28px;line-height:36px}.dial-label{color:#938b73;margin-top:4px;font-size:10px;display:block}.dial.active .dial-well{border-color:#f9d668;box-shadow:0 0 9px #f5cf6226,inset 0 3px 8px #0008}.dial.active .dial-label{color:var(--gold)}.dial.correct .dial-well{border-color:var(--jade)}.control-tip{color:#a0a18c;text-align:center;margin:12px 0 0;font-size:10px}.feedback{color:#c8c4ad;min-height:36px;margin:12px 2px;font-size:12px}.feedback.error{color:#f4ad94}.game-footer{color:#9d947d;justify-content:space-between;align-items:center;gap:6px;margin-top:12px;font-size:9px;display:flex}.game-footer strong{color:var(--gold);font-size:13px;display:block}.game-footer button{font-size:11px}.practice-actions{gap:8px;margin-bottom:12px;display:flex}.practice-actions>*{flex:1}.hint,.solution{border-left:2px solid var(--jade);background:#10281c88;border-radius:0 6px 6px 0;margin:12px 0;padding:12px;font-size:12px}.solution strong{color:#cce9c9;font-size:12px}.solution ol{color:#e3dbb6;margin:8px 0 0;padding-left:20px}.solution li+li{margin-top:5px}.pause-card{text-align:center;background:radial-gradient(at 50% 0,#1c3e28,#121910);border:1px solid #547359;border-radius:14px;margin:20px 0;padding:35px 16px}.pause-card .large-glyph{color:var(--gold);font-size:36px}.pause-card h2{margin:12px 0;font-size:20px}.pause-card p{color:var(--muted);font-size:13px}.pause-card button.primary{margin-top:24px}dialog{color:#e9e2cd;overscroll-behavior:contain;background:linear-gradient(145deg,#252115,#11150f 65%);border:1px solid #ae8b43;border-radius:18px;width:calc(100% - 28px);max-width:460px;max-height:calc(100dvh - 32px);padding:22px;overflow-y:auto;box-shadow:0 25px 100px #000}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#050704d9}dialog p{font-size:13px}dialog .primary{margin-top:16px}dialog h2{color:#f1d495;font-size:18px}.dialog-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.dialog-heading .icon-button{flex-shrink:0}.dialog-heading h2{max-width:320px}.tutorial-dials{grid-template-columns:70px 70px;justify-content:center;gap:20px;margin:20px auto;display:grid}.success-message{color:#9ee7b7;background:#183522;border:1px solid #537959;border-radius:8px;padding:12px;font-size:13px}.settings-list label{justify-content:space-between;align-items:center;gap:20px;margin:16px 0;display:flex}.settings-list small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.settings-list .volume-label{margin-bottom:0;font-size:13px}.code-input{color:#c9edcf;background:#0c100b;border:1px solid #70603d;border-radius:8px;width:100%;min-width:0;margin:8px 0;padding:13px 10px;font-family:monospace;font-size:13px}.records-summary{text-align:center;border:1px solid var(--edge);background:#0c110b;border-radius:9px;grid-template-columns:repeat(3,1fr);gap:8px;padding:15px 4px;display:grid}.records-summary strong{color:#e8cb7d;font-size:22px}.records-summary small{color:#a9a18b;margin-top:5px;font-size:8px;display:block}.treasure-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.treasure-grid>div{text-align:center;color:#8d8c76;background:#10160e;border:1px solid #41452f;border-radius:8px;padding:15px 5px}.treasure-grid>div>span{font-size:33px;line-height:1.2;display:block}.treasure-grid strong{margin-top:8px;font-family:Cinzel,serif;font-size:11px;display:block}.treasure-grid small{margin-top:4px;font-size:10px;display:block}.treasure-grid .collected{color:#f1d492;background:radial-gradient(at 50% 0,#54492066,#181b0f);border-color:#b99f55}.achievements,.history{padding:0;list-style:none}.achievements li{border-bottom:1px solid var(--edge);color:#8d8d78;align-items:center;gap:12px;padding:10px 0;display:flex}.achievements li>span{font-size:23px}.achievements small,.history small{color:#b1ae98;margin-top:3px;font-size:11px;display:block}.achievements strong{font-size:13px}.achievements .earned{color:#e5cb84}.history li{border-bottom:1px solid var(--edge);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;font-size:12px;display:flex}.history b{color:var(--gold);white-space:nowrap;font-size:11px}.expedition-map{border:1px solid var(--edge);background:radial-gradient(#1c321d66,#0000);border-radius:10px;width:100%;max-height:200px;display:block}.result-stats{text-align:center;border-block:1px solid var(--edge);grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0;padding:14px 0;display:grid}.result-stats>span{color:#b3a78b;font-size:8px}.result-stats strong{color:var(--gold);margin-bottom:4px;font-size:19px;display:block}.solution-review{margin:14px 0}.solution-review summary{cursor:pointer;color:var(--jade);padding:8px 0;font-size:12px}.solution-review .solution{margin:10px 0}.solution-review p{margin:5px 0;font-size:11px}@media (width>=900px){.app{margin:30px auto}.setup-intro{padding:30px 4px 22px}.vault{height:210px}}@media (width<=560px){.app{border-radius:16px;min-height:calc(100dvh - 20px);margin:10px;padding:12px}.app-header{padding-bottom:12px}.brand span{font-size:17px}.brand img{width:32px;height:32px}.brand small{font-size:7px}.header-actions{gap:4px}.header-actions .icon-button{width:32px;min-width:32px;height:34px;font-size:18px}.panel{padding:12px}.section-heading h2{font-size:12px}.setup-intro h1{font-size:25px}.setup-intro{padding:24px 0 18px}.difficulty{padding:10px}.dials{gap:5px}.dial-value{font-size:25px}.equation{gap:6px}.equation b{min-width:31px;height:35px;font-size:22px}.formula-panel{padding:10px}.vault{height:176px}.mechanism{width:130px;height:130px;margin:-65px}.app-footer{font-size:8px}.app-footer button{font-size:9px}.start-area p{font-size:7px}.modifiers label{gap:6px;padding:10px 6px}.modifiers strong{font-size:10px}.modifiers small{font-size:9px}.result-stats strong{font-size:17px}dialog{padding:18px}.game-meta{font-size:10px}}@media (width<=340px){.app{margin:7px;padding:9px}.brand small{display:none}.brand span{font-size:15px}.brand{gap:6px}.game-meta{font-size:9px}.dials{gap:4px}.panel{padding:10px}.extra-actions,.modifiers{grid-template-columns:1fr}.equation{font-size:13px}.section-heading .small{font-size:8px}.difficulty small{font-size:9px}}.reduce-motion *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.reduce-motion .open .mechanism{opacity:0}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.open .mechanism{opacity:0}}#main-content:focus{outline:none}.in-game .app-header{padding-bottom:10px}.in-game .brand small{display:none}.in-game .brand img{width:28px;height:28px}.in-game .brand span{font-size:15px}.in-game .game-heading h1{font-size:20px}.in-game .panel{margin-bottom:10px}.in-game .formula-panel{padding:9px}.in-game .formula-label{margin-bottom:6px}.in-game .dial-well{height:74px}.in-game .dial-value{font-size:25px;line-height:28px}.in-game .dial-neighbour{font-size:10px;line-height:13px}.in-game .dial-arrow{height:31px}.in-game .dials-panel{padding:10px}.in-game .dials-panel .section-heading{margin-bottom:8px}.in-game .control-tip{margin-top:7px;font-size:9px}.in-game .feedback{min-height:0;margin:8px 2px;font-size:11px}.in-game .primary{min-height:48px;padding:9px 16px}.in-game .game-footer{margin-top:8px}.in-game .app-footer{display:none}.in-game .vault-caption{margin:7px 1px}.input-console{min-width:0}.reset-answers{min-height:24px;padding:1px;font-size:10px}.in-game .game-heading{margin:8px 0 4px}.in-game .chamber-track{margin:9px 0}.in-game .vault{height:120px}.in-game .mechanism{width:96px;height:96px;margin:-48px}.in-game .bolt.top{top:-9px}.in-game .bolt.bottom{bottom:-9px}.in-game .bolt.left{left:-9px}.in-game .bolt.right{right:-9px}@media (width>=900px){.app.in-game{max-width:920px;min-height:0}.in-game .game-workspace{grid-template-columns:1.15fr 1fr;align-items:start;gap:14px;display:grid}.in-game .vault{height:190px}.in-game .mechanism{width:134px;height:134px;margin:-67px}.in-game .cipher-panel{margin:0}.in-game .input-console .dials-panel{padding:16px 12px}.in-game .game-footer{border-top:1px solid var(--edge);padding-top:12px}.in-game .formula-panel{flex-direction:column;justify-content:space-between;min-height:90px;display:flex}.in-game .equation{font-size:18px}.in-game .feedback{min-height:36px;margin:12px 3px;font-size:12px}.in-game .dial-well{height:92px}.in-game .dial-arrow{height:36px}}.app{background-color:#0c0b0a;background-image:radial-gradient(at 50% -10%,#ffb3002e 0%,#0000 55%),radial-gradient(circle at 10% 45%,#0df2c812 0%,#0000 35%),radial-gradient(circle at 90%,#ff8c0014 0%,#0000 35%),linear-gradient(#15110c 0%,#0c0b0a 45%,#080706 100%);border:1px solid #4a3824;box-shadow:0 0 0 1px #2a1f14,0 10px 30px #000000d9}.panel,.app-header,.records-strip,.game-heading{background:linear-gradient(170deg,#181410 0%,#110e0b 60%,#0b0907 100%);border:1px solid #36291c;box-shadow:inset 0 1px #ffdc8c1a,0 2px 8px #0009}.difficulty{background:#13100c;border:1px solid #33271b;transition:all .15s ease-out}.difficulty.selected{background:linear-gradient(145deg,#382918 0%,#20170e 100%);border-color:#ffd54f;box-shadow:0 0 12px #ffd54f40,inset 0 1px 1px #ffebaa59}.operator-grid button{background:#14100c;border:1px solid #35291e;transition:all .15s cubic-bezier(.4,0,.2,1)}.operator-grid .chosen,.segmented button.chosen{background:radial-gradient(circle at 50% 30%,#063e34 0%,#05211c 80%);border-color:#0df2c8;box-shadow:0 0 14px #0df2c880,inset 0 0 8px #0df2c840}.operator-grid .chosen b{color:#0df2c8;text-shadow:0 0 10px #0df2c8e6}.segmented button.chosen{color:#a7f3d0;text-shadow:0 0 8px #0df2c866}.segmented{gap:8px;padding:5px}.primary{background:linear-gradient(135deg,#fff4bf 0%,#f5b83d 20%,#9b6305 40%,#ffe894 58%,#be8013 78%,#ffe182 90%,#663f03 100%);box-shadow:0 4px 14px #000000d9,inset 0 1px 1px #ffffffe6,inset 0 -2px 3px #000000bf,0 0 15px #ffb9004d}.dial-well{background:linear-gradient(#080706 0%,#1b1612 12%,#3a3227 25%,#5b5042 40%,#28211b 52%,#443a2f 68%,#1c1713 84%,#070605 100%);box-shadow:inset 0 8px 12px -2px #000000fc,inset 0 -8px 12px -2px #000000fc}.dial.active .dial-well{box-shadow:0 0 0 2px #ffd54f,0 0 16px #ffb300e6,inset 0 0 10px #ff50008c}.dial-value{color:#ffda66;text-shadow:0 0 8px #ffcd37d9,0 2px 4px #000000f2,0 -1px 1px #fffff0f2}.equation b{color:#0df2c8;text-shadow:0 0 8px #0df2c8f2,0 0 16px #0df2c88c,-1px -1px 1px #021f1b,1px 1px 1px #b0fffa}.modifiers label:has(input:checked){color:#a7f3d0;background:#08291e;border-color:#10b981;box-shadow:0 0 10px #10b98159}:root{--gold:#ffd54f;--jade:#0df2c8;--edge:#483624;--surface:#181410}body{background:#050403}.app{box-shadow:0 0 0 1px #2a1f14,0 10px 30px #000d,inset 0 1px 1px #ffd54f12}.app-header{border-radius:11px;padding:10px}.in-game .app-header{padding:8px 10px}.game-heading{border-radius:9px;padding:8px}.brand span,.primary{font-family:Cinzel Decorative,Cinzel,serif}.brand span{color:#fff3b0;text-shadow:0 0 8px #ffb30055,0 2px 2px #000}.brand img{filter:drop-shadow(0 0 5px #ffb30066)}.icon-button,.secondary{background:linear-gradient(165deg,#2f271f,#1e1914 30%,#120f0c 70%,#241d16);border-color:#483929;box-shadow:inset 0 1px 2px #ffebab38,inset 0 -2px 6px #000,0 3px 8px #000a}.section-heading h2{color:#ffe082;text-shadow:0 0 7px #ffb30033}.cipher-panel .section-heading h2,.game-meta>span:last-child{color:#6ee7b7;text-shadow:0 0 8px #10b98188}.difficulty.selected .difficulty-top{color:#fff3b0;text-shadow:0 0 8px #ffb30055}.records-strip strong{color:#ffd54f;text-shadow:0 0 10px #ffb30055}.primary{color:#291600;text-shadow:0 1px #fff3b099;border-color:#fff3b0}.dial-arrow{color:#b79a60;background:linear-gradient(#3a3022 0%,#251d14 15%,#17120d 52%,#100c09 53%,#20190f 100%);border:1px solid #655030;justify-content:center;align-items:center;padding:0;transition:color .15s,border-color .15s,box-shadow .15s,background .15s;display:flex;position:relative;box-shadow:inset 0 1px #ffe1a32b,inset 0 -2px 2px #000c,0 2px 3px #0009}.dial-arrow svg{fill:none;stroke:currentColor;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 1px #000);width:19px;height:19px}.dial-arrow.up{border-radius:9px 9px 4px 4px}.dial-arrow.down{border-radius:4px 4px 9px 9px}.dial.active .dial-arrow{color:#ffe6a2;background:linear-gradient(#8b652c 0%,#4b351a 12%,#32220f 50%,#211607 51%,#4c3414 100%);border-color:#d3a343;box-shadow:inset 0 1px #fff0b575,inset 0 -2px 2px #000c,0 2px 4px #000c,0 0 8px #ffb30026}.dial.active .dial-arrow svg{filter:drop-shadow(0 0 4px #ffb30088)drop-shadow(0 1px 1px #000)}.dial-arrow:hover:not(:disabled){color:#fff3bf;border-color:#edc875;box-shadow:inset 0 1px #fff0b566,inset 0 -2px 2px #000c,0 0 10px #ffb30040}.dial-arrow:active:not(:disabled){box-shadow:inset 0 2px 5px #000e,inset 0 -1px #ffe1a326}.dial-well{border-color:#a66c15}.dial-value{background:linear-gradient(#050403,#1b160da8 50%,#050403);border-block:1px solid #c2872b;font-weight:700}.dial.active .dial-value{color:#ffe082}.dial.active .dial-label{color:#ffd54f;text-shadow:0 0 8px #ffb30099}.formula-panel{background:radial-gradient(#0df2c815 1px,#0000 1.5px) 0 0/12px 12px,radial-gradient(#052a23,#031c17 65%,#020f0d) 0 0/100% 100%;border-color:#537d65;box-shadow:inset 0 0 18px #000,inset 0 1px 2px #0df2c866,0 0 14px #0df2c833}.formula-label{color:#a7f3d0}.formula-label .badge{color:#ffe082;background:#2a2008;border-color:#b88825;box-shadow:inset 0 1px 3px #ffd54f22}.equation .expression{color:#ffe082;text-shadow:0 0 8px #ffcd3766,0 2px 3px #000}.equation b{background:radial-gradient(at 50% 35%,#063c30,#020f0d);border-color:#6ee7b7;box-shadow:0 0 12px #0df2c866,inset 0 0 8px #000}.vault{background:#0d0805;border-color:#4a3824;box-shadow:inset 0 0 24px #000,inset 0 2px 4px #ffc34140}.left-door{background:linear-gradient(90deg,#1c150f,#130d08 70%,#0d0805);border-right-color:#854d0e;box-shadow:10px 0 25px #000}.right-door{background:linear-gradient(270deg,#1c150f,#130d08 70%,#0d0805);border-left-color:#451a03;box-shadow:-10px 0 25px #000}.conduit{opacity:.15;background:linear-gradient(#0000,#0df2c8,#0000)}.open .conduit{opacity:1;filter:drop-shadow(0 0 12px #0df2c8)}.bolt{background:radial-gradient(circle at 35% 30%,#b8fff7,#52f0ac 30%,#15955e 70%,#084326);border-color:#a7f3d0;box-shadow:0 0 10px #10b98199,inset 0 1px 2px #fff9,0 3px 6px #000c}.bolt:after{content:"";background:radial-gradient(circle at 30%,#ffcf32 0 2px,#0000 3px),radial-gradient(circle at 72%,#9c2922 0 2px,#0000 3px),linear-gradient(135deg,#b98a35,#493519 40%,#876532);border:1px solid #a07d35;width:21px;height:17px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 4px #000b,inset 0 1px #ffe08266}.sun-wheel svg{overflow:visible}.sun-wheel{filter:drop-shadow(0 3px 6px #000e)drop-shadow(0 0 4px #ffb30033)}.open .calendar-rotary-wheel{filter:drop-shadow(0 0 18px #0df2c8f2)drop-shadow(0 0 8px #ffd700cc);transform:rotate(720deg)scale(1.04)}.open .vault-outer-cogs{filter:drop-shadow(0 0 10px #ffbe28cc);transform:rotate(-360deg)}.sun-wheel .calendar-rotary-wheel{transition:transform 1.45s cubic-bezier(.34,1.35,.64,1)}.sun-wheel .vault-outer-cogs{transition:transform 1.25s cubic-bezier(.34,1.25,.64,1)}.chamber-track .current{border-color:#ffd54f;box-shadow:0 0 12px #ffd54f66,inset 0 0 8px #ffb30022}.chamber-track .cleared{background:radial-gradient(circle at 35% 30%,#15955e,#084326);box-shadow:0 0 9px #10b98166}dialog{background:radial-gradient(at 50% -10%,#ffb3002e,#0000 55%),linear-gradient(165deg,#21190f,#0c0b0a 60%);border-color:#876337;box-shadow:0 0 0 1px #2a1f14,0 18px 65px #000e,inset 0 1px #ffe08233}@media (prefers-reduced-motion:no-preference){.app:not(.reduce-motion) .equation b{animation:2.5s ease-in-out infinite restored-jade-glow}}@keyframes restored-jade-glow{0%,to{filter:drop-shadow(0 0 5px #0df2c859)}50%{filter:drop-shadow(0 0 9px #0df2c8a6)}}@media (width<=899px){.in-game .vault{height:164px}.in-game .mechanism{width:130px;height:130px;margin:-65px}}
