@font-face{font-family:DM Sans;src:url(./fonts/DMSans-VariableFont_opsz,wght.ttf) format("truetype");font-weight:100 1000;font-display:swap}@font-face{font-family:Fraunces;src:url(./fonts/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf) format("truetype");font-weight:100 900;font-display:swap}:root{--ui-font: "DM Sans", system-ui, sans-serif;--display-font: Fraunces, Georgia, serif}.masthead>a,.paper h1,.paper h2{font-family:var(--display-font)}:root{font-family:var(--ui-font);color:#f4ead6;background:#172e2a;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 50% 0,#3a5546 0,#172e2a 70%)}button,a{-webkit-tap-highlight-color:transparent}button{font:700 14px var(--ui-font);border:1px solid #bba876;background:#eee1bc;color:#25382e;padding:11px 19px;border-radius:3px;cursor:pointer;min-height:44px}button:hover{background:#fff1ca}button:disabled{cursor:default;background:#e1d6ba;color:#4c5146;opacity:.7}button:focus-visible,a:focus-visible{outline:3px solid #f0c269;outline-offset:3px}.shell{max-width:1100px;margin:auto;padding:28px 36px 14px}.masthead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.masthead>a{color:#f3e5be;font-size:25px;letter-spacing:3px;font-weight:700;text-decoration:none}.masthead>a span{color:#d6ad66}.masthead>span{font:10px var(--ui-font);letter-spacing:2px;color:#b8c4ae}.masthead b{color:#c3a86c;margin:0 10px}.game-frame{position:relative;isolation:isolate;aspect-ratio:808/505;width:min(100%,calc((100dvh - 172px)*1.6));margin-inline:auto;overflow:hidden;border:1px solid #8c8865;background:#c4c9a1;box-shadow:0 16px 50px #071d2370}#game,#game canvas{width:100%!important;height:100%!important;display:block;touch-action:none}#panel{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;pointer-events:none;padding:20px}#panel>*{pointer-events:auto}.paper{color:#263b32;background:#efe5c9f5;padding:30px 38px;max-width:525px;text-align:center;border:1px solid #8b855f;box-shadow:5px 7px #223b3640}.eyebrow{font:700 10px var(--ui-font);letter-spacing:3px;color:#586546;margin:0 0 12px}.paper h1{font-size:60px;line-height:.91;letter-spacing:-2px;margin:10px 0;color:#2e4433}.paper h1 span{color:#886032}.paper h2{font-size:30px;margin:7px 0 12px}.paper p{font-size:15px;line-height:1.5}.paper h1.title-lockup{margin:0 auto;line-height:0}.title-lockup img{width:clamp(112px,24vh,210px);height:auto}.primary{background:#304f3d;color:#fff1cf;border-color:#304f3d}.primary:hover{background:#476347}.subline{font:10px var(--ui-font);letter-spacing:1px;margin:14px 0 0!important;color:#526047}.actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.select-paper{width:690px;max-width:100%;padding:24px}.level-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:20px 0}.level-card{padding:0;text-align:left;overflow:hidden;background:#ece2c8;min-width:0}.level-card img{display:block;width:100%;height:74px;object-fit:cover}.level-card strong,.level-card small,.level-card em{display:block;margin:8px;font-style:normal}.level-card strong{font-size:14px;min-height:34px}.level-card small{font:10px var(--ui-font);line-height:1.5}.level-card em{font:700 10px var(--ui-font);color:#3e503e}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;border-top:1px solid #9e9d7f;border-bottom:1px solid #9e9d7f;padding:18px 0;margin:18px 0}.metrics strong{display:block;font-size:31px}.metrics small{font:10px var(--ui-font);letter-spacing:1px}.end-note{font-style:italic;color:#5e674a}.quiet{background:transparent;color:#304b3b}.beginning{margin-top:12px;font-size:12px}#hud{position:absolute;inset:17px 20px auto;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;color:#f8f0d4;text-shadow:0 1px 3px #183027}#hud[hidden]{display:none}#level-label{font:12px var(--ui-font);letter-spacing:1px}#hud>div{white-space:nowrap}#hud>div>span{padding:0 2px}#points{font-weight:700}#hud>div{display:flex;align-items:center;gap:14px;font:13px var(--ui-font)}#pause{pointer-events:auto;min-width:44px;padding:8px;color:#f5eccd;background:#223c34b0;border-color:#bec19d}#toast{position:absolute;bottom:30px;left:50%;transform:translate(-50%);text-align:center;background:#213b31e8;color:#fff0c8;padding:12px 20px;border:1px solid #bdab73;font:14px var(--ui-font);pointer-events:none}#toast:empty{display:none}footer{display:flex;justify-content:space-between;gap:15px;margin:18px 0;font:10px var(--ui-font);letter-spacing:1px;color:#b8c4ae}footer b{color:#e4bd74;margin:0 8px}footer i{margin:0 8px}footer a{color:inherit;text-decoration:none}.save-note{font:12px var(--ui-font);color:#f2d697;min-height:16px;text-align:center}@media(max-height:540px)and (orientation:landscape){body:not(.phone) .paper.title-paper{padding:10px 24px}body:not(.phone) .title-paper .eyebrow{font-size:10px;margin-bottom:4px}body:not(.phone) .title-lockup img{width:clamp(50px,18dvh,100px)}body:not(.phone) .title-paper p:not(.eyebrow){font-size:13px;line-height:1.3;margin:5px 0}body:not(.phone) .title-paper .subline{display:none}}@media(max-width:650px){body:not(.phone) .shell{padding:20px 12px}body:not(.phone) .masthead{margin-bottom:16px;align-items:flex-start}body:not(.phone) .masthead>a{font-size:19px;letter-spacing:2px}body:not(.phone) .masthead>span{font-size:8px;letter-spacing:1px;max-width:110px;line-height:1.7;text-align:right}body:not(.phone) .masthead b{margin:0 3px}body:not(.phone) .game-frame{aspect-ratio:auto;height:min(650px,calc(100dvh - 150px));min-height:510px}body:not(.phone) #game{position:absolute;top:calc(50% - 115px);height:230px!important}body:not(.phone) #game canvas{height:230px!important}body:not(.phone) #panel{padding:16px}body:not(.phone) .paper{padding:25px 22px;width:100%;max-width:360px}body:not(.phone) .paper h1{font-size:50px}body:not(.phone) .paper h2{font-size:26px}body:not(.phone) .paper p{font-size:14px}body:not(.phone) .level-grid{grid-template-columns:1fr;gap:7px;margin:12px 0}body:not(.phone) .level-card{display:grid;grid-template-columns:65px 1fr;grid-template-rows:auto auto;min-height:64px}body:not(.phone) .level-card img{height:100%;grid-row:1/4}body:not(.phone) .level-card strong{min-height:0;margin:6px 9px 0}body:not(.phone) .level-card small{margin:2px 9px 5px}body:not(.phone) .level-card em{display:none}body:not(.phone) .select-paper{padding:20px 16px}body:not(.phone) .select-paper .eyebrow{margin-bottom:6px}body:not(.phone) .select-paper h2{margin-bottom:6px}body:not(.phone) .select-paper>p{margin:7px 0}body:not(.phone) .beginning{margin-top:8px}body:not(.phone) .metrics{gap:10px}body:not(.phone) .metrics strong{font-size:27px}body:not(.phone) .metrics small{font-size:9px}body:not(.phone) #hud{inset:12px 12px auto}body:not(.phone) #level-label{font-size:11px}body:not(.phone) #hud>div{gap:9px;font-size:11px}body:not(.phone) #toast{bottom:42px;width:85%;font-size:12px}body:not(.phone) footer{font-size:8px;line-height:1.7;letter-spacing:.4px}body:not(.phone) footer>span{max-width:220px}body:not(.phone) footer b{margin:0 3px}body:not(.phone) footer i{margin:0 2px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}#hud>div{background:#233c32ed;border:1px solid #a89e72;padding:8px 10px;border-radius:3px}#safe-area{position:fixed;visibility:hidden;pointer-events:none;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}#rotate{display:none}body.phone{--phone-shell-background:#172e2a;height:100dvh;min-height:0;overflow:hidden;background:var(--phone-shell-background);touch-action:none}body.phone .shell{position:fixed;left:var(--viewport-left);top:var(--viewport-top);width:var(--viewport-width);height:var(--viewport-height);max-width:none;margin:0;padding:0}body.phone .game-frame{position:absolute;left:var(--fit-left);top:var(--fit-top);width:808px;height:505px;min-height:0;aspect-ratio:808/505;border:0;transform:scale(var(--fit-scale));transform-origin:top left;box-shadow:none}body.phone #game{position:static;width:100%!important;height:100%!important}body.phone #game canvas{height:100%!important}body.phone .masthead,body.phone footer,body.phone .save-note{position:absolute;z-index:2;margin:0;left:12px;right:12px}body.phone .masthead,body.phone footer{background-color:var(--phone-shell-background)}body.phone .masthead{top:env(safe-area-inset-top);font-size:10px}body.phone footer{bottom:env(safe-area-inset-bottom)}body.phone .save-note{bottom:20px}body.phone.playing .masthead,body.phone.playing footer,body.phone.playing .save-note{display:none}body.phone.portrait #rotate{display:flex;position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;align-items:center;justify-content:center;background:#172e2abf}.rotate-title{position:absolute;top:0;right:0;bottom:0;left:0;background:center/cover url(../art/l1-old-oak-hollow/layers/gn_l1-old-oak-hollow_l0_sky_static@1x.png);display:flex;align-items:center;justify-content:center;filter:brightness(.35);pointer-events:none}.rotate-title .paper{transform:scale(.65)}.rotate-message{position:relative;padding:22px 24px;text-align:center;max-width:300px;font:600 20px/1.35 var(--ui-font);color:#fff0c8;background:#213b31;border:1px solid #bdab73;border-radius:3px;box-shadow:0 10px 30px #071d2390}.rotate-message img{display:block;height:75px;margin:0 auto 20px}.paper{position:relative}.paper button:focus-visible{outline-color:#304f3d}html:has(body.rookie){height:100%}body.rookie{background:#b5c49f;overflow:hidden}body.rookie .masthead,body.rookie footer,body.rookie .save-note{display:none!important}html body.rookie .shell{left:0;top:0;max-width:none;margin:0;padding:0;width:100vw;height:100dvh}html body.rookie .game-frame{left:0;top:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;margin:0;border:0;box-shadow:none;transform:none}html body.rookie #game{position:absolute;right:0;bottom:0;left:0;top:0;width:100%!important;height:100%!important}html body.rookie #game canvas{height:100%!important}body.rookie.phone #panel{inset:auto;left:50%;top:50%;width:808px;height:505px;transform:translate(-50%,-50%) scale(var(--fit-scale))}body.rookie.phone #hud{top:max(17px,var(--safe-area-top,0px));right:max(20px,var(--safe-area-right,0px));left:max(20px,var(--safe-area-left,0px))}body.rookie.phone{background:#b5c49f}
