:root{--text-step:0}:root[data-text-size="1"],:root[data-text-size="2"]{--text-step:1}@media (min-width:700px){:root[data-text-size="2"]{--text-step:2}}@media (max-width:699px){.ui-title{--title-step:0}}.ui-screen,.ui-panel,.ui-dialog,.ui-card,.ui-button,.ui-tooltip,.ui-tab,.ui-toggle,.ui-slider,.ui-slot{font-family:Pixel Lofi,monospace;font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);-webkit-font-smoothing:none;font-smooth:never}.ui-title{font-family:Pixel Lofi,monospace;font-size:calc((300px + var(--title-step,var(--text-step)) * 100px) / 7);font-weight:400;line-height:calc((360px + var(--title-step,var(--text-step)) * 120px) / 7);margin:0}.ui-body{font-family:Pixel Lofi,monospace;font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7)}.ui-small{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7)}.ui-heading{color:var(--ui-on-accent,#f4d35e);text-align:center}.ui-muted{color:var(--ui-on-muted,#b8b4a8)}.ui-accent{color:var(--ui-on-accent,#f4d35e)}.ui-screen{z-index:10;color:#e8e4d8;text-align:center;place-content:safe center center;justify-items:center;gap:16px;margin:0;padding:24px 16px;display:grid;position:fixed;inset:0;overflow-y:auto}.ui-screen--dim{background:#0a08088c}.ui-screen--solid{background:var(--ui-backdrop,#14181a)}.ui-panel{border-style:solid;border-color:#5a6a5e;border-width:var(--ui-panel-border,3px);border-image-source:var(--ui-panel-src,none);border-image-slice:var(--ui-panel-slice,0 fill);border-image-repeat:var(--ui-panel-repeat,stretch);background:var(--ui-panel-bg,#1e2622);image-rendering:pixelated;color:var(--ui-panel-text,#e8e4d8);--ui-on-accent:var(--ui-panel-accent,#f4d35e);--ui-on-muted:var(--ui-panel-muted,#b8b4a8);background-clip:padding-box;padding:8px 12px}.ui-dialog{border-style:solid;border-color:#5a6a5e;border-width:var(--ui-dialog-border,3px);border-image-source:var(--ui-dialog-src,none);border-image-slice:var(--ui-dialog-slice,0 fill);border-image-repeat:var(--ui-dialog-repeat,stretch);background:var(--ui-dialog-bg,#1e2622);image-rendering:pixelated;color:var(--ui-dialog-text,#e8e4d8);--ui-on-accent:var(--ui-dialog-accent,#f4d35e);--ui-on-muted:var(--ui-dialog-muted,#b8b4a8);background-clip:padding-box;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:12px 16px;display:grid}@media (max-width:600px){.ui-dialog{padding:10px 4px}}.ui-button{border-style:solid;border-color:#e8e4d8;border-width:var(--ui-button-border,3px);border-image-source:var(--ui-button-src,none);border-image-slice:var(--ui-button-slice,0 fill);border-image-repeat:var(--ui-button-repeat,stretch);background:var(--ui-button-bg,#2d5722);image-rendering:pixelated;color:var(--ui-button-text,#e8e4d8);--ui-on-accent:var(--ui-button-accent,#f4d35e);--ui-on-muted:var(--ui-button-muted,#b8b4a8);min-width:220px;min-height:48px;font-family:Pixel Lofi,monospace;font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background-clip:padding-box;border-radius:0;padding:2px 20px}.ui-button:hover{filter:brightness(1.08)}.ui-button:active,.ui-button.ui-button--pressed{border-width:var(--ui-button-pressed-border,3px);border-image-source:var(--ui-button-pressed-src,none);border-image-slice:var(--ui-button-pressed-slice,0 fill)}.ui-button:disabled{cursor:default;filter:grayscale(.7)brightness(.75)}.ui-button--small{min-width:44px;padding:2px 12px}.ui-button:focus,.ui-card:focus,.ui-tab:focus,.ui-toggle:focus,.ui-slider:focus,.ui-slot:focus{outline:3px solid var(--ui-focus,#f4d35e);outline-offset:2px}.ui-card{border-style:solid;border-color:#5a6a5e;border-width:var(--ui-card-border,3px);border-image-source:var(--ui-card-src,none);border-image-slice:var(--ui-card-slice,0 fill);border-image-repeat:var(--ui-card-repeat,stretch);background:var(--ui-card-bg,#1e2622);image-rendering:pixelated;color:var(--ui-card-text,#e8e4d8);--ui-on-accent:var(--ui-card-accent,#f4d35e);--ui-on-muted:var(--ui-card-muted,#b8b4a8);min-width:44px;min-height:44px;font-family:Pixel Lofi,monospace;font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);text-align:center;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background-clip:padding-box;border-radius:0;padding:8px 10px;position:relative}.ui-card:hover{filter:brightness(1.08)}.ui-card--active{border-width:var(--ui-card-active-border,3px);border-image-source:var(--ui-card-active-src,none);border-image-slice:var(--ui-card-active-slice,0 fill)}.ui-bar{position:relative;overflow:hidden}.ui-bar-fill{width:calc(var(--ui-share,0) * 100%);height:100%}.ui-bar--themed{height:var(--ui-track-h,12px);overflow:visible}.ui-bar--themed:before{content:"";border-style:solid;border-color:#14181a;border-width:var(--ui-track-border,2px);border-image-source:var(--ui-track-src,none);border-image-slice:var(--ui-track-slice,0 fill);border-image-repeat:var(--ui-track-repeat,stretch);background:var(--ui-track-bg,#27322c);image-rendering:pixelated;position:absolute;inset:0}.ui-bar--themed .ui-bar-fill{left:calc(var(--ui-px,1px) * 2);top:calc(var(--ui-px,1px) * 2);bottom:calc(var(--ui-px,1px) * 2);width:calc((100% - var(--ui-px,1px) * 4) * var(--ui-share,0));background:var(--ui-bar-colour,var(--ui-fill,#e8a33a));height:auto;box-shadow:inset 0 var(--ui-px,1px) #ffffff59;position:absolute}.ui-tooltip{border-style:solid;border-color:#5a6a5e;border-width:var(--ui-tooltip-border,3px);border-image-source:var(--ui-tooltip-src,none);border-image-slice:var(--ui-tooltip-slice,0 fill);border-image-repeat:var(--ui-tooltip-repeat,stretch);background:var(--ui-tooltip-bg,#1e2622);image-rendering:pixelated;color:var(--ui-tooltip-text,#e8e4d8);--ui-on-accent:var(--ui-tooltip-accent,#f4d35e);--ui-on-muted:var(--ui-tooltip-muted,#b8b4a8);z-index:20;max-width:min(320px,100vw - 8px);font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);text-align:left;pointer-events:none;background-clip:padding-box;padding:2px 8px;position:fixed}.ui-tabs{grid-template-columns:minmax(0,1fr);justify-items:stretch;gap:8px;display:grid}.ui-tab-list{flex-wrap:wrap;justify-content:center;gap:4px;display:flex}.ui-tab{border-style:solid;border-color:#5a6a5e;border-width:var(--ui-tab-border,3px);border-image-source:var(--ui-tab-src,none);border-image-slice:var(--ui-tab-slice,0 fill);border-image-repeat:var(--ui-tab-repeat,stretch);background:var(--ui-tab-bg,#1e2622);image-rendering:pixelated;color:var(--ui-tab-text,#e8e4d8);--ui-on-accent:var(--ui-tab-accent,#f4d35e);--ui-on-muted:var(--ui-tab-muted,#b8b4a8);cursor:pointer;touch-action:manipulation;background-clip:padding-box;border-radius:0;min-width:44px;min-height:44px;padding:2px 14px}.ui-tab--active{border-width:var(--ui-tab-active-border,3px);border-image-source:var(--ui-tab-active-src,none);border-image-slice:var(--ui-tab-active-slice,0 fill);color:var(--ui-tab-active-text,#14181a);background:var(--ui-tab-active-bg,#f4d35e);background-clip:padding-box}.ui-list{grid-template-columns:minmax(0,1fr);gap:4px;margin:0;padding:0;list-style:none;display:grid}.ui-row{border-style:solid;border-color:#5a6a5e;border-width:var(--ui-row-border,3px);border-image-source:var(--ui-row-src,none);border-image-slice:var(--ui-row-slice,0 fill);border-image-repeat:var(--ui-row-repeat,stretch);background:var(--ui-row-bg,#1e2622);image-rendering:pixelated;color:var(--ui-row-text,#e8e4d8);--ui-on-accent:var(--ui-row-accent,#f4d35e);--ui-on-muted:var(--ui-row-muted,#b8b4a8);text-align:left;background-clip:padding-box;justify-content:space-between;align-items:center;gap:16px;min-height:36px;padding:0 10px;display:flex}.ui-row>*{overflow-wrap:anywhere;min-width:0}.ui-row-value{text-align:right;flex-shrink:0}.ui-row--accent .ui-row-value{color:var(--ui-on-accent,#f4c13e)}.ui-row--active{border-image-source:var(--ui-row-active-src,none);color:var(--ui-row-active-text,inherit)}.ui-grid{grid-template-columns:repeat(var(--ui-grid-columns,4), auto);justify-content:center;gap:4px;display:grid}.ui-slot{border-style:solid;border-color:#5a6a5e;border-width:var(--ui-slot-border,3px);border-image-source:var(--ui-slot-src,none);border-image-slice:var(--ui-slot-slice,0 fill);border-image-repeat:var(--ui-slot-repeat,stretch);background:var(--ui-slot-bg,#1e2622);image-rendering:pixelated;color:var(--ui-slot-text,#e8e4d8);--ui-on-accent:var(--ui-slot-accent,#f4d35e);--ui-on-muted:var(--ui-slot-muted,#b8b4a8);cursor:pointer;background-clip:padding-box;border-radius:0;place-items:center;min-width:48px;min-height:48px;padding:2px;display:grid}.ui-slot--active{border-image-source:var(--ui-slot-active-src,none)}.ui-toggle{min-height:48px;color:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:3px solid #0000;border-radius:0;justify-content:space-between;align-items:center;gap:16px;padding:2px 8px;display:flex}.ui-toggle-switch{min-width:calc((200px + var(--text-step) * 100px) / 7 * 2.6);min-height:40px;font-family:Pixel Lofi,monospace;font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);color:#2a1a12;background:#fbf1dc;border:3px dashed #5a3a24;flex:none;place-items:center;padding:0 8px;display:inline-grid}.ui-toggle--on .ui-toggle-switch{color:#fff6e0;background:#2d5722;border:3px solid #14260f}.ui-slider{cursor:pointer;touch-action:none;border:3px solid #0000;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;min-height:44px;padding:4px 8px;display:grid}.ui-slider-label{text-align:left}.ui-slider-value{color:var(--ui-on-accent,#f4c13e)}.ui-slider-track{height:max(24px, var(--ui-track-h,12px));margin:0 calc(var(--ui-handle-w,12px) / 2);grid-column:1/-1;position:relative}.ui-slider-track:before{content:"";height:var(--ui-track-h,12px);border-style:solid;border-color:#5a6a5e;border-width:var(--ui-track-border,2px);border-image-source:var(--ui-track-src,none);border-image-slice:var(--ui-track-slice,0 fill);border-image-repeat:var(--ui-track-repeat,stretch);background:var(--ui-track-bg,#2b3330);image-rendering:pixelated;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.ui-slider-fill{left:calc(var(--ui-px,1px) * 2);height:calc(var(--ui-track-h,12px) - var(--ui-px,1px) * 4);max-width:calc(100% - var(--ui-px,1px) * 4);background:var(--ui-fill,#6fd25a);position:absolute;top:50%;transform:translateY(-50%)}.ui-slider-handle{width:var(--ui-handle-w,12px);height:var(--ui-handle-h,20px);background:var(--ui-handle-src,none) center / 100% 100% no-repeat;background-color:var(--ui-handle-bg,#e8e4d8);image-rendering:pixelated;position:absolute;top:50%;transform:translate(-50%,-50%)}@font-face{font-family:Pixel Lofi;src:url(/game/fonts/pixel-lofi.woff2)format("woff2");font-display:block}@font-face{font-family:Pixel Simpel;src:url(/game/fonts/pixel-simpel.woff2)format("woff2");font-display:block}*,:before,:after{box-sizing:border-box}html,body{overscroll-behavior:none;color:#e8e4d8;background:#14181a;height:100%;margin:0;overflow:hidden}[hidden]{display:none!important}.game{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;place-items:center;display:grid;position:fixed;inset:0}.screen{width:100%;height:100%;image-rendering:pixelated;display:block;position:absolute;inset:0}.controls{pointer-events:none;position:fixed;inset:0}.stick-base{background:#14181a40;border:2px solid #e8e4d880;border-radius:50%;width:112px;height:112px;margin:-56px 0 0 -56px;position:absolute;top:0;left:0}.stick-knob{background:#e8e4d899;border-radius:50%;width:48px;height:48px;margin:-24px 0 0 -24px;position:absolute;top:50%;left:50%}.status{font-family:Pixel Lofi,monospace;font-size:calc((200px + var(--text-step) * 100px) / 7);-webkit-font-smoothing:none;font-smooth:never;grid-area:1/1;margin:0}.start-title{color:#f4d35e}.start-tagline{margin:0}.start-stats{min-width:min(360px,100vw - 32px);padding:8px 12px}.start-hint{color:#b8b4a8;max-width:34em;margin:0;padding:6px 12px}.start-buttons{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.biome-list{flex-wrap:wrap;justify-content:center;gap:12px;max-width:calc(100vw - 32px);display:flex}.biome-card{text-align:center;flex-direction:column;align-items:center;gap:8px;width:min(300px,100vw - 48px);padding:10px 14px;display:flex}.biome-name,.biome-text,.biome-wilds-text{margin:0}.biome-modes{gap:6px;width:100%;display:grid}.biome-modes .ui-button{width:100%;min-width:0}.biome-card--locked{opacity:.6}.settings{z-index:11}.settings-panel{grid-template-rows:auto minmax(0,1fr) auto auto;justify-items:stretch;width:min(780px,100vw - 16px);max-height:calc(100dvh - 16px)}.settings-tabs{grid-template-rows:auto minmax(0,1fr);min-height:0}.settings-page{grid-template-columns:minmax(0,1fr);align-content:start;justify-items:stretch;gap:6px;min-height:0;padding:2px 4px 4px;display:grid;overflow-y:auto}.settings-page[hidden]{display:none}.settings-keys{gap:4px;display:grid}.settings-key{grid-template-columns:minmax(0,1fr) repeat(2,minmax(88px,140px));align-items:center;gap:6px;display:grid}.settings-key-label{overflow-wrap:anywhere;justify-self:start}.settings-key-button{overflow-wrap:anywhere;min-width:0;padding-inline:6px}.settings-keys-actions{justify-content:flex-start;display:flex}.settings-key-button--empty{opacity:.7}.settings-key-button--waiting{color:var(--ui-on-accent,#14181a);background:var(--ui-focus,#f4d35e)}.settings-note,.settings-status,.volume-none{max-width:34em;margin:0}.settings-status:empty{display:none}.settings-back{justify-self:center;margin-top:8px}.settings-more{color:var(--ui-on-accent,#7a2e12);border-top:3px dashed;justify-self:center;margin:0;padding:2px 12px}.settings-more[hidden]{display:none}.level-up-more{border-top:3px dashed;justify-self:center;margin:0;padding:2px 12px}.level-up-more[hidden]{display:none}.credits{z-index:11}.credits-panel{grid-template-rows:auto minmax(0,1fr) auto;justify-items:stretch;width:min(640px,100vw - 24px);max-height:calc(100dvh - 24px)}.credits-list{align-content:start;gap:10px;min-height:0;margin:0;padding:2px 4px;list-style:none;display:grid;overflow-y:auto}.credits-entry{gap:2px;display:grid}.credits-name{color:var(--ui-on-accent,#f4d35e)}.credits-licence{overflow-wrap:anywhere}.credits-back{justify-self:center}.victory-hint,.victory-soon{text-align:center;max-width:26em;margin:0}.victory-buttons{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.pause-confirm{text-align:center;justify-items:center;gap:12px;max-width:420px;display:grid}.pause-confirm-text{margin:0}.pause-confirm-buttons{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.pause-buttons,.result-buttons{justify-items:center;gap:12px;display:grid}.result-buttons{grid-auto-flow:column}.result-facts.result-facts--five{grid-template-columns:repeat(5,auto)}.result-cause{text-align:center;margin:0}.result-facts{grid-template-columns:repeat(4,auto);gap:4px 16px;margin:0;display:grid}.result-fact{justify-items:center;display:grid}.result-fact dd{margin:0}.result-fact--amber dd{color:var(--ui-on-accent,#f4c13e)}.result-subtitle{margin:4px 0 0;font-weight:400}.result-chart{justify-self:center;gap:6px;width:100%;min-width:0;max-width:520px;margin:0;padding:0;list-style:none;display:grid}.result-bar{text-align:left;grid-template-columns:auto 1fr;align-items:center;gap:8px;display:grid}.result-icon{image-rendering:pixelated;background-repeat:no-repeat}.result-bar-body{grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;min-width:0;display:grid}.result-bar-value{justify-self:end}.result-bar-track{grid-column:1/-1}.result-total{margin:0}@media (min-width:701px) and (max-height:760px){.result{padding:8px 16px}.result-panel{grid-template-columns:auto auto;grid-template-areas:"title sub""facts chart""total chart""buttons chart";align-items:start;gap:8px 24px;padding:12px 16px}.result-title{grid-area:title}.result-facts,.result-facts.result-facts--five{grid-area:facts;grid-template-columns:repeat(2,auto)}.result-subtitle{grid-area:sub;align-self:end;margin:0}.result-chart{grid-area:chart;gap:2px;width:min(420px,100vw - 360px)}.result-total{grid-area:total}.result-buttons{grid-area:buttons;grid-auto-flow:row;gap:8px}.result-bar-track{height:8px}}@media (max-width:700px){.result-chart{width:100%}.result-facts,.result-facts.result-facts--five{grid-template-columns:repeat(2,auto)}.result-buttons{grid-auto-flow:row}}.pause-button{z-index:6;left:calc(var(--game-left,0px) + 12px);top:calc(var(--game-top,0px) + var(--game-height,100vh) - 12px - 48px);cursor:pointer;touch-action:none;background:#14181acc;border:3px solid #5a6a5e;border-radius:0;justify-content:center;align-items:center;gap:8px;width:48px;height:48px;padding:0;display:flex;position:fixed}.pause-button[hidden]{display:none}.pause-button span{background:#e8e4d8;width:6px;height:20px}.pause-button:focus-visible{outline:3px solid #f4d35e}.boss-bars{z-index:5;left:calc(var(--game-left,0px) + 72px);width:calc(var(--game-width,100vw) - 72px - 190px);bottom:calc(100vh - var(--game-top,0px) - var(--game-height,100vh) + 12px);pointer-events:none;font-family:Pixel Lofi,monospace;font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);-webkit-font-smoothing:none;font-smooth:never;color:#e8e4d8;text-shadow:2px 0 #14181a,-2px 0 #14181a,0 2px #14181a,0 -2px #14181a;gap:4px;display:grid;position:fixed}.boss-bars[hidden],.boss-bar[hidden],.boss-banner[hidden]{display:none}.boss-bar{gap:2px;display:grid}.boss-name{justify-self:center}.boss-track{background:#3a1630;border:2px solid #14181a;height:12px}.boss-fill{background:#b0408a;height:100%;box-shadow:inset 0 2px #e07ac0}.boss-banner{z-index:5;left:var(--game-left,0px);width:var(--game-width,100vw);top:calc(var(--game-top,0px) + var(--game-height,100vh) * .3);pointer-events:none;-webkit-font-smoothing:none;font-smooth:never;justify-items:center;gap:4px;font-family:Pixel Lofi,monospace;display:grid;position:fixed}.boss-banner-name,.boss-banner-hint{background:#14181ad9;padding:2px 16px}.boss-banner-name{font-size:calc((300px + var(--text-step) * 100px) / 7);line-height:calc((360px + var(--text-step) * 120px) / 7);color:#e8432e}.boss-banner-hint{font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);color:#e8e4d8;text-align:center}.boss-banner-role{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);color:#b8b4a8;background:#14181ad9;padding:2px 16px}.boss-banner--event .boss-banner-name{color:#f4d35e}@media (max-width:700px){.boss-bars{left:calc(var(--game-left,0px) + 8px);width:calc(var(--game-width,100vw) - 16px);top:calc(var(--game-top,0px) + 8px);bottom:auto}.boss-banner-name{font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7)}}.hud{--hud-top:max(4px, calc(var(--game-top,0px) - var(--hud-height,0px) - 4px));left:var(--game-left,0px);top:var(--hud-top);width:var(--game-width,100%);pointer-events:none;font-family:Pixel Lofi,monospace;font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);-webkit-font-smoothing:none;font-smooth:never;color:#e8e4d8;text-shadow:2px 0 #14181a,-2px 0 #14181a,0 2px #14181a,0 -2px #14181a;flex-direction:column;row-gap:4px;padding:0 8px;display:flex;position:fixed}.hud-xprow{align-items:center;gap:12px;display:flex}.hud-xp{outline-offset:-2px;background:#14181a;border:2px solid #14181a;outline:2px solid #5a6a5e;flex:auto;height:10px}.hud-xp-fill{background:#9be564;height:100%;box-shadow:inset 0 2px #d6f7a8}.hud-level{color:#f4d35e;flex:none}.hud-status{grid-template-columns:1fr auto 1fr;align-items:center;column-gap:12px;display:grid}.hud--narrow .hud-status{grid-template-columns:1fr auto}.hud-hp{align-items:center;gap:8px;display:flex}.hud-heart{image-rendering:pixelated;flex:none}.hud-hp-bar{background:#4a1a1a;border:3px solid #14181a;flex:0 200px;height:22px;box-shadow:0 0 0 2px #5a6a5e}.hud--narrow .hud-hp-bar{flex:auto}.hud-hp-fill{background:#e04848;height:100%;box-shadow:inset 0 3px #f08080,inset 0 -3px #a02a2a}.hud-hp-text{flex:none}.hud-time{justify-self:center}.hud--narrow .hud-time{justify-self:end}.hud-hp--low .hud-hp-bar{animation:.8s steps(2,end) infinite hud-hp-low}.hud-hp--low .hud-hp-text{color:#ff7a6b}@keyframes hud-hp-low{0%{background:#7a1f1f;box-shadow:0 0 0 2px #ff4a3a}to{background:#4a1a1a;box-shadow:0 0 0 2px #5a6a5e}}@media (prefers-reduced-motion:reduce){.hud-hp--low .hud-hp-bar{animation:none;box-shadow:0 0 0 2px #ff4a3a}}:root[data-flashes=off] .hud-hp--low .hud-hp-bar{animation:none;box-shadow:0 0 0 2px #ff4a3a}.hud-hp--hit .hud-hp-fill{box-shadow:none;background:#fff4e8}.hud-hp--hit .hud-hp-bar{border-color:#fff4e8}.hud-loadout{margin-bottom:env(safe-area-inset-bottom,0px);flex-direction:column;row-gap:4px;display:flex}.hud--split .hud-loadout{left:calc(var(--game-left,0px) + 8px);top:calc(var(--game-top,0px) + var(--game-height,0px) + 8px);position:fixed}.hud-slots{gap:4px;display:flex}.hud-slot{background:#14181acc;border:2px solid #5a6a5e;justify-items:center;gap:2px;padding:2px;display:grid}.hud-slot--empty{opacity:.45}.hud-icon,.card-icon{min-width:var(--slot-icon,32px);min-height:var(--slot-icon,30px);image-rendering:pixelated;background-repeat:no-repeat;display:block}.hud-pips{gap:1px;display:flex}.hud-pip{background:#3a423d;width:3px;height:4px}.hud-pip--on{background:#f4d35e}.level-up{--hud-bottom:calc(max(4px, calc(var(--game-top,0px) - var(--hud-height,0px) - 4px)) + var(--hud-height,0px));inset:0 0 var(--hud-below,0px) 0;z-index:8;padding:calc(var(--hud-bottom) + 8px) 16px 16px;-webkit-font-smoothing:none;font-smooth:never;color:#e8e4d8;background:#14181a8c;grid-template-rows:auto minmax(0,max-content) auto;place-content:safe center center;justify-items:center;gap:16px;font-family:Pixel Lofi,monospace;display:grid;position:fixed;overflow:hidden}.level-up-head{text-align:center;padding:4px 16px}.level-up-hint{margin:0}.level-up-body{justify-items:center;gap:inherit;max-width:100%;min-height:0;padding:6px;display:grid;overflow-y:auto}.level-up-cards{gap:16px;display:flex}.card{grid-template-rows:auto 1fr;align-content:start;justify-items:center;gap:10px;width:280px;min-height:220px;padding:14px 12px 12px;display:grid}.card-key{line-height:calc((180px + var(--text-step) * 120px) / 7);position:absolute;top:6px;left:8px}.card-text{justify-items:center;gap:4px;display:grid}.card-title{font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7)}.card-tag,.card-line{line-height:calc((210px + var(--text-step) * 120px) / 7)}.card--attack:after,.card--talent:after,.reel--attack:after,.reel--talent:after{content:"";pointer-events:none;border:2px solid #2f2f2e;width:14px;height:14px;position:absolute;top:8px;right:8px}.card--attack:after,.reel--attack:after{background:#e8862a;box-shadow:inset 2px 2px #ffc46a}.card--talent:after,.reel--talent:after{background:#3a8fd0;box-shadow:inset 2px 2px #9ad4ff}.level-up--locked .card{filter:brightness(.75)saturate(.6);cursor:wait}.level-up--in .card{animation:.24s steps(4,end) both card-in}.level-up--in .card:nth-child(2){animation-delay:60ms}.level-up--in .card:nth-child(3){animation-delay:.12s}.level-up--in .card:nth-child(4){animation-delay:.18s}@keyframes card-in{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.level-up--in .card{animation:none}}@media (max-width:700px){.level-up{padding:calc(var(--hud-bottom) + 4px) 12px 8px;gap:8px}.level-up-cards{flex-direction:column;gap:8px}.card{text-align:left;grid-template-rows:none;grid-template-columns:auto 1fr;place-items:center start;gap:12px;width:min(360px,100vw - 24px);min-height:0;padding:8px 12px 8px 30px}.card-text{justify-items:start;gap:2px}}.instinct{--instinct-size:64px;z-index:6;left:calc(var(--game-left,0px) + var(--game-width,100vw) - 12px);top:calc(var(--game-top,0px) + var(--game-height,100vh) - 12px);font-family:Pixel Lofi,monospace;font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);-webkit-font-smoothing:none;font-smooth:never;color:#e8e4d8;flex-direction:row-reverse;align-items:flex-end;gap:8px;display:flex;position:fixed;transform:translate(-100%,-100%)}.instinct--narrow{--instinct-size:84px}.instinct[hidden]{display:none}.instinct-button{width:var(--instinct-size);height:var(--instinct-size);cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#14181acc;border:3px solid #5a6a5e;border-radius:0;place-items:center;padding:0;display:grid;position:relative;overflow:hidden;box-shadow:0 3px #0c0f10}.instinct-icon{image-rendering:pixelated;background-repeat:no-repeat}.instinct-cover{pointer-events:none;background:#0c0f10b8;height:0;position:absolute;inset:0 0 auto}.instinct[data-state=ready] .instinct-button{border-color:#f4ead0}.instinct[data-state=active] .instinct-button{border-color:#f4c13e;animation:.3s steps(2,end) infinite instinct-pulse}.instinct[data-state=passive] .instinct-button{border-color:#f4c13e}.instinct[data-state=used] .instinct-button{filter:grayscale()brightness(.6);border-color:#5a5a58}@keyframes instinct-pulse{0%{border-color:#f4c13e}to{border-color:#fff4c8}}@media (prefers-reduced-motion:reduce){.instinct[data-state=active] .instinct-button{animation:none}}:root[data-flashes=off] .instinct[data-state=active] .instinct-button{animation:none}.instinct-auto{min-height:44px;font:inherit;color:#9aa79c;cursor:pointer;background:#14181acc;border:2px solid #3a423d;border-radius:0;align-content:center;justify-items:center;padding:2px 8px;display:grid}.instinct-auto-what{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((180px + var(--text-step) * 120px) / 7)}.instinct-auto[aria-pressed=true]{color:#14181a;background:#f4d35e;border-color:#f4d35e}.chest{--hud-bottom:calc(max(4px, calc(var(--game-top,0px) - var(--hud-height,0px) - 4px)) + var(--hud-height,0px));inset:0 0 var(--hud-below,0px) 0;z-index:8;padding:calc(var(--hud-bottom) + 8px) 16px 16px;-webkit-font-smoothing:none;font-smooth:never;color:#e8e4d8;background:#14181a8c;grid-template-rows:auto minmax(0,max-content) auto;place-content:safe center center;justify-items:center;gap:16px;font-family:Pixel Lofi,monospace;display:grid;position:fixed;overflow:hidden}.chest-head{text-align:center;padding:4px 16px}.chest-hint{margin:0}.chest-reels{flex-wrap:wrap;justify-content:center;gap:16px;max-width:100%;display:flex}.reel{cursor:default;align-content:start;justify-items:center;gap:8px;width:200px;padding:12px 8px;display:grid}.reel-box{background:#14181a;border:2px solid #3a423d;place-items:center;width:72px;height:72px;display:grid}.reel-icon{image-rendering:pixelated;background-repeat:no-repeat}.reel-label{justify-items:center;gap:2px;display:grid}.reel-title{font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7)}.reel-tag,.reel-line{line-height:calc((210px + var(--text-step) * 120px) / 7)}.chest-next{min-width:200px}@media (max-width:700px){.chest{padding:calc(var(--hud-bottom) + 8px) 12px 12px;gap:12px}.chest-reels{flex-flow:column;gap:8px}.reel{text-align:left;grid-template-columns:auto 1fr;place-items:center start;gap:12px;width:min(360px,100vw - 24px);padding:8px 12px}.reel-label{justify-items:start}}html.kit-page,html.kit-page body{height:auto;overflow:auto}html.kit-page .game{display:none}.kit{place-content:start center;min-height:100vh;padding:16px 12px 32px;position:static}.kit-title{color:var(--ui-dialog-accent,#f4d35e)}.kit-hint{color:#b8b4a8;max-width:40em;margin:0}.kit-sections{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:12px;width:min(1360px,100vw - 24px);display:grid}.kit-section{align-content:start;justify-items:center;gap:10px;padding:10px 14px 14px;display:grid}.kit-section-title{margin:0;font-weight:400}.kit-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.kit-row .ui-button{min-width:0}.kit-sample{justify-items:center;gap:8px;max-width:300px;padding:10px 14px;display:grid}.kit-text{margin:0}.kit-card{width:200px;min-height:0}@media (max-width:700px){.kit-card{width:min(360px,100vw - 56px)}}.kit-bars{gap:10px;width:min(360px,100%);display:grid}.kit-bars .hud-hp-bar{flex:none;height:22px}.kit-bars .hud-xp{height:10px}.kit-bars .boss-track{height:12px}.kit-tooltip-static{position:static}.kit-controls{gap:4px;width:min(360px,100%);display:grid}.kit .ui-list{width:min(400px,100%)}.kit-icon{image-rendering:pixelated;background-repeat:no-repeat;display:block}.level-up-tools{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px;display:flex}.level-up-tool{flex-direction:column;align-items:center;min-width:96px;min-height:44px;display:flex}.card--locked .card-locked{margin-top:4px}@media (max-width:700px){.level-up-tools{grid-template-columns:1fr 1fr;gap:4px;width:min(360px,100vw - 24px);margin-top:0;display:grid}.level-up-tool{min-width:0;padding-left:4px;padding-right:4px}.level-up-tool-name{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((210px + var(--text-step) * 120px) / 7)}}.animal-select{grid-template-rows:auto minmax(0,1fr);place-content:start center;justify-items:stretch;gap:12px;padding:16px 24px}.animal-select-title{color:#f4d35e}.animal-select-layout{grid-template-columns:minmax(0,1fr) minmax(360px,720px);gap:16px;width:min(1320px,100vw - 48px);min-height:0;margin:0 auto;display:grid}.animal-select-browse,.animal-select-side{gap:8px;min-width:0;min-height:0;display:grid}.animal-select-browse{grid-template-rows:auto minmax(0,1fr)}.animal-select-side{grid-template-rows:minmax(0,1fr) auto}.animal-select-tabs .ui-tab-list{flex-wrap:wrap}.animal-select-tab{display:none}.animal-select-grid{min-height:0;padding:6px;overflow-y:auto}.animal-select-cells.ui-grid{grid-template-columns:repeat(auto-fill,minmax(164px,1fr));justify-content:stretch;gap:6px}.animal-select-cells .ui-slot{min-height:136px;padding:4px}.animal-select-cell-frame{justify-content:center;align-items:flex-end;min-height:60px;margin-bottom:2px;display:flex}.animal-select-cell{align-content:end;justify-items:center;gap:2px;width:100%;min-width:0;display:grid}.animal-select-cell-name,.animal-select-cell-lock{max-width:100%;line-height:calc((200px + var(--text-step) * 120px) / 7);text-align:center;overflow-wrap:break-word}.animal-select-silhouette{filter:brightness(0)}.animal-select-slot--locked .animal-select-cell-name{color:var(--ui-on-muted,#b8b4a8)}.animal-select-empty{color:#b8b4a8;margin:12px 0}.animal-select-details{text-align:left;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));align-content:start;align-items:start;gap:6px 20px;min-height:0;padding:10px 14px;display:grid;overflow-y:auto}.animal-select-details p{margin:0}.animal-select-details-main{gap:6px;min-width:0;display:grid}.animal-select-head{align-items:flex-end;gap:12px;display:flex}.animal-select-head-text{min-width:0;display:grid}.animal-select-name{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.animal-select-condition{border:2px solid;padding:4px 8px}.animal-select-known{gap:8px;display:grid}.animal-select-known[hidden],.animal-select-condition[hidden],.animal-select-details[hidden]{display:none}.animal-select-feature{align-items:flex-start;gap:10px;display:flex}.animal-select-icon{min-width:32px;min-height:32px;image-rendering:pixelated;flex:none}.animal-select-feature-text{min-width:0}.animal-select-label{line-height:calc((200px + var(--text-step) * 120px) / 7)}.animal-select-stats{grid-template-columns:auto minmax(60px,1fr) auto;align-items:center;gap:2px 10px;display:grid}.animal-select-stat-bar{width:100%}.animal-select-stat-value{text-align:right;min-width:3ch}.animal-select-traits{flex-wrap:wrap;gap:4px;display:flex}.animal-select-trait{line-height:calc((200px + var(--text-step) * 120px) / 7);border:2px solid;padding:0 8px}.animal-select-actions{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.animal-select-actions .ui-button{min-width:180px}@media (max-width:900px){.animal-select-layout{grid-template-columns:minmax(0,1fr)}.animal-select-side{grid-template-rows:auto auto}}@media (max-width:700px){.animal-select{padding:12px 8px calc(80px + env(safe-area-inset-bottom,0px));display:block}.animal-select-title{text-align:center;margin-bottom:8px}.animal-select-layout{width:100%;display:block}.animal-select-tabs .ui-tab-list{flex-wrap:wrap;justify-content:center;padding:4px 0}.animal-select-tabs .ui-tab{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);flex:none;padding:2px 8px}.animal-select-grid{max-height:none;padding:6px 4px;overflow:visible}.animal-select-cells .ui-slot{min-height:128px}.animal-select-cell-name--long{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7)}.animal-select-details{grid-template-columns:minmax(0,1fr);margin-top:8px;overflow:visible}.animal-select-actions{z-index:1;padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));background:var(--ui-backdrop,#14181a);flex-wrap:nowrap;position:fixed;bottom:0;left:0;right:0}.animal-select-actions .ui-button{flex:1 1 0;min-width:0}}.clearing{z-index:3;pointer-events:none;--game-top:0px;--game-left:0px;--game-width:100vw;--game-height:100vh;position:fixed;inset:0}.clearing-top{justify-content:flex-end;align-items:flex-start;gap:8px;max-width:calc(100vw - 16px);display:flex;position:absolute;top:8px;left:8px;right:8px}.clearing-wallet{z-index:11;pointer-events:none;max-width:calc(50vw - 12px);font-family:Pixel Lofi,monospace;font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);color:#f4d35e;-webkit-font-smoothing:none;background:#14181ab8;border-radius:4px;flex-wrap:wrap;column-gap:16px;margin:0;padding:4px 10px;display:flex;position:fixed;top:8px;left:8px}.clearing-menu,.clearing-events,.clearing-hint{pointer-events:auto}.clearing-open .ui-screen{padding-top:max(24px, var(--purse-height,24px))}.clearing-open .ui-screen>.ui-dialog{max-height:calc(100vh - max(24px, var(--purse-height,24px)) - 12px)}.clearing-hint{left:50%;bottom:max(16px, calc(100vh - var(--game-top,0px) - var(--game-height,100vh) + 12px));white-space:nowrap;max-width:calc(100vw - 24px);position:absolute;transform:translate(-50%)}.clearing-label{color:#f4ecd8;white-space:nowrap;pointer-events:none;background:#141816c7;padding:2px 8px;position:absolute;transform:translate(-50%,calc(-100% - 4px))}.clearing-guide{pointer-events:none;flex-direction:column;align-items:center;gap:4px;animation:1s steps(2,end) infinite clearing-guide-bob;display:flex;position:absolute;transform:translate(-50%,-100%)}.clearing-guide[hidden]{display:none}.clearing-guide--edge{flex-direction:row-reverse}.clearing-guide--below{flex-direction:column-reverse;transform:translate(-50%)}.clearing-guide--edge.clearing-guide--below{flex-direction:row-reverse}.clearing-guide-text{color:#f4d35e;white-space:nowrap;background:#141816d9;padding:2px 8px}.clearing-guide-arrow{filter:drop-shadow(0 0 #2f2f2e)drop-shadow(2px 2px #2f2f2e);border-top:9px solid #0000;border-bottom:9px solid #0000;border-left:15px solid #f4d35e;width:0;height:0}@keyframes clearing-guide-bob{to{margin-top:-4px}}@media (prefers-reduced-motion:reduce){.clearing-guide{animation:none}}.clearing-use{right:max(12px, calc(100vw - var(--game-left,0px) - var(--game-width,100vw) + 12px));bottom:max(16px, calc(100vh - var(--game-top,0px) - var(--game-height,100vh) + 12px));pointer-events:auto;min-width:0;min-height:64px;padding:8px 20px;position:absolute}.clearing-hint--idle{opacity:.85;pointer-events:none}.rootwork-panel{flex-direction:column;justify-items:stretch;gap:8px;width:min(880px,100vw - 24px);max-height:calc(100vh - 24px);display:flex;overflow:hidden}.rootwork-panel>*{flex:none}.rootwork-panel>.ui-tabs{flex-direction:column;flex:auto;min-height:0;display:flex}.rootwork-panel>.ui-tabs>.ui-tab-list{flex:none}.rootwork-ring{flex:auto;min-height:0;padding:6px;overflow-y:auto}.rootwork-more{color:var(--ui-on-accent,#7a2e12);border-top:3px dashed;align-self:center;margin:0;padding:2px 12px}.rootwork-more[hidden]{display:none}.rootwork-amber,.rootwork-free,.rootwork-ring-note,.rootwork-detail-effect,.rootwork-detail-rank,.rootwork-detail-note{margin:0}.rootwork-ring-note:empty{display:none}.rootwork-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.rootwork-node{text-align:center;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;justify-items:center;gap:2px;min-width:0;padding:6px 4px;display:grid}.rootwork-icon{width:32px;height:32px;display:block}.rootwork-name,.rootwork-rank,.rootwork-price{max-width:100%;font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((210px + var(--text-step) * 120px) / 7)}.rootwork-rank,.rootwork-price{opacity:.85}.rootwork-node--selected{position:relative}.rootwork-node--selected:before{content:"";background:var(--ui-chosen,#2d6136);pointer-events:none;width:6px;position:absolute;top:8px;bottom:8px;left:4px}.rootwork-node--closed{opacity:.5}.rootwork-node--off .rootwork-icon{filter:grayscale()}.rootwork-node--full .rootwork-price{color:var(--ui-dialog-accent,#f4d35e)}.rootwork-details{gap:4px;min-height:6em;display:grid}.rootwork-detail-name{margin:0}.rootwork-detail-buttons,.rootwork-footer,.shop-footer{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}@media (max-width:600px){.rootwork-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rootwork-panel{overflow-y:auto}.rootwork-panel>.ui-tabs{flex:none}.rootwork-ring{overflow:visible}.rootwork-panel .ui-tab{flex:1 1 0;min-width:0;padding:2px 8px}}.shop-panel{justify-items:stretch;width:min(880px,100vw - 24px);max-height:calc(100vh - 24px);overflow-y:auto}.shop-greeting,.shop-wallet,.shop-pending{text-align:center;overflow-wrap:break-word;margin:0}.shop-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:8px;display:grid}.shop-offer{text-align:left;overflow-wrap:break-word;grid-template-rows:auto 1fr auto;grid-template-columns:32px minmax(0,1fr);justify-items:start;gap:4px 12px;min-width:0;padding:8px 12px 20px;display:grid}.shop-name,.shop-desc,.shop-price{grid-column:2;max-width:100%;display:block}.shop-icon{grid-row:1/span 3;align-self:center;width:32px;height:32px;display:block}.shop-desc{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((210px + var(--text-step) * 120px) / 7)}.shop-price{color:var(--ui-dialog-accent,#f4d35e)}@media (max-width:600px){.shop-grid{grid-template-columns:minmax(0,1fr)}}.shop-offer--bought,.shop-offer--expensive{opacity:.55}.station-note-panel{max-width:min(420px,100vw - 24px)}.station-note-text,.station-note-soon{text-align:center;margin:0}.animal-select-mastery{gap:4px;display:grid}.animal-select-mastery-level,.animal-select-mastery-next,.animal-select-mastery-title{margin:0}.animal-select-choices{flex-wrap:wrap;gap:6px;display:flex}.animal-select-choice{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((220px + var(--text-step) * 120px) / 7);padding:2px 8px}.result-amber-line,.result-mastery,.result-first{text-align:center;white-space:normal;overflow-wrap:break-word;justify-self:center;max-width:min(26em,100vw - 48px);margin:0}@media (max-width:600px){.clearing-menu,.clearing-events{min-width:0;padding-inline:12px}.clearing-top{flex-direction:column;align-items:flex-end}.clearing-wallet{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((200px + var(--text-step) * 120px) / 7);padding:2px 6px}.clearing-hint{white-space:normal;width:calc(100vw - 24px)}}.clearing-amber,.clearing-shards{white-space:nowrap}.result-panel{max-height:calc(100vh - 16px);overflow-y:auto}.achievement-reveal-panel{justify-items:stretch;width:min(720px,100vw - 24px);max-height:calc(100vh - 24px);overflow-y:auto}@media (max-width:600px){.achievement-reveal-title,.trade-title{font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7)}}.achievement-reveal-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:8px;display:grid}.achievement-card{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;text-align:left;min-width:0;animation:.32s steps(4,end) both achievement-appear;animation-delay:var(--appear-delay,0s);gap:2px;padding:10px 12px;display:grid}.achievement-card>*{margin:0}.achievement-card--secret{border-image-source:var(--ui-card-active-src,none);outline-offset:-6px;outline:3px solid #c9962a}.achievement-card-tier,.hall-row-tier,.near-goal-tier{letter-spacing:.02em}.achievement-card--gold .achievement-card-tier,.achievement-card--legendary .achievement-card-tier,.hall-row--gold .hall-row-tier,.hall-row--legendary .hall-row-tier{color:var(--ui-on-accent,#8a3412)}.achievement-reveal-next{justify-self:center;min-width:220px}@keyframes achievement-appear{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}.progress-notes{left:var(--game-left,0px);top:calc(var(--game-top,0px) + 56px);width:var(--game-width,100%);pointer-events:none;z-index:4;justify-items:center;display:grid;position:fixed}.progress-note{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);margin:0;padding:4px 12px;animation:.24s steps(4,end) both achievement-appear}.progress-note--done{color:var(--ui-panel-accent,#8a3412)}.near-page-panel{justify-items:stretch;width:min(560px,100vw - 24px);max-height:calc(100vh - 16px);overflow-y:auto}.near-goals{grid-template-columns:minmax(0,1fr);gap:8px;margin:0;padding:0;list-style:none;display:grid}.near-goal{overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;text-align:left;grid-template-columns:minmax(0,1fr);gap:2px;min-width:0;padding:6px 12px;display:grid}.near-goal>p,.near-goal>h3{margin:0}.near-goal-value{text-align:right}.near-page-back{justify-self:center}.result-near{min-width:220px}.hall-panel{grid-template-rows:auto minmax(0,1fr) auto;justify-items:stretch;width:min(860px,100vw - 24px);max-height:calc(100vh - 24px)}.hall-panel .ui-tabs{grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0;display:grid}.hall-panel .ui-tab-list{flex-wrap:wrap;gap:4px;display:flex}.hall-page{grid-template-columns:minmax(0,1fr);align-content:start;gap:8px;min-height:0;max-height:calc(100vh - 220px);padding-right:4px;display:grid;overflow-y:auto}.hall-count,.hall-empty,.hall-subtitle{margin:0}.hall-row{text-align:left;justify-content:space-between;align-items:center;gap:12px;margin:0;padding:4px 10px;display:flex}.hall-list{grid-template-columns:minmax(0,1fr);gap:4px}.hall-row-name{overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;min-width:0}.hall-row-body{gap:0;min-width:0;display:grid}.hall-row-side{text-align:right;justify-items:end;gap:0;min-width:160px;max-width:45%;display:grid}.hall-row-bar{width:min(260px,100%);margin-top:2px}.hall-row--done .hall-row-name{color:var(--ui-on-accent,#8a3412)}.hall-row--secret{opacity:.8}.hall-row--secret .hall-row-name{letter-spacing:.2em}.hall-row:focus-visible{outline:3px solid var(--ui-focus,#7a2410);outline-offset:-3px}.hall-close{justify-self:center}@media (max-width:700px){.hall-row{flex-direction:column;align-items:stretch;gap:4px}.hall-row-side{text-align:left;justify-items:start;min-width:0;max-width:none}.hall-panel .ui-tab{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);padding:0 8px}.hall-page{max-height:calc(100vh - 260px)}}.hall-footer{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.board-panel{grid-template-rows:auto minmax(0,1fr) auto auto;justify-items:stretch;width:min(860px,100vw - 24px);max-height:calc(100vh - 24px)}.board-more{color:var(--ui-on-accent,#7a2e12);border-top:3px dashed;justify-self:center;margin:0;padding:2px 12px}.board-more[hidden]{display:none}.board-panel .ui-tabs{grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0;display:grid}.board-panel .ui-tab-list{flex-wrap:wrap;gap:4px;display:flex}.board-page{grid-template-columns:minmax(0,1fr);align-content:start;gap:8px;min-height:0;max-height:calc(100vh - 220px);padding-right:4px;display:grid;overflow-y:auto}.board-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;display:grid}.board-switch{text-align:left;gap:2px;min-width:0;display:grid}.board-switch-control{grid-template-columns:auto minmax(0,1fr) auto;align-items:stretch;gap:2px;display:grid}.board-switch .board-switch-value{min-width:0;font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((200px + var(--text-step) * 100px) / 7);overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;padding:0 6px}@media (min-width:1000px){.board-panel{width:min(1060px,100vw - 24px)}.board-page--ranks{grid-template-rows:auto minmax(0,1fr);grid-template-columns:max-content minmax(0,1fr);align-items:start}.board-page--ranks .board-filters{grid-row:1/3;grid-template-columns:max-content max-content;align-items:center;gap:6px 10px}.board-page--ranks .board-switch{display:contents}.board-page--ranks .board-results,.board-page--ranks .board-outbox{grid-column:2}.board-switch .board-switch-value{white-space:nowrap}}.board-switch .board-switch-arrow{min-width:36px;padding-inline:0}.board-field .ui-button,.board-friend .ui-button{min-width:0;padding-inline:12px}.board-friend .board-remove{min-height:40px;font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);padding-inline:8px}.board-results{gap:4px;display:grid}.board-season-line,.board-status,.board-outbox,.board-note,.board-message,.board-label,.board-friends-status{text-align:left;margin:0}.board-list{grid-template-columns:minmax(0,1fr);gap:2px;margin:0;padding:0;list-style:none;display:grid}.board-list--own{border-top:2px dashed;margin-top:4px;padding-top:4px}.board-row{text-align:left;grid-template-columns:minmax(1.5em,max-content) 40px minmax(0,1fr) auto;align-items:center;gap:8px;padding:2px 6px;display:grid}.board-row--self{color:var(--ui-on-accent,#8a3412);outline-offset:-2px;outline:2px solid}.board-row-rank,.board-row-value{font-variant-numeric:tabular-nums}.board-row-value{text-align:right}.board-row-name{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.board-row-animal{justify-content:center;align-items:center;min-width:0;display:flex}.board-row-animal.ui-small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.board-box{text-align:left;gap:4px;display:grid}.board-field{flex-wrap:wrap;align-items:stretch;gap:8px;display:flex}.ui-input{box-sizing:border-box;border:3px solid var(--ui-focus,#7a2410);color:#3d2b2e;width:100%;min-width:0;min-height:40px;font:inherit;background:#fbf3dc;flex:12em;padding:4px 8px}.ui-input:focus-visible{outline:3px solid var(--ui-focus,#7a2410);outline-offset:2px}.board-own-code{font-variant-numeric:tabular-nums;letter-spacing:.12em;margin:0}.board-friends{gap:4px;margin:0;padding:0;display:grid}.board-friend{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;display:grid}.board-close{justify-self:center}@media (max-width:700px){.board-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 6px;padding:6px}.board-switch{gap:0}.board-switch .ui-button{min-height:36px}.board-switch .board-switch-value{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((200px + var(--text-step) * 100px) / 7);white-space:normal;text-overflow:clip;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;padding:0 6px}.board-switch .board-switch-arrow{display:none}.board-switch-control{grid-template-columns:minmax(0,1fr)}.board-results{order:1}.board-outbox{order:2}.board-filters{order:3}.board-row{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);grid-template-columns:minmax(1.4em,max-content) 32px minmax(0,1fr) auto;gap:0 6px}.board-friend{grid-template-columns:minmax(0,1fr);justify-items:start;gap:2px}.board-friend .ui-row-label{overflow-wrap:anywhere}.board-panel .ui-tab{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);padding:0 8px}.board-panel .ui-tab-list{flex-wrap:nowrap;justify-content:center}.board-panel .ui-heading.board-title{margin:0}.board-page{max-height:calc(100vh - 260px)}}.codex{background:#140c10b3}.codex-book{grid-template-rows:auto auto minmax(0,1fr) auto;justify-items:stretch;gap:8px;width:min(1040px,100vw - 16px);max-height:calc(100vh - 16px);padding:10px 14px 12px}.codex-banner{border-style:solid;border-width:var(--ui-banner-border,3px);border-image-source:var(--ui-banner-src,none);border-image-slice:var(--ui-banner-slice,0 fill);min-width:min(420px,100%);image-rendering:pixelated;color:var(--ui-banner-text,#3d2b2e);--ui-on-accent:var(--ui-banner-accent,#9b3b3b);text-align:center;border-image-repeat:stretch;justify-self:center;padding:4px 32px}.codex-title{margin:0}.codex-book .ui-tabs{grid-template-rows:auto minmax(0,1fr);gap:0;min-height:0;display:grid}.codex-book .ui-tab-list{flex-wrap:wrap;gap:4px;padding-left:12px;display:flex}.codex-spread{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:4px;min-height:0;display:grid}.codex-page{text-align:left;image-rendering:pixelated;color:var(--ui-panel-text,#3d2b2e);--ui-on-accent:var(--ui-panel-accent,#9b3b3b);--ui-on-muted:var(--ui-panel-muted,#7a5c50);background:#fbdcae;border-style:solid;min-height:0;max-height:calc(100vh - 290px);padding:6px 10px 18px;overflow-y:auto}.codex-page--left{border-width:var(--ui-page-left-border,3px);border-image-source:var(--ui-page-left-src,none);border-image-slice:var(--ui-page-left-slice,0 fill);background:var(--ui-page-left-bg,#fbdcae)}.codex-page--right{border-width:var(--ui-page-right-border,3px);border-image-source:var(--ui-page-right-src,none);border-image-slice:var(--ui-page-right-slice,0 fill);background:var(--ui-page-right-bg,#fbdcae);align-content:start;justify-items:start;gap:4px;display:grid}.codex-page--right>*{margin:0}.codex-count{margin:0 0 4px}.codex-list{gap:2px;margin:0;padding:0;list-style:none;display:grid}.codex-entry{cursor:pointer;width:100%;min-height:44px;font:inherit;justify-content:flex-start;gap:8px}.codex-entry:focus-visible{outline:3px solid var(--ui-focus,#9b3b3b);outline-offset:-3px}.codex-entry--unknown .codex-entry-name{color:var(--ui-on-muted,#7a5c50)}.codex-entry-picture{flex:none;width:32px;height:32px}.codex-picture,.codex-icon{justify-self:center;margin:4px 0}.codex-entry-picture>span,.codex-picture>span{margin:auto}.codex-entry-picture{place-items:center;display:grid}.codex-silhouette{filter:brightness(0);opacity:.75}.codex-dim{filter:grayscale();opacity:.55}.codex-section{margin-top:6px}.codex-stats{width:100%}.codex-facts{gap:4px;margin:0;padding-left:20px;display:grid}.codex-close{justify-self:center}@media (max-width:700px){.codex-spread{grid-template-columns:1fr}.codex-banner{min-width:0;padding:2px 12px}.codex-book .ui-tab{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);padding:0 8px}.codex-book .ui-tab-list{justify-content:center;padding-left:0}.codex-book{padding:8px 8px 10px}.codex-page{max-height:none}.codex-page--left{max-height:32vh}.codex-book{max-height:none}}@media (prefers-reduced-motion:reduce){.achievement-card,.progress-note{animation:none}}.codex-book,.codex-page{box-sizing:border-box;min-width:0}.codex-page>*{overflow-wrap:anywhere;max-width:100%}.run-setup{align-content:start;overflow-y:auto}.run-setup-title,.run-setup-where,.run-setup-heading,.run-setup-note,.run-setup-slots,.fountain-intro,.fountain-best,.fountain-note{margin:0}.run-setup-parts{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start;gap:16px;width:min(1240px,100vw - 32px);display:grid}.run-setup-part{grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;padding:12px;display:grid}.heat-list{grid-template-columns:minmax(0,1fr);gap:8px;display:grid}.heat-row{text-align:left;grid-template-columns:minmax(0,1fr);justify-items:stretch;row-gap:0;min-width:0;padding:4px 12px 12px;display:grid}.heat-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;column-gap:12px;display:flex}.heat-name,.heat-amber,.heat-rule,.heat-note{max-width:100%;display:block}.heat-amber,.wildcard-status{color:var(--ui-dialog-accent,#f4d35e)}.heat-chosen{display:block}.heat-row--chosen,.wildcard-card--taken{padding-left:24px;position:relative}.heat-row--chosen:before,.wildcard-card--taken:before{content:"";background:var(--ui-chosen,#2d6136);pointer-events:none;width:8px;position:absolute;top:8px;bottom:8px;left:6px}.heat-chosen,.wildcard-card--taken .wildcard-status{color:var(--ui-chosen,#2d6136)}.heat-row--locked,.wildcard-card--locked{opacity:.55}.wildcard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.wildcard-card{text-align:left;grid-template-rows:auto 1fr auto;grid-template-columns:32px minmax(0,1fr);justify-items:start;gap:4px 12px;min-width:0;padding:4px 12px 12px;display:grid}.wildcard-icon{grid-row:1/span 3;width:32px;height:32px;display:block}.wildcard-name,.wildcard-text,.wildcard-status{grid-column:2;max-width:100%;display:block}.run-setup-footer{z-index:1;background:#14181aeb;flex-wrap:wrap;justify-content:center;gap:12px;width:100%;padding:8px 0 12px;display:flex;position:sticky;bottom:0}.fountain-panel{max-width:min(640px,100vw - 24px);max-height:calc(100vh - 16px);overflow-y:auto}.fountain .heat-list{grid-template-columns:minmax(0,1fr)}@media (max-width:960px){.run-setup-parts{grid-template-columns:minmax(0,1fr)}}@media (max-width:600px){.wildcard-grid{grid-template-columns:minmax(0,1fr)}}.run-info{left:var(--game-left,0px);top:calc(var(--game-top,0px) + 96px);width:var(--game-width,100%);pointer-events:none;z-index:4;justify-items:end;gap:4px;padding:0 12px;display:grid;position:fixed}.run-info-line,.run-info-banner{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);color:#f4ecd8;text-shadow:0 2px #14181a;background:#14181ab3;margin:0;padding:2px 8px}.run-info-banner{color:#f4d35e;justify-self:center;align-items:center;gap:8px;animation:.24s steps(4,end) both achievement-appear;display:flex}.run-info-picture{image-rendering:pixelated}@media (prefers-reduced-motion:reduce){.run-info-banner{animation:none}}.codex-relic-picture{image-rendering:pixelated;display:block}.codex-relic-picture--large{justify-self:center}.trade{--hud-bottom:calc(max(4px, calc(var(--game-top,0px) - var(--hud-height,0px) - 4px)) + var(--hud-height,0px));inset:0 0 var(--hud-below,0px) 0;z-index:8;padding:calc(var(--hud-bottom) + 8px) 12px 16px;background:#14181a8c;place-content:safe center center;justify-items:center;display:grid;position:fixed;overflow-y:auto}.trade[hidden]{display:none}.trade-panel{text-align:center;justify-items:stretch;width:min(560px,100vw - 24px)}.trade-title,.trade-says,.trade-wallet{margin:0}.trade-buttons{gap:8px;display:grid}.trade-buttons .ui-button{width:100%;min-width:0}.start-suspended{text-align:center;justify-items:center;gap:8px;max-width:min(520px,100vw - 32px);display:grid}.start-suspended-text{margin:0}.start-suspended-buttons{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.run-info-rules{max-width:min(420px,100%);line-height:calc((200px + var(--text-step) * 120px) / 7);text-align:right}.run-info-banner{text-align:center;max-width:100%}@media (max-width:700px){body:has(.boss-bars:not([hidden]) .boss-bar:not([hidden])) .run-info{top:calc(var(--game-top,0px) + 72px)}body:has(.boss-bars:not([hidden]) .boss-bar:not([hidden])~.boss-bar:not([hidden])) .run-info{top:calc(var(--game-top,0px) + 128px)}body:has(.boss-banner:not([hidden])) .run-info-line{visibility:hidden}}.start--title{grid-template-rows:auto auto minmax(16px,1fr) auto;align-content:stretch;gap:12px;padding-block:16px}.start-head{justify-items:center;gap:4px;display:grid}.start-foot{flex-wrap:wrap;justify-content:center;align-items:end;gap:8px 16px;display:flex}.start--title .start-stats{min-width:0}@media (min-width:700px){.start--title .start-list{grid-template-columns:repeat(2,minmax(0,auto));gap:0 20px;display:grid}}@media (max-width:699px){.start--title{grid-template-rows:auto minmax(16px,1fr) auto auto}.start--title .start-gap{order:1}.start--title .start-buttons{order:2;gap:6px}.start-buttons{grid-template-columns:repeat(2,minmax(0,1fr));justify-self:center;width:min(420px,100vw - 24px);display:grid}.start-buttons .ui-button{width:100%;min-width:0;padding-inline:4px}:root[data-text-size="1"] .start-buttons,:root[data-text-size="2"] .start-buttons{grid-template-columns:minmax(0,1fr)}.start .start-buttons .ui-button:not(.start-play){font-family:Pixel Simpel,monospace;font-size:calc((200px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 100px) / 7)}.start-buttons .start-play{grid-column:1/-1}.start--title .start-suspended{order:2}.start--title .start-foot{order:3}.start--title .start-list .ui-row:nth-child(n+2){display:none}.start--title .start-stats{width:min(360px,100vw - 32px)}}.start--title .start-hint{background:#0a0808a6;max-width:26em}.start--title .start-tagline{color:#fff4dc;text-shadow:2px 0 #1a0d0b,-2px 0 #1a0d0b,0 2px #1a0d0b,0 -2px #1a0d0b,2px 2px #1a0d0b,-2px 2px #1a0d0b,2px -2px #1a0d0b,-2px -2px #1a0d0b}.title-logo{--logo-px:4;--logo-text:#f4d35e;--logo-edge:#3b1f0e;--logo-drop:#14181a;font-family:Pixel Lofi,monospace;font-size:calc(var(--logo-px) * 100px / 7);letter-spacing:calc(var(--logo-px) * 1px);color:var(--logo-text);-webkit-font-smoothing:none;font-smooth:never;text-shadow:calc(var(--logo-px) * 1px) 0 var(--logo-edge), calc(var(--logo-px) * -1px) 0 var(--logo-edge), 0 calc(var(--logo-px) * 1px) var(--logo-edge), 0 calc(var(--logo-px) * -1px) var(--logo-edge), calc(var(--logo-px) * 1px) calc(var(--logo-px) * 1px) var(--logo-edge), calc(var(--logo-px) * -1px) calc(var(--logo-px) * 1px) var(--logo-edge), calc(var(--logo-px) * 1px) calc(var(--logo-px) * -1px) var(--logo-edge), calc(var(--logo-px) * -1px) calc(var(--logo-px) * -1px) var(--logo-edge), 0 calc(var(--logo-px) * 2px) var(--logo-drop), calc(var(--logo-px) * 1px) calc(var(--logo-px) * 2px) var(--logo-drop), calc(var(--logo-px) * -1px) calc(var(--logo-px) * 2px) var(--logo-drop);margin:0;font-weight:400;line-height:1.1}@media (min-width:700px){.title-logo{--logo-px:9}}@media (min-width:1200px) and (min-height:760px){.title-logo{--logo-px:12}}.title-logo--2{--logo-text:#c8f08c;--logo-edge:#1f3a14;--logo-drop:#2a0f12}.title-logo--3{--logo-text:#ffa53a;--logo-edge:#2e1407;--logo-drop:#14181a}.settings-page .ui-toggle{gap:8px;min-width:0}.settings-page .ui-toggle-label{text-align:start;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;min-width:0}.settings-page .settings-note{text-align:start;justify-self:start;padding-inline:8px}@media (max-width:699px){.settings-key{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 6px}.settings-key-label{grid-column:1/-1}}.settings-page .ui-slider{grid-template-columns:minmax(0,1fr) auto;min-width:0}.settings-page .ui-slider-label{overflow-wrap:anywhere;min-width:0}body.run-window-open :is(.boss-banner,.run-info-banner,.progress-notes){visibility:hidden}.tip-bubble{box-sizing:border-box;text-align:left;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:6px 10px;max-width:min(520px,100vw - 16px);margin:0;display:grid}.tip-bubble[hidden]{display:none}.tip-bubble--float{z-index:9;width:max-content;animation:.16s steps(4,end) tip-in;position:fixed}.tip-bubble--inline{width:100%;max-width:560px;margin:0 auto}.level-up-tip{justify-items:center;width:100%;display:grid}.level-up-tip .tip-bubble{max-width:872px}.level-up--tip{grid-template-rows:auto auto minmax(0,max-content) auto}@media (max-width:700px),(max-height:600px){.level-up--tip{row-gap:4px}.level-up-tip .tip-bubble{padding-top:4px;padding-bottom:4px;display:block}.level-up-tip .tip-portrait{float:left;margin:2px 8px 0 0}.level-up-tip .tip-text{line-height:calc((210px + var(--text-step) * 120px) / 7)}.level-up-tip .tip-buttons{clear:both;margin-top:4px}}.animal-select.screen--tip{grid-template-rows:auto auto minmax(0,1fr)}@media (min-width:701px){.screen--tip .tip-bubble--inline{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:12px;max-width:760px}.screen--tip .tip-bubble--inline .tip-buttons{flex-wrap:nowrap;grid-column:3}}@media (max-width:700px){.animal-select.screen--tip .tip-bubble{margin-bottom:8px}}.level-up-tip[hidden]{display:none}.tip-portrait{margin-top:2px}.tip-text{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;margin:0}.tip-buttons{flex-wrap:wrap;grid-column:2;gap:6px 8px;display:flex}@media (max-width:600px){.tip-buttons{grid-column:1/-1;justify-content:center}.tip-bubble{padding-left:6px;padding-right:6px}.tip-buttons{gap:4px}.tip-buttons .ui-button--small{min-width:56px;padding-left:2px;padding-right:2px}}.tip-buttons .ui-button{font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7)}.tip-bubble--float:after{content:"";border:0 solid #0000;width:0;height:0;position:absolute}.tip-bubble--float[data-side=above]:after,.tip-bubble--float[data-side=below]:after{left:var(--tail,50%);border-left-width:8px;border-right-width:8px;transform:translate(-50%)}.tip-bubble--float[data-side=above]:after{border-top:10px solid #6b4a2f;bottom:-12px}.tip-bubble--float[data-side=below]:after{border-bottom:10px solid #6b4a2f;top:-12px}.tip-bubble--float[data-side=right]:after,.tip-bubble--float[data-side=left]:after{top:var(--tail,50%);border-top-width:8px;border-bottom-width:8px;transform:translateY(-50%)}.tip-bubble--float[data-side=right]:after{border-right:10px solid #6b4a2f;left:-12px}.tip-bubble--float[data-side=left]:after{border-left:10px solid #6b4a2f;right:-12px}.tip-bubble--tap{cursor:pointer}.tip-bubble--run:after{display:none}.tip-target{outline-offset:2px;outline:3px solid #f4d35e;animation:.9s steps(2,end) infinite tip-ring}@keyframes tip-in{0%{opacity:0;transform:scale(.85)}}@keyframes tip-ring{50%{outline-color:#fff6c8}}:root[data-flashes=off] .tip-bubble--float,:root[data-flashes=off] .tip-target{animation:none}@media (prefers-reduced-motion:reduce){.tip-bubble--float,.tip-target{animation:none}}.tips-ask-panel{max-width:min(480px,100vw - 32px)}.tips-ask-text,.tips-ask-note{margin:0}.tips-ask-buttons{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.settings-tips{white-space:normal;width:100%}.account-panel{grid-template-rows:auto minmax(0,1fr) auto auto;justify-items:stretch;width:min(640px,100vw - 24px);max-height:calc(100vh - 24px)}.account-body{min-height:0;max-height:calc(100vh - 180px);padding-right:4px;overflow-y:auto}.account-view,.account-page,.account-form{text-align:left;grid-template-columns:minmax(0,1fr);align-content:start;gap:8px;display:grid}.account-view[hidden],.account-form[hidden],.account-confirm[hidden],.account-more[hidden]{display:none}.account-panel .ui-tabs{gap:8px;display:grid}.account-panel .ui-tab-list{flex-wrap:wrap;gap:4px;display:flex}.account-field{gap:2px;display:grid}.account-label,.account-note,.account-message,.account-warning,.account-expired,.account-sync,.account-friend-code,.account-subtitle,.account-welcome,.account-signed-in{margin:0}.account-message:empty{display:none}.account-check{cursor:pointer;align-items:center;gap:10px;min-height:40px;display:flex}.account-age{width:28px;height:28px;accent-color:var(--ui-focus,#7a2410);flex:none;margin:0}.account-age:focus-visible{outline:3px solid var(--ui-focus,#7a2410);outline-offset:2px}.account-panel .ui-button{justify-self:start;min-width:0;padding-inline:12px}.account-buttons,.account-confirm{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.account-confirm>p{flex:100%;margin:0}.account-box{gap:6px;display:grid}.account-code-box{text-align:center;grid-template-columns:minmax(0,1fr);gap:6px;display:grid}.account-code{font-variant-numeric:tabular-nums;letter-spacing:.08em;flex-wrap:wrap;justify-content:center;margin:4px 0;display:flex}.account-code-group{white-space:nowrap}.account-box,.account-preview{min-width:0}.account-preview{align-items:center;gap:12px;display:flex}.account-preview-words{min-width:0}.account-preview-name,.account-preview-title{overflow-wrap:anywhere;margin:0}.account-portrait{justify-content:center;align-items:center;padding:4px;display:inline-flex}.account-portrait--framed{outline-offset:-3px;outline:3px solid #c8952c;box-shadow:0 0 0 3px #7a4a12}.account-pictures{flex-wrap:wrap;gap:4px;display:flex}.account-panel .account-picture{min-width:48px;min-height:48px;padding:2px}.account-picture[aria-checked=true]{outline:3px solid var(--ui-focus,#7a2410);outline-offset:-3px}.account-switches{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;display:grid}.account-close{justify-self:center}@media (max-width:700px){.account-switches{grid-template-columns:minmax(0,1fr)}.account-switches .board-switch-arrow{display:none}.account-switches .board-switch-control{grid-template-columns:minmax(0,1fr)}}@media print{body.printing-code>*{display:none!important}body.printing-code>.account{background:0 0;position:static;display:block!important}body.printing-code .account-panel>:not(.account-body),body.printing-code .account-view--code>:not(.account-code-box){display:none!important}body.printing-code .account-code-box{color:#000;background:#fff}}.camp-panel{grid-template-rows:auto auto minmax(0,1fr) auto auto auto;justify-items:stretch;width:min(860px,100vw - 24px);max-height:calc(100vh - 24px)}.camp-footer{justify-items:stretch;display:grid}.camp-footer[hidden],.camp-footer .camp-start[hidden],.camp-daily-lent[hidden],.camp-daily-lent-note[hidden]{display:none}.camp-footer .camp-start{justify-self:stretch}.camp-head{gap:6px;display:grid}.camp-head:empty{display:none}.camp-panel .ui-tab{min-width:0;padding-inline:10px}.camp-panel .ui-tabs{grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0;display:grid}.camp-head .tip-bubble--inline{justify-self:stretch}.camp-box{text-align:left;align-content:start;gap:6px;display:grid}.camp-heading,.camp-section,.camp-intro,.camp-note,.camp-status,.camp-countdown,.camp-collected,.camp-fact,.camp-fact-text{margin:0}.camp-collected[hidden],.camp-weekly-best[hidden]{display:none}.camp-facts{gap:2px;display:grid}.camp-fact{grid-template-columns:6em 40px minmax(0,1fr);align-items:center;gap:0 8px;display:grid}.camp-fact-label{grid-column:1}.camp-fact-value{grid-column:3}.camp-fact:not(:has(.board-row-animal)) .camp-fact-value{grid-column:2/4}.camp-fact .board-row-animal{width:40px}.camp-fact-value{overflow-wrap:anywhere;min-width:0}.camp-start{justify-self:start;max-width:100%}.camp-countdown{font-variant-numeric:tabular-nums}.camp-board-filters{grid-template-columns:minmax(0,1fr)}.camp-tiers{gap:2px;margin:0;padding:0;list-style:none;display:grid}.camp-tier{text-align:left;grid-template-columns:6.5em minmax(0,1fr);gap:0 8px;padding:2px 6px;display:grid}.camp-tier-reward{grid-column:2}.camp-tier--reached{color:var(--ui-on-accent,#8a3412);outline-offset:-2px;outline:2px solid}.camp-badges{grid-template-columns:repeat(auto-fill,minmax(min(100%,15em),1fr));gap:6px 12px;margin:0;padding:0;list-style:none;display:grid}.camp-badge-row{text-align:left;grid-template-rows:auto auto;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:0 8px;display:grid}.camp-badge-row .camp-badge{grid-row:1/3}.camp-badge-row--none .camp-badge{filter:grayscale()brightness(.7);opacity:.6}.camp-badge{box-sizing:border-box;background:color-mix(in srgb, var(--badge,#ccc) 55%, #2a1a1e);border:4px solid #6b5a4a;border-radius:50%;place-items:center;width:52px;height:52px;display:inline-grid}.camp-badge-icon{image-rendering:pixelated;background-repeat:no-repeat;display:block}.camp-badge--tier-1{border-color:#8c7b6b}.camp-badge--tier-2{border-color:#b06a32}.camp-badge--tier-3{border-color:#d8dde2}.camp-badge--tier-4{border-color:#f4c430}@media (min-width:1000px){.camp-panel{width:min(1060px,100vw - 24px)}.camp-page--daily,.camp-page--weekly{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}}.discovery-rate{margin:0}@media (max-width:600px){.camp-panel .camp-heading{font-family:Pixel Simpel,monospace;font-size:calc((200px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7)}.camp-fact{grid-template-columns:32px minmax(0,1fr)}.camp-fact-label{grid-column:1/-1}.camp-fact .board-row-animal{grid-column:1;width:32px}.camp-fact-value{grid-column:2}.camp-fact:not(:has(.board-row-animal)) .camp-fact-value{grid-column:1/-1}.camp-panel .ui-tab{white-space:normal;min-width:0;font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);flex:40%;padding-inline:4px}}.start-info-row{flex-wrap:wrap;flex-basis:100%;justify-content:center;gap:6px;display:flex}.start .start-info-row .ui-button{min-width:0;min-height:40px;font-family:Pixel Simpel,monospace;font-size:calc((180px + var(--text-step) * 60px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);padding:0 10px}.info-page{z-index:11}.info-page-panel{grid-template-rows:auto minmax(0,1fr) auto;justify-items:stretch;width:min(680px,100vw - 16px);max-height:calc(100dvh - 16px)}.info-text{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;text-align:left;min-height:0;padding:2px 6px;overflow-y:auto}.info-heading{font-size:calc((200px + var(--text-step) * 100px) / 7);line-height:calc((240px + var(--text-step) * 120px) / 7);color:var(--ui-on-accent,#f4d35e);margin:14px 0 4px}.info-text>:first-child{margin-top:0}.info-paragraph{margin:0 0 6px}.info-list{margin:0 0 6px;padding-left:1.2em}.info-item{margin-bottom:4px}.info-back{justify-self:center}.measure-banner{z-index:12;text-align:center;pointer-events:none;max-width:calc(100vw - 16px);padding:6px 12px;position:fixed;top:8px;left:50%;transform:translate(-50%)}.measure{z-index:13}.measure-panel{justify-items:stretch;width:min(560px,100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto}.measure-text{box-sizing:border-box;resize:vertical;width:100%;min-height:9em;padding:6px;font-family:ui-monospace,monospace;font-size:12px;line-height:1.4}.measure-buttons{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.measure-buttons .ui-button{min-width:0}
