:root{font-family:ui-rounded,'Trebuchet MS',sans-serif;color:#514c40;background:#c8c2b6;color-scheme:light}*{box-sizing:border-box}body{margin:0;overflow:hidden}canvas{display:block;width:100vw;height:100dvh;touch-action:none;cursor:grab}header{position:absolute;top:24px;left:30px;right:26px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.wordmark{font-size:23px;font-weight:700;letter-spacing:-1px;color:#56574a}.wordmark i{font-size:18px;margin-left:7px;color:#888c74;font-style:normal}.utilities{display:flex;gap:8px;pointer-events:auto}button{font:inherit;cursor:pointer;touch-action:manipulation}.utilities button{border:1px solid #fff4;background:#f2eddf50;color:#655f4e;width:36px;height:36px;border-radius:50%;font-size:19px;backdrop-filter:blur(12px)}button:focus-visible{outline:3px solid #bd8854;outline-offset:4px}.bottom{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);text-align:center;user-select:none;width:max-content;max-width:100%;pointer-events:none}#hint{height:26px;font-size:12px;color:#5a5849;letter-spacing:.2px;text-shadow:0 1px 6px #eee8d9;margin-bottom:12px}nav{display:flex;gap:9px;padding:8px 12px;border-radius:24px;background:#f3eddb66;border:1px solid #fff6;box-shadow:0 12px 40px #4b49301a;backdrop-filter:blur(14px);pointer-events:auto}nav button{position:relative;width:83px;height:88px;border:1px solid transparent;border-radius:17px;background:transparent;color:#787360;transition:transform .18s,background .18s,box-shadow .18s;display:flex;align-items:center;flex-direction:column;justify-content:center}nav svg{width:50px;height:50px;filter:drop-shadow(0 4px 2px #51432a22);transition:transform .2s}nav button:hover svg{transform:translateY(-4px) rotate(-5deg)}nav button.active{background:#f6efd9cc;border-color:#fff9;box-shadow:0 5px 12px #75644913;transform:translateY(-5px);color:#494e3f}nav button span{font-size:10px;margin-top:3px}kbd{position:absolute;top:5px;right:7px;font-size:8px;opacity:.4;font-family:inherit}.bottom small{display:block;font-size:9px;letter-spacing:.5px;margin-top:12px;color:#777463}#temperature{position:absolute;top:80px;right:35px;font-size:33px;font-weight:500;opacity:0;transition:opacity .3s;color:#786c55;pointer-events:none}#temperature span{font-size:15px;margin-left:3px}#temperature.show{opacity:1}#moment{position:absolute;top:78px;left:50%;transform:translateX(-50%);font-size:13px;background:#f6edda99;backdrop-filter:blur(8px);border-radius:20px;padding:10px 20px;opacity:0;transition:opacity .4s;pointer-events:none;white-space:nowrap}#loading{position:absolute;inset:0;display:grid;place-items:center;background:#c8c2b6;font-size:14px;letter-spacing:1px;transition:opacity .5s;pointer-events:none}@media(max-width:600px){header{top:18px;left:18px;right:18px}.wordmark{font-size:20px}nav{gap:3px;padding:7px}nav button{width:60px;height:76px}nav svg{width:43px;height:43px}nav button span{font-size:9px}.bottom{bottom:12px}#hint{font-size:11px}.bottom small{font-size:8px}#moment{top:76px;font-size:11px;max-width:90%;white-space:normal;text-align:center}}
:root #creation[hidden]{display:none}#creation{margin:0 auto 10px;width:max-content;max-width:100%;padding:5px 10px}#creation button{height:72px;width:78px}#creation svg{width:43px;height:43px}#life{border-left:1px solid #d5cfb755}.bottom nav{max-width:calc(100vw - 18px)}@media(max-width:600px){nav button{width:49px}nav svg{width:37px;height:37px}nav button span{font-size:8px}#creation button{width:65px;height:65px}.utilities{gap:4px}.utilities button{width:30px;height:30px}.wordmark{font-size:17px}#hint{font-size:10px;max-width:94vw;margin-left:auto;margin-right:auto}}
#activity-cloud{position:absolute;z-index:3;transform:translate(-50%,-100%);background:#fff9e9f2;color:#514b3c;padding:13px 19px;border-radius:35px;box-shadow:0 5px 22px #4d422326;font-size:14px;font-weight:600;max-width:240px;text-align:center;pointer-events:none;border:2px solid #fffdf3}#activity-cloud::before,#activity-cloud::after{content:'';position:absolute;background:#fff9e9;box-shadow:0 2px 6px #4d422311;border-radius:50%;width:13px;height:11px;bottom:-14px;left:48%}#activity-cloud::after{width:7px;height:7px;bottom:-24px;left:45%}#activity-cloud[hidden]{display:none}

#temperature{opacity:1;top:78px;right:25px;color:#4e594d;background:#f9f2e4d9;border:1px solid #fff9;border-radius:18px;padding:9px 14px;backdrop-filter:blur(12px);font-size:25px;z-index:3}#temperature>div{display:flex;align-items:center;gap:4px}#temperature strong{font-weight:500}#temperature .sky-symbol{font-size:24px;margin:0 7px 0 0;color:#b08c4e}#temperature .degree-unit{font-size:12px;margin:0}#temperature small{display:block;font-size:9px;margin-top:4px;color:#6e7768}#observer{position:absolute;z-index:5;top:162px;right:22px;left:auto;width:265px;max-height:calc(100dvh - 310px);overflow:auto;padding:15px;background:#faf4e8ed;border:1px solid #fff9;border-radius:20px;box-shadow:0 8px 30px #273b2722;backdrop-filter:blur(16px);color:#49533f;scrollbar-width:thin}#observer[hidden]{display:none}.compact-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.compact-heading strong{font-size:19px}.compact-heading button{border:0;background:transparent;color:#78806c;font-size:23px}.card-action{font-size:13px;line-height:1.5;margin:10px 0}.card-caption{font-size:10px;color:#7b806e;line-height:1.6}.compact-needs{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px;margin:12px 0}.compact-needs>div{display:flex;align-items:center;gap:7px;font-size:13px}.compact-needs meter{width:70px;height:9px}.compact-facts{display:flex;flex-wrap:wrap;gap:10px;font-size:11px;margin:13px 0}.compact-facts.large{font-size:20px}.skill-icons{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.skill-icons span{background:#e7eadc;border-radius:7px;padding:5px;font-size:12px}.quiet-button{background:transparent;border:0;padding:5px 0;color:#7e856e;font-size:10px}.compact-history{list-style:none;margin:12px 0 0;padding:0}.compact-history li{font-size:11px;line-height:1.5;border-left:1px solid #a7b09766;padding:0 0 11px 10px}.compact-history time{display:block;font-size:9px;color:#929981;margin-bottom:3px}.compact-history button{font:inherit;color:inherit;text-align:left;border:0;background:transparent;padding:0;text-decoration:underline;text-decoration-color:#9da88c88}.death-reason{color:#91694f}#chronicle-button.unread{background:#e8c99b;box-shadow:0 0 0 3px #f5e5c688}#speed-button{font-size:12px}#settlement-marker{position:absolute;z-index:2;transform:translate(-50%,-100%);width:34px;height:34px;border:1px solid #fff9;border-radius:50%;background:#f9f0dacf;box-shadow:0 3px 12px #4351391c;color:#607650;font-size:22px;backdrop-filter:blur(6px)}#settlement-marker[hidden]{display:none}@media(max-width:600px){.utilities{gap:3px}.utilities button{width:26px;height:28px;font-size:16px}.wordmark{font-size:15px}.wordmark i{display:none}header{left:12px;right:12px}#temperature{top:64px;right:12px;padding:7px 10px;font-size:23px}#observer{top:145px;right:12px;width:230px;padding:13px;max-height:calc(100dvh - 300px)}.compact-needs meter{width:60px}#moment{top:120px}}

body.night .utilities button{background:#e8e6d9b8;color:#4a5447}body.night .wordmark{color:#eee5cd}body.night .wordmark i{color:#d2d6bd}body.night .bottom nav{background:#e4e5d3c7}body.night #hint{color:#ede1c3;text-shadow:0 1px 4px #172920}body.night .bottom small{color:#e2dec5}.climate-warning{color:#9c714d}

#chronicle-button{position:relative}#chronicle-button.unread::after{content:attr(data-count);position:absolute;right:-3px;top:-3px;min-width:14px;height:14px;line-height:14px;padding:0 2px;border-radius:8px;background:#b9764b;color:#fff8e7;font-size:9px}.remembered-lives{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.remembered-lives button{border:0;background:#ebe3d3;border-radius:8px;padding:6px 9px;font-size:10px;color:#71634e}

#first-moments{position:fixed;top:86px;left:20px;width:290px;box-sizing:border-box;padding:18px 20px;border:1px solid #eee4d0;border-radius:20px;background:#faf4e8ed;color:#304339;box-shadow:0 8px 35px #233d2920;font:13px/1.55 system-ui;z-index:10}#first-moments[hidden]{display:none}.moments-top{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:.14em;color:#687861}.moments-top button{border:0;background:transparent;color:#526450;font-size:22px;cursor:pointer}#first-moments h2{font:500 23px/1.2 Georgia,serif;margin:9px 0 12px}#first-moments p{margin:8px 0}.moments-detail{color:#64715e}#first-moments small{display:block;border-top:1px solid #dcd9c7;padding-top:10px;margin-top:13px;font-size:10px;color:#67775e}@media(max-width:700px){#first-moments{top:110px;left:12px;width:min(280px,calc(100vw - 24px));padding:12px 16px}#first-moments h2{font-size:20px}#first-moments p{font-size:12px}.utilities{flex-wrap:wrap;justify-content:flex-end;max-width:78vw}}
#developer-views{width:auto;padding-inline:.72rem;font:650 .75rem system-ui}
#developer-menu{width:min(27rem,calc(100vw - 2rem));box-sizing:border-box;margin:auto;padding:1.1rem;
 border:1px solid #63736a;border-radius:1rem;background:#222e2a;color:#f7efd9;box-shadow:0 1.1rem 4rem #16201f80}
#developer-menu::backdrop{background:#131e22a8}
.developer-menu-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.9rem}
.developer-menu-heading h2{margin:0;font:650 1.12rem system-ui}
.developer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
.developer-grid button{width:100%;min-height:2.7rem;padding:.48rem .6rem;text-align:left;
 font:600 .87rem system-ui;background:#394941;color:#fff5de;border:1px solid #657a6a;border-radius:.5rem}
.developer-grid button:hover,.developer-grid button:focus-visible{background:#526952;border-color:#b4c8a3}
