@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;600;700;900&display=swap";:root{color:#dfd6c5;font-synthesis:none;--gold:#d98a3c;--teal:#3ba39c;--line:#39332c;--muted:#92887a;--serif:"Noto Serif SC",Georgia,serif;background:#12100e;font-family:DM Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}*{box-sizing:border-box}html,body,#app{width:100%;min-height:100%;margin:0}body{background:#12100e}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible{outline:2px solid #d9a567;outline-offset:3px}input:focus-visible{outline:2px solid #d9a567;outline-offset:3px}textarea:focus-visible{outline:2px solid #d9a567;outline-offset:3px}button{color:inherit}p{line-height:1.8}h1,h2,p{margin:0}.app-shell{padding:env(safe-area-inset-top)env(safe-area-inset-right)env(safe-area-inset-bottom)env(safe-area-inset-left);background:radial-gradient(at 8% 5%,#332b21 0,#0000 35%),radial-gradient(at 85% 90%,#1c2d2b 0,#0000 35%),#12100e;min-height:100dvh}.masthead{display:flex;background:#16130feb;border-bottom:1px solid #3b342c;justify-content:space-between;align-items: center;height:76px;padding:0 5%}.brand{display:flex;text-align:left;background:0 0;border:0;align-items: center;gap:12px;padding:0}.brand-mark{color:var(--gold);font-size:38px;line-height:1}.brand b{font-family:var(--serif);letter-spacing:.12em;display:block;font-size:16px}.brand small{display:block;color:#827869;letter-spacing:.17em;margin-top:5px;font-size:8px}.header-right{display:flex;align-items: center;gap:20px}.header-user{color:#b5a89a;font-size:11px}.header-user:first-letter{color:#86b49f}.button{letter-spacing:.05em;border:1px solid #0000;padding:13px 18px;transition:background .2s,color .2s,border-color .2s;font-size:12px;font-weight:700}.button.primary{color:#18130f;background:#d18a49}.button.primary:hover:not(:disabled){background:#efad6a}.button.ghost{color:#d9cdb9;background:0 0;border-color:#695b49}.button.ghost:hover{border-color:var(--gold);color:var(--gold)}.button.wide{width:100%;margin-top:16px;padding:16px}.text-button{color:#a89986;background:0 0;border:0;padding:3px 0;font-size:11px}.text-button:hover{color:#edbd83}.underline{text-decoration:underline;text-underline-offset:4px}.toast{position:fixed;z-index:30;color:#c3e5d4;background:#2b3a35;border:1px solid #61766d;padding:13px 15px;font-size:13px;top:90px;right:5%;box-shadow:0 10px 40px #0007}.toast.error{color:#ffcdc0;background:#462421;border-color:#a15348}.toast button{color:inherit;background:0 0;border:0;margin-left:18px}.eyebrow{letter-spacing:.2em;color:#c4976b;font-size:10px;font-weight:700}.muted{color:var(--muted);font-size:13px}.tiny{font-size:11px}.porch{display:grid;grid-template-columns:1.3fr .8fr;align-items: center;gap:10%;max-width:1350px;min-height:calc(100dvh - 76px);margin:auto;padding:70px 7% 90px}.porch-copy{position:relative}.porch-copy:before{content:"";position:absolute;z-index:0;filter:blur(5px);pointer-events:none;background:radial-gradient(at 46% 45%,#82533439,#0000 50%),linear-gradient(140deg,#0000 33%,#8b583217 35%,#0000 48%),linear-gradient(35deg,#0000 35%,#428b7e12 45%,#0000 65%);width:115%;height:185%;top:-45%;left:-14%}.porch-copy>*{position:relative}.porch-copy .eyebrow{display:flex;align-items: center;gap:12px}.rule{display:inline-block;background:#a47f5d;width:28px;height:1px}.hero-stamp{color:#dba064;opacity:.65;text-shadow:9px 5px #7f4d2b66;margin:42px 0 27px;font-family:Georgia,serif;font-size:130px;font-weight:900;line-height:.85}.hero-stamp span{color:#5e9c92;display:inline-block;font-size:35px;transform:translate(70px,-65px)}.porch h1{font-family:var(--serif);letter-spacing:.04em;color:#eee1cc;font-size:clamp(30px,4vw,58px);line-height:1.42}.porch h1 em{color:#d69a65;font-style:normal}.porch-copy p{color:#aaa091;font-family:var(--serif);margin-top:22px;font-size:14px}.hero-foot{display:flex;color:#837769;letter-spacing:.22em;gap:20px;margin-top:48px;font-size:9px}.hero-foot span:nth-child(2){color:#ce8d52}.paper-panel{position:relative;background:linear-gradient(145deg,#27221c,#1c1915);border:1px solid #51463a;box-shadow:0 24px 75px #0006}.paper-panel:before{content:"";position:absolute;pointer-events:none;border:1px solid #ffffff08;inset:6px}.auth-card,.create-card{padding:32px 34px}.card-overline{letter-spacing:.16em;color:#c79263;display:flex;justify-content:space-between;gap:10px;font-size:9px}.card-overline span{color:#776d60}.auth-card h2,.create-card h2{font:700 25px var(--serif);color:#ecddc7;margin:30px 0 8px}.tabs{display:flex;border-bottom:1px solid #51473a;gap:25px;margin:26px 0 22px}.tabs button{color:#8f8374;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 0 12px;font-size:12px}.tabs button.active{color:#e4b27f;border-color:#d5975a}label{display:block;color:#c7b8a6;margin:17px 0 0;font-size:11px;font-weight:700}input,textarea{color:#ece1d1;background:#15130f;border:1px solid #50483e;border-radius:0;width:100%;margin-top:9px;padding:13px 14px}input::placeholder,textarea::placeholder{color:#70675d}input:focus,textarea:focus{border-color:#b38258}.card-bottom{color:#84786b;text-align:center;letter-spacing:.05em;border-top:1px solid #3d352d;margin-top:27px;padding-top:21px;font-size:10px}.page-width{max-width:1200px;margin:0 auto;padding:65px 6%}.section-heading{display:flex;border-bottom:1px solid #51463b;justify-content:space-between;align-items: end;padding-bottom:30px}.section-heading h1{font:700 clamp(26px,3vw,38px)var(--serif);margin:15px 0 10px}.section-heading p{color:#9b8e7e;font-size:13px}.giant-number{color:#5a4533;font:italic 68px Georgia}.lobby-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:65px;margin-top:40px}.section-title{display:flex;justify-content:space-between;align-items: center;margin-bottom:20px}.section-title h2{font:700 18px var(--serif)}.section-title span{color:#8c7a69;letter-spacing:.15em;font-size:9px}.room-list{display:grid;gap:10px}.room-card{display:flex;text-align:left;background:#211d18;border:1px solid #41382e;align-items: center;gap:18px;width:100%;padding:21px}.room-card:hover{background:#2a231c;border-color:#a87d55}.room-index{color:#c98950;font-size:30px}.room-card b{display:block;font:700 16px var(--serif)}.room-card small{display:block;color:#8c8072;margin-top:8px;font-size:11px}.room-arrow{color:#c4956d;margin-left:auto;font-size:20px}.empty-state{display:grid;text-align:center;color:#8d8072;border:1px dashed #4c4135;place-content: center;min-height:180px;font-size:13px}.empty-state span{color:#b68658;font-size:29px}.create-card{align-self: start}.optional{color:#776c60;font-weight:400}.table-layout{display:grid;grid-template-columns:320px minmax(0,1fr);max-width:1600px;min-height:calc(100dvh - 76px);margin:0 auto}.detective-panel{background:#1a1713;border-right:1px solid #3e362d;padding:25px 25px 40px}.sidebar-top{display:flex;color:#776d60;letter-spacing:.15em;justify-content:space-between;align-items: center;font-size:9px}.back{font-size:11px}.identity{display:flex;align-items: center;gap:16px;margin:30px 0 27px}.portrait{display:grid;color:#e0bf8e;background:linear-gradient(145deg,#855836,#393d35 48%,#181917);border:1px solid #826e56;place-items: center;width:67px;height:75px;font-size:36px;box-shadow:inset 0 0 25px #0008}.identity h2{font:700 20px var(--serif);margin:7px 0}.identity .eyebrow{font-size:9px}.vitals{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #40382e;gap:12px;padding-top:22px}.vital strong{font-size:12px}.vital small{color:#817367;letter-spacing:.08em;font-size:8px}.vital span{float:right;color:#ad9b89;font-size:10px}.vital-boxes{display:flex;gap:4px;margin-top:10px}.vital-boxes i{background:#302a26;border:1px solid #55433b;flex:1;height:10px}.vital-boxes.health i.filled{background:#a5433e;border-color:#be6255;box-shadow:0 0 9px #a5433e44}.vital-boxes.morale i.filled{background:#506f86;border-color:#7897a9;box-shadow:0 0 9px #506f8644}.sidebar-section{border-top:1px solid #40382e;margin-top:25px;padding-top:20px}.mini-heading{display:flex;font-family:var(--serif);justify-content:space-between;align-items: center;font-size:12px;font-weight:700}.mini-heading small{letter-spacing:.13em;color:#806f5f;font:8px DM Sans,sans-serif}.thoughts{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.thought{color:#b7e0ca;background:#263632;border:1px solid #4a796b;padding:7px;font-size:10px;box-shadow:0 0 12px #3ba39c20}.thought b{color:#7ec9ab;margin-left:7px}.dice-stage{position:relative;overflow:hidden;background:radial-gradient(#273938 0,#1d211d 44%,#191713 75%);height:185px;margin:12px 0}.dice-stage canvas{display:block;width:100%;height:100%}.dice-stage.critical-failure{animation:.15s 8 alternate ominous;box-shadow:inset 0 0 35px #8d292955}@keyframes ominous{0%{filter:brightness(1)}to{filter:brightness(.6)sepia(.5)}}.dice-caption{position:absolute;text-align:center;letter-spacing:.18em;color:#827b6c;pointer-events:none;width:100%;font-size:7px;bottom:8px}.dice-fallback{position:absolute;display:flex;font:40px var(--serif);color:#d8c5a8;flex-direction:column;justify-content:center;align-items: center;inset:0}.dice-fallback small{color:#9c9080;font:10px DM Sans,sans-serif}.roll-detail{display:flex;color:#cbbba8;justify-content:space-between;align-items: center;font-size:11px}.roll-detail b{color:#dda46d;font:700 20px Georgia}.roll-detail small{color:#8a7a68;font-size:12px}.roll-math{color:#867a6c;margin-top:6px;font-size:10px}.replay{color:#c89b70;margin-top:9px}.story-panel{display:flex;background:linear-gradient(90deg,#1b1814,#201b16 70%,#1a1713);flex-direction:column;min-width:0}.story-header{display:flex;border-bottom:1px solid #40372e;justify-content:space-between;align-items: start;gap:20px;padding:30px clamp(25px,6vw,90px)}.story-header h1{font:700 26px var(--serif);margin:10px 0 4px}.story-header p{color:#988b7b;font-size:12px}.live{white-space:nowrap;color:#9b9a84;margin-top:6px;font-size:10px}.live i{display:inline-block;background:#a85f43;border-radius:50%;width:6px;height:6px;margin-right:7px}.live i.online{background:#73b8a1;box-shadow:0 0 8px #73b8a1}.story-scroll{flex:1;width:100%;max-width:850px;margin:0 auto;padding:35px clamp(25px,6vw,70px) 20px}.chapter{display:flex;color:#b28158;text-align:center;align-items: center;gap:20px;font-size:13px}.chapter:before,.chapter:after{content:"";background:#453a2f;flex:1;height:1px}.chapter div{letter-spacing:.18em;white-space:nowrap;font-size:9px}.chapter small{display:block;color:#837363;letter-spacing:.05em;margin-top:5px;font-size:10px}.story-empty{text-align:center;color:#a49787;font-family:var(--serif);margin:70px 0}.story-empty span{color:#a66e48;font-size:45px}.story-empty small{display:block;color:#716b5f;margin-top:12px;font-size:11px}.event{margin:34px 0}.event-label{display:flex;letter-spacing:.1em;color:#b98c62;justify-content:space-between;align-items: center;gap:10px;font:700 10px DM Sans,sans-serif}.event-label small{color:#827769;letter-spacing:.08em;font-size:9px;font-weight:400}.event p{white-space:pre-wrap;overflow-wrap:anywhere}.narration p{font:400 15px/2.05 var(--serif);color:#d8cdbd;margin-top:14px}.player-event{background:#26312d88;border-left:2px solid #548a81;padding:17px 20px}.player-event .event-label{color:#86b5a5}.player-event p{font:14px/1.9 var(--serif);color:#d5d8c9;margin-top:10px}.check-banner{display:flex;background:#2a251d;border:1px solid #6b5943;align-items: center;gap:17px;padding:18px}.check-symbol{color:#d7a263;font-size:31px}.check-banner strong{display:block;font:700 17px var(--serif);color:#e4c69a;margin-top:6px}.check-banner p{color:#a99b89;font-size:11px}.check-score{text-align:right;color:#e2bf89;white-space:nowrap;margin-left:auto;font:700 24px Georgia}.check-score small{display:block;color:#a29482;margin-top:5px;font:10px DM Sans,sans-serif}.check-banner.critical-success{background:#4b381d88;border-color:#b8883c;box-shadow:0 0 25px #cf993228}.check-banner.critical-failure{background:#4a252488;border-color:#9b4740}.check-banner.critical-failure .check-symbol,.check-banner.critical-failure strong{color:#e47a66}.beast-note{color:#2c2922;max-width:85%;padding:17px 20px;transform:rotate(-.6deg);box-shadow:4px 8px 14px #0004}.beast-note .event-label,.beast-note .event-label small{color:#51483a}.beast-note p{font:14px/1.8 var(--serif);margin-top:9px}.beast-note.zhixia{background:#d6c681}.beast-note.jingjing{background:#a9c9cf;transform:rotate(.5deg)}.beast-note.mimi{background:#d3a9bb;transform:rotate(-.8deg)}.beast-note.kim{background:#b5b6af}.secret{background:#30231e;border:1px solid #715243;padding:18px 20px;box-shadow:inset 3px 0 #a75446}.secret .event-label{color:#d59482}.secret p{font:14px/1.9 var(--serif);color:#dfc8b9;margin-top:10px}.update-event{text-align:center;color:#a59888;font-size:11px}.update-event span{color:#d79e68}.typing{color:#d99d60;animation:1s step-end infinite blink}@keyframes blink{50%{opacity:0}}.story-end{text-align:center;color:#6d5741;margin:40px 0}.composer{position:sticky;padding:18px clamp(25px,6vw,90px)calc(18px + env(safe-area-inset-bottom));z-index:2;background:#1b1814f5;border-top:1px solid #433a30;bottom:0}.composer-label{display:flex;font:700 12px var(--serif);color:#c8b7a2;justify-content:space-between}.composer-label small{letter-spacing:.12em;color:#786d60;font:9px DM Sans,sans-serif}.composer-row{display:flex;gap:10px;margin-top:9px}.composer textarea{resize:vertical;min-height:55px;max-height:180px;margin:0;font-size:13px}.composer-row button{align-self:stretch;min-width:100px}.composer-row button span{margin-left:15px}.composer-foot{display:flex;letter-spacing:.08em;color:#766c60;justify-content:space-between;margin-top:9px;font-size:8px}.event-body{overflow-wrap:anywhere;margin-top:10px}.narration .event-body{margin-top:14px}.beast-note .event-body{margin-top:9px}.check-banner .event-body{margin-top:4px}.event-body p,.narration .event-body p,.player-event .event-body p,.beast-note .event-body p,.secret .event-body p{margin:0}.event-body p+p,.narration .event-body p+p,.player-event .event-body p+p,.beast-note .event-body p+p,.secret .event-body p+p{margin-top:.85em}.event-body strong{color:#f0dfbf;font-weight:700}.event-body em{color:#c9b89c;font-style:italic}.event-body blockquote{color:#b7c5bf;background:#11171988;border-left:2px solid #5e9c92;margin:.9em 0;padding:.4em 0 .4em 14px}.event-body code{color:#a5d4c8;background:#111719b3;border:1px solid #41494b;padding:1px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em}.beast-note .event-body strong{color:#211d16}.beast-note .event-body em{color:#41382c}.beast-note .event-body blockquote{color:#3d3528;background:#00000012;border-left-color:#51483a}.beast-note .event-body code{color:#2c2519;background:#00000016;border-color:#00000028}.update-event .event-body,.update-event .event-body p{display:inline;margin:0}.frame-corner{position:absolute;pointer-events:none;border-style:solid;border-color:#5e9c9266;width:10px;height:10px;transition:border-color .3s}.paper-panel:hover .frame-corner{border-color:#d98a3c88}.frame-corner.tl{border-width:1px 0 0 1px;top:-1px;left:-1px}.frame-corner.tr{border-width:1px 1px 0 0;top:-1px;right:-1px}.frame-corner.bl{border-width:0 0 1px 1px;bottom:-1px;left:-1px}.frame-corner.br{border-width:0 1px 1px 0;bottom:-1px;right:-1px}.vapor-tribute{display:inline-block;letter-spacing:.22em;color:#73868a;text-decoration:none;opacity:.72;margin-top:18px;transition:opacity .25s,color .25s,text-shadow .25s;font-size:9px}.vapor-tribute:hover{opacity:1;color:#a9d2cd;text-shadow:0 0 14px #5e9c9255}.lobby-tribute{text-align:center;margin-top:44px}.table-tribute{display:block;margin-top:14px}.drawer-backdrop{position:fixed;z-index:20;display:flex;background:#080807c9;justify-content:flex-end;inset:0}.sheet-drawer{overflow:auto;padding:35px clamp(25px,5vw,48px)calc(35px + env(safe-area-inset-bottom));background:#211c17;border-left:1px solid #675545;width:min(520px,100%);height:100%;box-shadow:-20px 0 70px #0008}.drawer-head{display:flex;justify-content:space-between}.close{font-size:26px;line-height:1}.sheet-drawer h2{font:700 28px var(--serif);margin:24px 0 10px}.sheet-drawer form{margin-top:26px}.sheet-heading{display:flex;justify-content:space-between;align-items: center;margin:27px 0 12px}.sheet-heading strong{font:700 14px var(--serif)}.sheet-heading small{color:#8d7f70;font-size:10px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.stat-card{position:relative;text-align:left;background:#191713;border:1px solid #51463b;min-height:110px;padding:12px 9px}.stat-card.selected,.beast-choice.selected{background:#493321;border-color:#d99b5e}.stat-card small{display:block;color:#927f6c;font-size:8px}.stat-card strong{display:block;font:700 13px var(--serif);margin-top:7px}.stat-card b{display:block;color:#d8aa78;margin-top:6px;font:700 27px Georgia}.stat-card span{position:absolute;color:#897159;bottom:10px;right:8px}.beast-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.beast-choice{display:flex;text-align:left;background:#191713;border:1px solid #51463b;align-items: center;gap:8px;padding:12px 10px}.beast-choice span{color:#c69b6e;font-size:23px}.beast-choice b{flex:1;font-size:11px}.beast-choice i{color:#c49b70;font-size:11px;font-style:normal}@media (max-width:800px){.masthead{height:65px;padding:0 20px}.brand-mark{font-size:31px}.brand b{font-size:14px}.header-right{gap:12px}.header-user{display:none}.porch{grid-template-columns:1fr;gap:35px;padding:50px 7%}.hero-stamp{margin:28px 0 10px;font-size:90px}.hero-stamp span{transform:translate(50px,-45px)}.porch-copy p{font-size:13px}.hero-foot{margin-top:22px}.lobby-grid{grid-template-columns:1fr;gap:30px}.table-layout{display:flex;flex-direction:column}.detective-panel{border-bottom:1px solid #3e362d;border-right:0;padding:18px 20px}.identity{margin:18px 0}.portrait{width:50px;height:55px;font-size:28px}.vitals{max-width:420px}.sidebar-section{margin-top:18px;padding-top:15px}.dice-section{max-width:420px}.dice-stage{height:150px}.story-header{padding:25px 20px}.story-scroll{padding:30px 22px}.composer{padding:15px 20px calc(15px + env(safe-area-inset-bottom))}.section-heading .giant-number{font-size:45px}.page-width{padding:45px 6%}.share{padding:9px;font-size:10px}.beast-note{max-width:100%}}@media (max-width:400px){.auth-card,.create-card{padding:25px 20px}.stats-grid{gap:4px}.stat-card{padding:10px 6px}.beast-grid{grid-template-columns:1fr}.check-banner{gap:9px;padding:12px}.check-score{font-size:19px}.composer-foot span{display:none}}
