@font-face{font-family:Egyptian;src:url('Data/Fonts/NotoSansEgyptianHieroglyphs-Regular.ttf') format('truetype');font-display:swap}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#153c36;color:#fff4d7;font-family:Georgia,'Times New Roman',serif}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #42d7c8;outline-offset:3px}button:disabled{cursor:wait;opacity:.55}button{color:inherit;border:1px solid #a3854c;background:#173936;padding:12px 20px;border-radius:3px;transition:background .18s,transform .18s}button:hover:not(:disabled){background:#27554c;transform:translateY(-1px)}a{color:#e4c37d;text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}h2{font-size:clamp(24px,3vw,42px);font-weight:400}#game,#unity-canvas{position:absolute;width:100%;height:100%;inset:0}#unity-canvas{outline:0;object-fit:fill}.vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 100px #071b2340;background:linear-gradient(#081c2440,transparent 20%,transparent 75%,#061f2a70)}[hidden]{display:none!important}.eyebrow{font-size:11px;letter-spacing:3px;line-height:1.7;color:#d7b96e}.primary{background:linear-gradient(115deg,#cfad61,#f2d894);border:1px solid #ffe3a4;color:#26382d;box-shadow:0 4px 22px #0003;font-weight:bold;letter-spacing:.5px;min-height:48px}.primary:hover:not(:disabled){background:#f8df9d}.primary span{margin-left:24px}#loading{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 40%,#245448,#0b2627);display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:30;text-align:center;gap:15px}#loading h1{font-size:clamp(60px,10vw,135px);font-weight:400;letter-spacing:15px;color:#e7c67b}#loading p{letter-spacing:4px;font-size:13px}#loading progress{width:260px;height:3px;accent-color:#d8bf84;margin:15px}#load-label{font-size:12px;color:#bfd2c2}.sigil{font-size:70px;color:#e9cc80;line-height:1.2}.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:10;background:#071c2470;backdrop-filter:blur(4px);padding:24px;overflow:auto}.title-screen{justify-content:flex-start;background:linear-gradient(90deg,#0c292be8, #0c292b50 60%,transparent);backdrop-filter:none;padding:7vw}.title-copy{max-width:640px}.title-copy h1{font-size:clamp(68px,10vw,146px);font-weight:400;line-height:1.1;letter-spacing:9px;background:linear-gradient(#fff1c2,#dbaf52 65%,#a17a37);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 9px 30px #152e3d33}.title-copy h2{text-transform:uppercase;font-size:clamp(14px,1.8vw,24px);letter-spacing:3px;color:#edcf86}.ornament{letter-spacing:5px;color:#cfb36d;margin:24px 0}.title-copy>p:not(.eyebrow){font-size:18px;line-height:1.6;color:#d5e2d5}.title-copy .primary{margin:30px 0 10px;min-width:330px}.title-copy a{display:block;margin-top:24px;font-size:12px}.subtle{font:12px/1.6 system-ui,sans-serif!important;color:#c4d4cb!important}.title-note{position:absolute;right:6%;bottom:12%;border-left:1px solid #d9bb75;padding:0 0 0 23px;line-height:1.6}.title-note span{font-size:10px;letter-spacing:2px;color:#d5be83}.title-note p{margin-top:10px;font-size:20px}#hud{position:absolute;top:26px;left:28px;right:28px;display:flex;align-items:flex-start;justify-content:space-between;gap:22px;pointer-events:none}#hud button{pointer-events:auto}#hud nav{display:flex;gap:5px}#hud nav button{padding:9px 14px;background:#0e302dc9;font-size:12px}.vitals{display:flex;align-items:center;gap:10px}.portrait{display:grid;place-items:center;width:64px;height:64px;border:2px solid #cbaa62;border-radius:50%;background:#0e3834e0;font-size:42px;color:#e6c773;box-shadow:0 0 0 5px #203b3580}.bars{width:205px}.bars>span{display:flex;justify-content:space-between;font-size:12px;letter-spacing:2px;color:#f5db9c;margin-bottom:6px}.bars small{font-size:9px;letter-spacing:1px}meter{display:block;width:100%;height:12px;background:#162d2d;border:1px solid #ad8f4b;margin:3px 0;border-radius:0}meter::-webkit-meter-bar{background:#172b2d;border:0;border-radius:0}meter::-webkit-meter-optimum-value{background:linear-gradient(#eb7061,#af2e30)}#stamina{height:7px;width:83%}#stamina::-webkit-meter-optimum-value{background:linear-gradient(#a1e7df,#238e94)}.quest{background:#0d2928cf;border-top:1px solid #c8ac6c;padding:13px 17px;min-width:245px}.quest>p:nth-child(2){font-size:13px;margin:8px 0}.quest-line{display:flex;justify-content:space-between;font:11px system-ui;color:#cedbca}#run-score{color:#f2d796}#enemy-bar{position:absolute;top:115px;left:50%;transform:translateX(-50%);width:260px;text-align:center;font-size:11px;letter-spacing:2px}#enemy-bar meter{height:9px;margin-top:9px}#world-hud{position:absolute;bottom:22px;left:28px;right:28px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;pointer-events:none}.region-wrap{display:flex;align-items:center;gap:16px}.region-wrap small{font-size:8px;letter-spacing:2px;color:#d9c691}.region-wrap p{font-size:17px;max-width:190px;margin-top:6px}.minimap{position:relative;border:2px solid #ceb36d;background:radial-gradient(#51754a,#284c3d);width:108px;height:108px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 5px #122c2b60}.minimap svg{width:100%;height:100%}.minimap>span{position:absolute;top:4px;left:47%;font-size:10px;color:#f5d890}#desktop-hint{font:10px/1.8 system-ui,sans-serif;text-align:center;color:#f3e9cbab}.score-orb{text-align:right}.score-orb>span{color:#e9ca7f;font-size:37px;vertical-align:middle}.score-orb strong{font-size:30px;font-weight:400;margin-left:8px}.score-orb small{display:block;font-size:8px;letter-spacing:2px;color:#d9c89e;margin-top:2px}.papyrus{background:radial-gradient(ellipse at 30% 0,#fff0c6,#eed9a5 70%,#d1b27b);color:#353426;border:1px solid #e7c67b;box-shadow:0 0 0 5px #765b36,0 0 0 7px #d3b776,0 15px 80px #0008;position:relative;padding:28px 34px;max-height:calc(100dvh - 55px);overflow:auto;scrollbar-color:#aa8850 #eed9a5}.papyrus .eyebrow{color:#827042}.sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.sheet-head p:not(.eyebrow){font-size:13px;margin-top:8px;color:#6d624b}.close{position:absolute;right:18px;top:14px;border:0;background:transparent;color:inherit;font-size:30px;padding:0 4px;z-index:2}.close:hover:not(:disabled){background:transparent}.study{width:min(1100px,96vw);text-align:center}.study .sheet-head{text-align:left}.study h3{margin:22px 0 10px;text-align:left;font-size:10px;letter-spacing:2px;font-weight:400;color:#5b5b39;border-bottom:1px solid #b7a16f;padding-bottom:8px}.study h3 span{letter-spacing:0;font-style:italic;float:right;font-size:11px}.study-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.study-card{padding:10px 7px;background:#fff5d32e;border:1px solid #bca06b;border-radius:3px;overflow:hidden}.glyph{font-family:Egyptian,sans-serif;font-size:72px;line-height:1.5;color:#282c23}.study-card .glyph{height:68px;display:flex;align-items:center;justify-content:center;font-size:44px;white-space:nowrap}.study-card.word .glyph{font-size:29px;height:62px;overflow:hidden;white-space:normal;overflow-wrap:anywhere;line-height:1.15}.study-card .translit{font-size:16px;color:#745b31;margin:6px 0}.study-card .answer{font-size:13px;line-height:1.3;min-height:31px;overflow-wrap:anywhere}.study-card .item-code{font:9px/1.4 system-ui;color:#8c7850;margin-top:8px}.language-note{font:10px/1.5 system-ui;color:#80704e;margin:16px 0}.study .primary{font-size:13px;padding:14px 28px;background:#1f534a;color:#fff0ba;border-color:#3b6a5b}.save-note{font:9px/1.5 system-ui;color:#7c7055;margin-top:12px}.quiz{width:min(560px,90vw);text-align:center}.quiz h2{font-size:24px;margin:12px 0}.quiz .glyph{font-size:90px;line-height:1.7;overflow-wrap:anywhere}#choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}#choices button{background:#f8eac56e;color:#3c3a2d;border-color:#b79c60;text-align:left;font-size:14px;min-height:54px;display:flex;align-items:center;gap:12px}#choices button:hover{background:#fff4cd}#choices kbd{border:1px solid #a98c50;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;font:13px Georgia;flex-shrink:0}.quiz-note{font:10px/1.6 system-ui;color:#7c6c4d;margin-top:19px}.dark-panel{position:relative;min-width:340px;max-width:540px;background:linear-gradient(140deg,#173c37f5,#0b2829fa);border:1px solid #b99a57;box-shadow:0 0 0 5px #0a292a80,0 15px 60px #0005;padding:38px 44px;text-align:center;display:flex;flex-direction:column;gap:16px}.dark-panel>p{font-size:13px;line-height:1.8;color:#ccdacb}.dark-panel button:not(.close),.dark-panel a{width:100%;font-size:13px}.dark-panel label{font-size:14px;display:flex;align-items:center;justify-content:space-between;gap:20px}.dark-panel select{background:#173b37;color:#f3ddb3;padding:8px;border:1px solid #8c7c50}.dark-panel input{accent-color:#c6ac6f}.dark-panel .sigil{font-size:50px}.final-score{font-size:60px;font-weight:400;color:#e9cb82;line-height:1}.library{width:min(1000px,95vw);min-height:500px}.stats{display:flex;gap:10px;margin:23px 0 0;flex-wrap:wrap}.stat{padding:10px 18px;border-left:1px solid #bca16b;flex:1;white-space:nowrap}.stat strong{display:block;font-size:25px;font-weight:400;color:#42634b}.stat span{font:9px system-ui;text-transform:uppercase;letter-spacing:1px}.library-search{display:flex;align-items:center;gap:10px;margin:18px 0;font:11px system-ui}.library-search>input{flex:1;min-width:80px;padding:11px;border:1px solid #b19c70;background:#fff5d365;color:#353426}.library-search select{padding:10px;border:1px solid #b19c70;background:#efe0b7}.library-search label{white-space:nowrap;display:flex;align-items:center;gap:4px}#library-results{display:grid;grid-template-columns:1fr 1fr;gap:0 30px;min-height:100px}.library-row{display:flex;align-items:center;gap:18px;padding:12px 0;border-bottom:1px solid #c8b78c}.library-row .glyph{font-size:34px;min-width:65px;max-width:44%;overflow-wrap:anywhere;line-height:1.5}.library-row p{font-size:12px;line-height:1.5}.library-row small{font-size:10px;color:#827049}.pagination{display:flex;align-items:center;justify-content:space-between;margin-top:20px;font:11px system-ui}.pagination button{padding:8px 16px;background:#35594a;color:#f1e6bd}.credits{width:650px}.credits>p:not(.eyebrow){font-size:14px;line-height:1.8;margin-top:20px}.credits a{color:#315f50;display:block;margin-top:20px}#toast{position:absolute;z-index:25;left:50%;bottom:18%;transform:translateX(-50%);background:#153b34ed;border:1px solid #ceb477;padding:13px 25px;text-align:center;font-size:15px;max-width:80vw}#touch{position:absolute;inset:0;pointer-events:none}#joystick{position:absolute;left:28px;bottom:34px;width:114px;height:114px;border:1px solid #e7d09385;border-radius:50%;background:#123a344d;pointer-events:auto;touch-action:none}#stick{position:absolute;left:35px;top:35px;width:44px;height:44px;border:1px solid #e7d093c0;background:#d1bf7f5e;border-radius:50%;pointer-events:none}#camera-pad{position:absolute;right:0;top:100px;width:48%;height:48%;pointer-events:auto;touch-action:none}.touch-actions{position:absolute;right:20px;bottom:22px;width:230px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;pointer-events:auto}.touch-actions button{background:#183b32b8;border:1px solid #d7c17d;border-radius:50%;width:64px;height:56px;font-size:11px;padding:5px;touch-action:none}.touch-actions .attack{background:#b7974cc9;color:#fff8d5}
@media(max-width:1000px){#hud{left:18px;right:18px;top:18px}.bars{width:150px}.portrait{width:48px;height:48px;font-size:32px}.quest{min-width:200px;padding:10px 12px}.quest .eyebrow{font-size:8px;letter-spacing:1.5px}#desktop-hint{display:none}#hud nav button{font-size:10px;padding:8px}.title-note{display:none}.study{padding:20px 24px}.study-card .answer{font-size:11px}.study-card.word .glyph{font-size:25px}.study-card .glyph{font-size:38px}.study-grid{gap:6px}.region-wrap p{font-size:14px}.minimap{width:80px;height:80px}}
@media(max-height:650px){.papyrus{padding:20px;max-height:calc(100dvh - 28px)}.overlay{padding:14px}.study h2{font-size:25px}.study h3{margin:13px 0 7px}.study-card{padding:5px}.study-card .glyph{height:43px;font-size:30px}.study-card.word .glyph{height:38px;font-size:22px}.study-card .translit{font-size:12px;margin:3px}.study-card .answer{font-size:10px;min-height:24px}.study-card .item-code{font-size:8px;margin-top:4px}.language-note{margin:8px 0}.study .primary{padding:10px 18px;min-height:40px;font-size:11px}.save-note{margin-top:6px}.quiz h2{font-size:20px}.quiz .glyph{font-size:62px;line-height:1.4}#choices button{min-height:44px;padding:7px 12px}.quiz-note{margin-top:12px}.dark-panel{padding:24px 35px;gap:12px;max-height:calc(100dvh - 30px);overflow:auto}.dark-panel h2{font-size:28px}.title-copy .primary{margin-top:20px}.title-copy>p:not(.eyebrow){font-size:14px}.title-copy a{margin-top:15px}.title-copy h1{font-size:80px}.ornament{margin:13px 0}#world-hud{bottom:15px}body.touch-device .region-wrap{display:none}body.touch-device .score-orb{position:absolute;left:0;bottom:170px}body.touch-device #hud .quest{min-width:180px}body.touch-device .bars{width:120px}.library{min-height:0}.stats{margin-top:12px}.stat{padding:6px 12px}.stat strong{font-size:21px}}
@media(max-width:600px){.title-copy .primary{min-width:0;width:100%}.title-screen{padding:8vw}.title-copy h1{font-size:64px}.title-copy h2{font-size:14px}.title-copy .eyebrow{font-size:9px;letter-spacing:2px}#hud{gap:8px}.quest{display:none}.study-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.study-card .item-code{font-size:7px}.study h3 span{font-size:9px}.sheet-head p:not(.eyebrow){font-size:11px}.papyrus{padding:18px 14px}.study-card .glyph{font-size:25px}.study-card.word .glyph{font-size:17px}.study-card .answer{font-size:9px}.study-card .translit{font-size:11px}.study .primary{font-size:10px;width:100%;padding:12px 3px}.primary span{margin-left:6px}.study h2{font-size:24px}#library-results{grid-template-columns:1fr}.library-search{flex-wrap:wrap}.library-search>input{flex-basis:70%}.stats{gap:0}.stat{padding:8px}.stat strong{font-size:21px}.stat span{font-size:8px}.region-wrap .minimap{display:none}.dark-panel{min-width:0;width:95vw;padding:28px}.touch-actions{width:194px;gap:5px;right:10px}.touch-actions button{width:59px;height:54px}#joystick{left:18px;bottom:25px}.score-orb strong{font-size:24px}#enemy-bar{top:90px;width:190px}}
.key-bindings{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.key-bindings button{padding:7px 5px;font-size:10px!important}.reference-badge{display:block;color:#826e45;font:9px/1.5 system-ui;margin-top:4px}.missing-glyph{font:9px/1.5 system-ui;color:#8b7956;min-width:65px}
body.touch-device .study-card .answer{font-size:12px;line-height:1.45;min-height:36px}body.touch-device .study-card .glyph{height:60px;font-size:40px}body.touch-device .study-card.word .glyph{height:58px;font-size:27px}body.touch-device .study-card .translit{font-size:14px}body.touch-device .study-card .item-code{font-size:9px}body.touch-device .study .language-note{font-size:11px}body.touch-device .study .primary{min-height:48px;font-size:12px}@media(max-width:600px){body.touch-device .study-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.touch-device .study h3 span{float:none;display:block;line-height:1.8}}
@supports(padding:max(0px)){#hud,#world-hud{left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right))}#joystick{left:max(18px,calc(env(safe-area-inset-left) + 10px));bottom:max(25px,calc(env(safe-area-inset-bottom) + 10px))}.touch-actions{right:max(10px,calc(env(safe-area-inset-right) + 10px));bottom:max(22px,calc(env(safe-area-inset-bottom) + 10px))}.overlay{padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}}
.study-card.word .glyph{height:auto!important;min-height:64px;overflow:visible;display:block;line-height:1.8;padding:5px 0}
