.web-journal-link{max-width:100%;color:var(--tb-color-primary);font:inherit;text-align:start;overflow-wrap:anywhere;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline;display:inline}.scenes{gap:var(--tb-space-2);flex-direction:column;display:flex}.scenes__title{font-size:var(--tb-text-lg);font-family:var(--tb-font-serif);margin:0}.scenes__muted{color:var(--tb-color-text-muted);font-size:var(--tb-text-sm);margin:0}.scenes__list,.scenes__players,.scenes__choices,.scenes-requests__list{margin:0;padding:0;list-style:none}.scenes__list{gap:var(--tb-space-3);grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));display:grid}.scenes__card{gap:var(--tb-space-2);min-width:0;padding:var(--tb-space-3);background:var(--tb-color-surface);border:1px solid var(--tb-color-border);border-radius:var(--tb-radius-md);flex-direction:column;display:flex}.scenes__card--over{border-color:var(--tb-color-primary);background:var(--tb-color-primary-soft)}.scenes__head{align-items:center;gap:var(--tb-space-2);flex-wrap:wrap;display:flex}.scenes__name{font-size:var(--tb-text-md);overflow-wrap:anywhere;margin:0}.scenes__badge{padding:0 var(--tb-space-2);border-radius:var(--tb-radius-full);background:var(--tb-color-primary);color:var(--tb-color-primary-text);font-size:var(--tb-text-sm)}.scenes__badge--own{background:var(--tb-color-surface-2);color:var(--tb-color-text)}.scenes__players,.scenes__actions{align-items:center;gap:var(--tb-space-2);flex-wrap:wrap;display:flex}.scenes__player{align-items:center;gap:var(--tb-space-2);max-width:100%;min-height:var(--tb-touch);padding:var(--tb-space-1) var(--tb-space-3) var(--tb-space-1) var(--tb-space-1);border:2px solid var(--tb-color-border);border-radius:var(--tb-radius-full);background:var(--tb-color-surface-2);color:var(--tb-color-text);font:inherit;cursor:grab;display:inline-flex}.scenes__player--group{padding-left:var(--tb-space-3);border-style:dashed}.scenes__player[aria-pressed=true]{border-color:var(--tb-color-primary);background:var(--tb-color-primary-soft)}.scenes__player:focus-visible{box-shadow:var(--tb-focus-ring);outline:none}.scenes__avatar{background:var(--tb-color-primary);width:2rem;height:2rem;color:var(--tb-color-primary-text);border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:600;display:inline-flex}.scenes__player-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.scenes__choices{gap:var(--tb-space-2);flex-direction:column;max-width:24rem;display:flex}.scenes-requests{right:var(--tb-space-2);bottom:var(--tb-space-2);left:var(--tb-space-2);z-index:20;max-width:28rem;max-height:60dvh;margin-inline:auto;position:fixed;overflow:auto}.scenes-requests__list{gap:var(--tb-space-2);flex-direction:column;display:flex}.scenes-requests__item{gap:var(--tb-space-2);padding:var(--tb-space-3);background:var(--tb-color-surface);border:2px solid var(--tb-color-primary);border-radius:var(--tb-radius-md);flex-direction:column;display:flex;box-shadow:0 4px 16px #00000040}.scenes-requests__text{overflow-wrap:anywhere;margin:0;font-weight:600}.scenes__bar{justify-content:space-between;align-items:center;gap:var(--tb-space-2);flex-wrap:wrap;display:flex}.scenes__thumb{object-fit:cover;border-radius:var(--tb-radius-sm);width:100%;max-height:120px;display:block}.tb-chat{background:var(--tb-color-bg);height:100%;min-height:0;color:var(--tb-color-text);font-family:var(--tb-font-sans);flex-direction:column;display:flex}.tb-chat-feed-wrap{flex:auto;min-height:0;display:flex;position:relative}.tb-chat-feed{overscroll-behavior:contain;padding:var(--tb-space-2);gap:var(--tb-space-2);flex-direction:column;flex:auto;display:flex;overflow-y:auto}.tb-chat-feed__older,.tb-chat-feed__empty,.tb-chat-feed__end{text-align:center;color:var(--tb-color-text-muted);font-size:var(--tb-text-sm)}.tb-chat-feed__empty{padding:var(--tb-space-4);margin:auto 0}.tb-chat-feed__new{left:50%;bottom:var(--tb-space-2);box-shadow:var(--tb-shadow-2);border-radius:var(--tb-radius-full);position:absolute;transform:translate(-50%)}.tb-chat-msg{background:var(--tb-color-surface);border:1px solid var(--tb-color-border);border-radius:var(--tb-radius-md);padding:var(--tb-space-2) var(--tb-space-3);min-width:0}.tb-chat-msg--own{border-color:var(--tb-color-primary-soft)}.tb-chat-msg--private{background:var(--tb-color-surface-sunken);border-style:dashed}.tb-chat-msg__head{align-items:baseline;gap:var(--tb-space-1) var(--tb-space-2);font-size:var(--tb-text-sm);flex-wrap:wrap;display:flex}.tb-chat-msg__who{overflow-wrap:anywhere;font-weight:600}.tb-chat-msg__badge{color:var(--tb-color-text-muted);font-style:italic}.tb-chat-msg__badge--blind{color:var(--tb-color-warning)}.tb-chat-msg__time{color:var(--tb-color-text-muted);font-variant-numeric:tabular-nums;margin-left:auto}.tb-chat-msg__flavor{margin-top:var(--tb-space-1);font-family:var(--tb-font-serif);color:var(--tb-color-text-muted);font-style:italic}.tb-chat-msg__text{margin-top:var(--tb-space-1);white-space:pre-wrap;overflow-wrap:anywhere;line-height:var(--tb-leading)}.tb-chat-roll{margin-top:var(--tb-space-2);border:1px solid var(--tb-color-border);border-radius:var(--tb-radius-md);background:var(--tb-color-surface-2);overflow:hidden}.tb-chat-roll--success{border-color:var(--tb-color-success)}.tb-chat-roll--failure{border-color:var(--tb-color-danger)}.tb-chat-roll__head{all:unset;box-sizing:border-box;align-items:center;gap:var(--tb-space-1) var(--tb-space-3);width:100%;min-height:var(--tb-touch);padding:var(--tb-space-1) var(--tb-space-3);cursor:pointer;flex-wrap:wrap;display:flex}.tb-chat-roll__head:focus-visible{box-shadow:var(--tb-focus-ring)}.tb-chat-roll__formula{font-family:var(--tb-font-mono);font-size:var(--tb-text-sm);color:var(--tb-color-text-muted);overflow-wrap:anywhere;flex:6em}.tb-chat-roll__total{font-size:var(--tb-text-xl);font-variant-numeric:tabular-nums;font-weight:700;line-height:1.1}.tb-chat-roll--success .tb-chat-roll__total{color:var(--tb-color-success)}.tb-chat-roll--failure .tb-chat-roll__total{color:var(--tb-color-danger)}.tb-chat-roll__successes{font-size:var(--tb-text-sm);color:var(--tb-color-text-muted)}.tb-chat-roll__chevron{color:var(--tb-color-text-muted)}.tb-chat-roll__tree{padding:var(--tb-space-2) var(--tb-space-3);border-top:1px solid var(--tb-color-border);font-size:var(--tb-text-sm);overflow-wrap:anywhere;line-height:2}.tb-chat-roll--hidden{align-items:baseline;gap:var(--tb-space-1) var(--tb-space-3);padding:var(--tb-space-2) var(--tb-space-3);flex-wrap:wrap;display:flex}.tb-chat-roll__hidden{font-weight:700}.tb-chat-roll__hint{font-size:var(--tb-text-sm);color:var(--tb-color-text-muted);flex-basis:100%}.tb-chat-tree__expr,.tb-chat-tree__ref-path{font-family:var(--tb-font-mono);color:var(--tb-color-text-muted);margin-right:var(--tb-space-1)}.tb-chat-tree__sign{font-weight:600}.tb-chat-tree__pass{color:var(--tb-color-success);font-weight:600}.tb-chat-tree__fail{color:var(--tb-color-danger);font-weight:600}.tb-chat-dice{gap:var(--tb-space-1);vertical-align:middle;flex-wrap:wrap;display:inline-flex}.tb-chat-die{min-width:2em;height:2em;padding:0 var(--tb-space-1);border:1px solid var(--tb-color-border-strong);border-radius:var(--tb-radius-sm);background:var(--tb-color-surface);font-variant-numeric:tabular-nums;justify-content:center;align-items:center;font-weight:600;line-height:1;display:inline-flex;position:relative}.tb-chat-die--max{border-color:var(--tb-color-success);color:var(--tb-color-success)}.tb-chat-die--min{border-color:var(--tb-color-danger);color:var(--tb-color-danger)}.tb-chat-die--success{background:var(--tb-color-primary-soft);border-color:var(--tb-color-primary)}.tb-chat-die--miss{opacity:.75}.tb-chat-die--dropped,.tb-chat-die--rerolled{opacity:.5;color:var(--tb-color-text-muted);border-style:dashed;text-decoration:line-through}.tb-chat-die--exploded{border-width:2px}.tb-chat-die__mark{color:var(--tb-color-warning);font-size:.7em;text-decoration:none;position:absolute;top:-.6em;right:-.4em}.tb-chat-die--fate{min-width:2em;font-family:var(--tb-font-mono)}.tb-chat-input{border-top:1px solid var(--tb-color-border);padding:var(--tb-space-2);background:var(--tb-color-surface);position:relative}.tb-chat-input__row{align-items:flex-start;gap:var(--tb-space-1);display:flex}.tb-chat-input__field{flex:auto;min-width:0}.tb-chat-input__field .tb-textarea{resize:none;min-height:var(--tb-touch);max-height:10em;overflow-y:auto}.tb-chat-input__detail,.tb-chat-preview{color:var(--tb-color-text-muted)}.tb-chat-formula-error{gap:var(--tb-space-1);flex-direction:column;display:flex}.tb-chat-formula-error--soft{color:var(--tb-color-warning)}.tb-chat-formula-error__src{font-family:var(--tb-font-mono);white-space:pre-wrap;overflow-wrap:anywhere;color:var(--tb-color-text-muted)}.tb-chat-formula-error__src mark{background:var(--tb-color-danger);color:var(--tb-color-danger-text);border-radius:2px}.tb-chat-suggest,.tb-chat-help{left:var(--tb-space-2);right:var(--tb-space-2);margin:0 0 var(--tb-space-1);background:var(--tb-color-surface);border:1px solid var(--tb-color-border-strong);border-radius:var(--tb-radius-md);box-shadow:var(--tb-shadow-2);z-index:2;position:absolute;bottom:100%}.tb-chat-suggest{padding:var(--tb-space-1) 0;max-height:40vh;list-style:none;overflow-y:auto}.tb-chat-suggest__item{align-items:center;gap:var(--tb-space-2);min-height:var(--tb-touch);padding:0 var(--tb-space-3);cursor:pointer;display:flex}.tb-chat-suggest__item--active{background:var(--tb-color-primary-soft)}.tb-chat-suggest__hint{color:var(--tb-color-text-muted);font-size:var(--tb-text-sm)}.tb-chat-help{padding:var(--tb-space-2) var(--tb-space-3);max-height:60vh;font-size:var(--tb-text-sm);overflow-y:auto}.tb-chat-help__title{margin:var(--tb-space-2) 0 var(--tb-space-1);font-weight:600}.tb-chat-help__list{gap:var(--tb-space-1);margin:0;padding:0;list-style:none;display:grid}.tb-chat-help__list li{align-items:baseline;gap:0 var(--tb-space-2);flex-wrap:wrap;display:flex}.tb-chat-help__example{all:unset;font-family:var(--tb-font-mono);color:var(--tb-color-primary);cursor:pointer;align-items:center;min-height:32px;display:inline-flex}.tb-chat-help__example:focus-visible{box-shadow:var(--tb-focus-ring)}.tb-chat-help__desc,.tb-chat-help__keys{color:var(--tb-color-text-muted)}*,:before,:after{box-sizing:border-box}html,body{background:var(--tb-color-bg);min-height:100%;color:var(--tb-color-text);font-family:var(--tb-font-sans);line-height:var(--tb-leading);-webkit-text-size-adjust:100%;margin:0}#root{min-height:100dvh}a{color:var(--tb-color-primary)}a:focus-visible{box-shadow:var(--tb-focus-ring);border-radius:var(--tb-radius-sm);outline:none}.web-center{justify-content:center;align-items:center;gap:var(--tb-space-3);padding:var(--tb-space-6) var(--tb-space-4);text-align:center;flex-direction:column;display:flex}.web-state__title{font-size:var(--tb-text-xl);font-family:var(--tb-font-serif);margin:0}.web-state__text{color:var(--tb-color-text-muted);max-width:36rem;margin:0}.web-banner{padding:var(--tb-space-2) var(--tb-space-4);background:var(--tb-color-primary-soft);color:var(--tb-color-text);border-bottom:1px solid var(--tb-color-border);font-size:var(--tb-text-sm);text-align:center}.web-form{gap:var(--tb-space-4);flex-direction:column;display:flex}.web-form__or{text-align:center;color:var(--tb-color-text-muted);font-size:var(--tb-text-sm);margin:0}.web-form__error{color:var(--tb-color-danger);margin:0}.web-dev-hint{font-size:var(--tb-text-sm)}.web-auth{min-height:100dvh;padding:0 0 var(--tb-space-5);flex-direction:column;align-items:center;display:flex}.web-auth__card{width:100%;max-width:420px;padding:var(--tb-space-5) var(--tb-space-4);background:var(--tb-color-surface);border:1px solid var(--tb-color-border);border-radius:var(--tb-radius-lg);box-shadow:var(--tb-shadow-1);margin-top:8vh}.web-auth__brand{font-family:var(--tb-font-serif);color:var(--tb-color-primary);font-size:var(--tb-text-lg);margin:0}.web-auth__title{margin:var(--tb-space-1) 0 var(--tb-space-4);font-size:var(--tb-text-xl)}.web-auth__footer{gap:var(--tb-space-2);margin-top:var(--tb-space-5);font-size:var(--tb-text-sm);flex-direction:column;display:flex}.web-auth__footer a{min-height:var(--tb-touch);align-items:center;display:inline-flex}.web-auth__theme{margin-top:var(--tb-space-5)}.web-invite__lead{margin:0 0 var(--tb-space-4)}.web-invite__as{margin:var(--tb-space-3) 0 0;color:var(--tb-color-text-muted);font-size:var(--tb-text-sm)}@media (width<=480px){.web-auth__card{box-shadow:none;border-width:0 0 1px;border-radius:0;margin-top:0}}.web-header{z-index:10;align-items:center;gap:var(--tb-space-3);min-height:56px;padding:0 var(--tb-space-3) 0 var(--tb-space-4);background:var(--tb-color-surface);border-bottom:1px solid var(--tb-color-border);display:flex;position:sticky;top:0}.web-header__brand{font-family:var(--tb-font-serif);font-size:var(--tb-text-lg);color:var(--tb-color-primary);white-space:nowrap;text-decoration:none}.web-header__middle{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.web-page__main{max-width:720px;padding:var(--tb-space-4);margin:0 auto}.web-page__head{justify-content:space-between;align-items:center;gap:var(--tb-space-3);margin-bottom:var(--tb-space-4);display:flex}.web-page__title{font-size:var(--tb-text-xl);margin:0}.web-world{flex-direction:column;min-height:100dvh;display:flex}.web-world__title{font-weight:600}.web-world__bar{justify-content:space-between;align-items:center;gap:var(--tb-space-2);padding:var(--tb-space-1) var(--tb-space-3);background:var(--tb-color-surface-2);border-bottom:1px solid var(--tb-color-border);flex-wrap:wrap;display:flex}.web-world__modes{gap:var(--tb-space-1);display:flex}.web-world__mode{min-height:var(--tb-touch);padding:0 var(--tb-space-4);border-radius:var(--tb-radius-full);color:var(--tb-color-text);align-items:center;font-weight:500;text-decoration:none;display:inline-flex}.web-world__mode[aria-current=page]{background:var(--tb-color-primary);color:var(--tb-color-primary-text)}.web-world__body{flex:1;grid-template-columns:minmax(0,1fr);min-height:0;display:grid;position:relative}.web-world__main{min-width:0}.web-world__tools{align-items:center;gap:var(--tb-space-1);display:flex}@media (width<=480px){.web-world__bar{padding-inline:var(--tb-space-2)}.web-world__mode{padding:0 var(--tb-space-2)}.web-world__tools{gap:0}}.web-world__panel{z-index:2;background:var(--tb-color-surface);position:absolute;inset:0;overflow:auto}.web-world__panel[hidden]{display:none}.web-world__chat{flex-direction:column;display:flex;overflow:hidden}.web-world__chat>*{flex:1;min-height:0}.web-world:has(.web-world__body--wide){height:100dvh}.web-world__body--wide{grid-template-columns:280px minmax(0,1fr) 360px}.web-world__body--wide .web-world__panel{z-index:auto;min-height:0;position:static}.web-world__body--wide .web-world__docs{border-right:1px solid var(--tb-color-border)}.web-world__body--wide .web-world__chat{border-left:1px solid var(--tb-color-border)}.web-world__body--wide .web-world__main{overflow:auto}.web-world:has(.web-table){height:100dvh}.web-world__body:has(.web-table){grid-template-rows:minmax(0,1fr)}.web-world__main:has(>.web-table){flex-direction:column;min-height:0;display:flex;overflow:hidden}.web-world__body--wide.web-world__body--nodocs{grid-template-columns:minmax(0,1fr) 360px}.web-world__body--wide.web-world__body--nodocs.web-world__body--nochat{grid-template-columns:minmax(0,1fr)}.web-world__slot{display:contents}.web-sheet{max-width:720px;padding:var(--tb-space-4);gap:var(--tb-space-4);flex-direction:column;margin:0 auto;display:flex}.web-sheet__title{font-size:var(--tb-text-xl);font-family:var(--tb-font-serif);margin:0}.web-sheet__name input{font-size:var(--tb-text-xl);font-family:var(--tb-font-serif)}.web-sheet__meta,.web-sheet__empty,.web-sheet__placeholder{color:var(--tb-color-text-muted);margin:0}.web-sheet__placeholder{font-size:var(--tb-text-sm)}.web-sheet__back{min-height:var(--tb-touch);align-self:flex-start;align-items:center;display:inline-flex}
