@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial}}}@layer theme{:root,:host{--font-sans:"IBM Plex Sans", sans-serif;--font-serif:"Georgia", serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-slate-950:oklch(12.9% .042 264.695);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-900:oklch(21.6% .006 56.043);--color-stone-950:oklch(14.7% .004 49.25);--spacing:.25rem;--container-xl:36rem;--font-weight-bold:700;--leading-tight:1.25;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}input:where([type=text]),input:where(:not([type])),input:where([type=email]),input:where([type=url]),input:where([type=password]),input:where([type=number]),input:where([type=date]),input:where([type=datetime-local]),input:where([type=month]),input:where([type=search]),input:where([type=tel]),input:where([type=time]),input:where([type=week]),select:where([multiple]),textarea,select{appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-width:1px;border-color:#6a7282;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem}:is(input:where([type=text]),input:where(:not([type])),input:where([type=email]),input:where([type=url]),input:where([type=password]),input:where([type=number]),input:where([type=date]),input:where([type=datetime-local]),input:where([type=month]),input:where([type=search]),input:where([type=tel]),input:where([type=time]),input:where([type=week]),select:where([multiple]),textarea,select):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#155dfc;outline:2px solid #0000}input::placeholder,textarea::placeholder{color:#6a7282;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-date-and-time-value{text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-month-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-day-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-hour-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-minute-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-second-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-millisecond-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{-webkit-print-color-adjust:exact;print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='oklch(55.1%25 0.027 264.364)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}select:where([multiple]),select:where([size]:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;-webkit-print-color-adjust:unset;print-color-adjust:unset;padding-right:.75rem}input:where([type=checkbox]),input:where([type=radio]){appearance:none;-webkit-print-color-adjust:exact;print-color-adjust:exact;vertical-align:middle;-webkit-user-select:none;user-select:none;color:#155dfc;--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-width:1px;border-color:#6a7282;flex-shrink:0;width:1rem;height:1rem;padding:0;display:inline-block}input:where([type=checkbox]){border-radius:0}input:where([type=radio]){border-radius:100%}input:where([type=checkbox]):focus,input:where([type=radio]):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}input:where([type=checkbox]):checked,input:where([type=radio]):checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}input:where([type=checkbox]):checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media(forced-colors:active){input:where([type=checkbox]):checked{appearance:auto}}input:where([type=radio]):checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media(forced-colors:active){input:where([type=radio]):checked{appearance:auto}}input:where([type=checkbox]):checked:hover,input:where([type=checkbox]):checked:focus,input:where([type=radio]):checked:hover,input:where([type=radio]):checked:focus{background-color:currentColor;border-color:#0000}input:where([type=checkbox]):indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}@media(forced-colors:active){input:where([type=checkbox]):indeterminate{appearance:auto}}input:where([type=checkbox]):indeterminate:hover,input:where([type=checkbox]):indeterminate:focus{background-color:currentColor;border-color:#0000}input:where([type=file]){background:unset;border-color:inherit;font-size:unset;line-height:inherit;border-width:0;border-radius:0;padding:0}input:where([type=file]):focus{outline:1px solid buttontext;outline:1px auto -webkit-focus-ring-color}}@layer components{.tt-demo-page{background:#101418;min-height:100dvh;padding:0}.tt-surface{background:#ffffffeb;border:1px solid #11182724;border-radius:8px;box-shadow:0 20px 55px #0f172a1a}.tt-surface-subtle{background:#ffffffb8;border:1px solid #1118271a;border-radius:8px}.tt-stage-surface{background:#1f2933;border-radius:8px;overflow:hidden}.tt-label{font-family:var(--font-sans);letter-spacing:0;text-transform:uppercase;color:#475569;font-size:.68rem;font-weight:700}.tt-label-on-dark{color:#cbd5e1c7}.tt-pill{letter-spacing:0;color:#334155;background:#ffffffc7;border-radius:999px;align-items:center;padding:.36rem .65rem;font-size:.76rem;font-weight:700;display:inline-flex}.tt-pill-info{color:#155e75;background:#0e74901f}.tt-pill-danger{color:#7f1d1d;background:#b91c1c1f}.tt-link-pill{letter-spacing:0;text-transform:uppercase;color:#334155;background:#ffffffc7;border-radius:999px;align-items:center;width:fit-content;padding:.65rem 1rem;font-size:.82rem;font-weight:700;text-decoration:none;transition:background-color .14s,transform .14s;display:inline-flex}.tt-link-pill:hover{background:#fffffff0;transform:translateY(-1px)}.tt-link-pill-primary{color:#f8fafc;background:#163241}.tt-button{text-align:center;letter-spacing:0;color:#0f172a;background:#0f172a14;border-radius:8px;justify-content:center;align-items:center;min-height:2.5rem;padding:.6rem .85rem;font-size:.84rem;font-weight:700;transition:background-color .14s,color .14s,transform .14s;display:inline-flex}.tt-button:hover:not(:disabled){background:#0f172a24;transform:translateY(-1px)}.tt-button:disabled{cursor:not-allowed;opacity:.58}.tt-button-active{color:#f8fafc;background:#163241}.tt-button-danger,.tt-button-disconnect{color:#7f1d1d;background:#b91c1c1f}.tt-input{color:#0f172a;background:#ffffffe6;border:1px solid #94a3b87a;border-radius:8px;outline:none;width:100%;padding:.72rem .85rem;font-size:.9rem;font-weight:650;line-height:1.2;transition:border-color .14s,box-shadow .14s;display:block}.tt-input::placeholder{color:#64748b}.tt-input:focus{border-color:#1f6f8b;box-shadow:0 0 0 4px #1f6f8b29}.tt-input:disabled{cursor:not-allowed;opacity:.6}.tt-note{color:#475569;margin:0;font-size:.92rem;line-height:1.5}.tt-note-on-dark{color:#e2e8f0cc}.tt-error{color:#f87171;margin:0;font-size:.9rem;line-height:1.45}.tt-kbd{color:#0f172a;background:#0f172a14;border-radius:6px;padding:.12rem .35rem;font-size:.8rem;font-weight:700}.tt-game-shell{--tt-top-bar-height:3.25rem;--tt-bottom-bar-height:2.45rem;--tt-tool-drawer-width:5.55rem;color:#f8fafc;background:#111820;height:100dvh;min-height:38rem;position:relative;overflow:hidden}.tt-stage-layer{top:var(--tt-top-bar-height);right:0;bottom:var(--tt-bottom-bar-height);left:var(--tt-tool-drawer-width);background:#111820;position:absolute}.tt-game-stage{position:absolute;inset:0}.tt-game-stage canvas{touch-action:none}.tt-loading-panel{z-index:8;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f172ad6;border:1px solid #e2e8f029;border-radius:8px;gap:.55rem;width:min(26rem,100vw - 2rem);padding:1rem;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 20px 55px #00000047}.tt-loading-panel h2{font-family:var(--font-sans);color:#f8fafc;margin:0;font-size:1.12rem;font-weight:800;line-height:1.1}.tt-loading-panel p{color:#e2e8f0c7;margin:0}.tt-loading-error{border-color:#f8717157}.tt-top-bar{z-index:12;height:var(--tt-top-bar-height);color:#2c2924;background:#fbfaf7;border-bottom:1px solid #332d241f;grid-template-columns:minmax(15rem,1fr) minmax(20rem,27rem) minmax(12.5rem,1fr);align-items:center;gap:.75rem;padding:0 .9rem;display:grid;position:absolute;top:0;left:0;right:0;box-shadow:0 1px 2px #11182714}.tt-top-brand{align-items:center;gap:.85rem;min-width:0;display:flex}.tt-top-brand h1{font-family:var(--font-sans);color:#1e1b16;text-transform:lowercase;flex:none;margin:0;font-size:.86rem;font-weight:800;line-height:1}.tt-top-brand h1:after{vertical-align:-.2rem;content:"";background:#6e655847;width:1px;height:1.05rem;margin-left:.85rem;display:inline-block}.tt-top-context{color:#817a70;align-items:center;gap:.42rem;min-width:0;font-size:.74rem;line-height:1;display:flex}.tt-top-context strong{text-overflow:ellipsis;white-space:nowrap;color:#3b352d;font-size:.88rem;font-weight:700;overflow:hidden}.tt-top-context span{white-space:nowrap;flex:none;align-items:center;gap:.42rem;font-weight:650;display:inline-flex}.tt-top-context span:before{color:#a69f93;content:"·"}.tt-command-trigger{text-align:center;color:#716a60;background:#ffffffe0;border:1px solid #78706247;border-radius:999px;justify-content:center;justify-self:center;align-items:center;gap:.45rem;width:min(100%,26.75rem);min-width:0;height:2.08rem;padding:0 .9rem;display:flex;box-shadow:0 1px 2px #11182712,inset 0 1px #ffffffe6}.tt-command-trigger span{color:#80776c;flex:none;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:.74rem;font-weight:760}.tt-command-trigger strong,.tt-command-trigger small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tt-command-trigger strong{color:#6f675d;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:.74rem;font-weight:700}.tt-command-trigger small{color:#b0a89b;flex:none}.tt-top-meta{justify-content:flex-end;align-items:center;gap:.5rem;min-width:0;display:flex}.tt-view-switch{background:#ffffffad;border:1px solid #7870623d;border-radius:999px;flex:none;align-items:center;gap:.14rem;padding:.16rem;display:inline-flex}.tt-view-switch button{color:#746d63;border-radius:999px;min-width:2.2rem;min-height:1.68rem;padding:0 .52rem;font-size:.72rem;font-weight:800}.tt-view-switch button[aria-pressed=true]{color:#fbfaf7;background:#2f343e}.tt-view-switch button:disabled{cursor:not-allowed;opacity:.55}.tt-connection-status{text-overflow:ellipsis;white-space:nowrap;color:#5f594f;background:#ffffffbd;border:1px solid #7870623d;border-radius:999px;align-items:center;gap:.4rem;max-width:11rem;min-height:2.08rem;padding:0 .72rem;font-size:.76rem;font-weight:750;display:inline-flex;overflow:hidden}.tt-connection-status i{background:#4f7f36;border-radius:999px;width:.45rem;height:.45rem;display:block}.tt-tool-drawer{top:var(--tt-top-bar-height);bottom:var(--tt-bottom-bar-height);z-index:11;width:var(--tt-tool-drawer-width);scrollbar-width:thin;background:#fbfaf7;border-right:1px solid #332d241f;padding:.65rem .5rem;display:flex;position:absolute;left:0;overflow:auto;box-shadow:1px 0 2px #11182714}.tt-tool-rail{align-content:start;gap:.35rem;width:100%;display:grid}.tt-tool-rail button{color:#61594f;background:#2f343e0f;border:1px solid #78706229;border-radius:8px;place-items:center;gap:.12rem;min-height:3.25rem;padding:.35rem;transition:background-color .14s,border-color .14s,color .14s,transform .14s;display:grid}.tt-tool-rail button:hover:not(:disabled){background:#1f6f8b1f;border-color:#1f6f8b52;transform:translateY(-1px)}.tt-tool-rail button:disabled{cursor:not-allowed;opacity:.45}.tt-tool-rail button span{background:#2f343e1a;border-radius:8px;place-items:center;width:1.55rem;height:1.55rem;font-size:.82rem;font-weight:850;display:grid}.tt-tool-rail button small{font-size:.62rem;font-weight:750;line-height:1}.tt-tool-rail button.tt-tool-active{color:#f8fafc;background:#163241;border-color:#163241b8}.tt-tool-rail button.tt-tool-active span{background:#ffffff24}.tt-tool-divider{background:#7870623d;height:1px;margin:.2rem 0}.tt-view-controls{top:calc(var(--tt-top-bar-height) + .75rem);z-index:9;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f172ac2;border:1px solid #e2e8f024;border-radius:8px;gap:.35rem;padding:.35rem;display:flex;position:absolute;right:.75rem;box-shadow:0 16px 42px #0003}.tt-view-controls button,.tt-inspector-actions button,.tt-inspector header button,.tt-command-palette header button{color:#f8fafc;background:#ffffff1a;border-radius:8px;padding:.5rem .65rem;font-size:.78rem;font-weight:800}.tt-view-controls button:disabled,.tt-inspector-actions button:disabled{cursor:not-allowed;opacity:.5}.tt-inspector-actions button.tt-button-active{color:#111827;background:#f1c36a;box-shadow:inset 0 0 0 1px #ffffff57,0 0 0 2px #f1c36a3d}.tt-inspector{top:calc(var(--tt-top-bar-height) + 3.75rem);z-index:9;width:min(22rem,100vw - 7rem);max-height:calc(100dvh - var(--tt-top-bar-height) - 7rem);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f172acc;border:1px solid #e2e8f024;border-radius:8px;gap:.75rem;padding:.75rem;display:grid;position:absolute;right:.75rem;overflow:auto;box-shadow:0 18px 48px #0000003d}.tt-inspector header,.tt-command-palette header{justify-content:space-between;align-items:start;gap:.75rem;display:flex}.tt-inspector h2,.tt-command-palette h2{font-family:var(--font-sans);color:#f8fafc;margin:.12rem 0 0;font-size:1.02rem;font-weight:850;line-height:1.12}.tt-inspector p{color:#e2e8f0c2;margin:0;font-size:.86rem;line-height:1.45}.tt-inspector dl{gap:.4rem;margin:0;display:grid}.tt-inspector dl div{background:#ffffff14;border-radius:8px;grid-template-columns:minmax(6rem,.42fr) minmax(0,1fr);gap:.5rem;padding:.45rem .55rem;display:grid}.tt-inspector dt{color:#cbd5e1b8;font-size:.72rem;font-weight:800}.tt-inspector dd{overflow-wrap:anywhere;color:#f8fafc;margin:0;font-size:.82rem;font-weight:750}.tt-inspector-actions{flex-wrap:wrap;gap:.45rem;display:flex}.tt-status-gutter{z-index:12;min-height:var(--tt-bottom-bar-height);scrollbar-width:thin;background:#fbfaf7;border-top:1px solid #332d241f;justify-content:space-between;align-items:center;gap:1rem;padding:0 1.35rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;display:flex;position:absolute;bottom:0;left:0;right:0;overflow:auto hidden;box-shadow:0 -1px 2px #11182714}.tt-status-gutter-main,.tt-status-gutter-hints{white-space:nowrap;color:#746d63;flex:none;align-items:center;gap:1.25rem;min-width:0;font-size:.76rem;font-weight:700;display:inline-flex}.tt-status-gutter-main{overflow:hidden}.tt-status-gutter-hints{color:#8c857a;margin-left:auto}.tt-status-gutter-main>span,.tt-status-gutter-hints>span{align-items:center;gap:.35rem;min-width:0;display:inline-flex}.tt-status-gutter-main span{text-overflow:ellipsis;max-width:18rem;overflow:hidden}.tt-status-gutter strong{color:#7d7569;flex:none;font-weight:760}.tt-status-hint{flex:none}.tt-status-hint-icon{opacity:.9;border:1.7px solid;border-radius:.34rem .34rem .4rem .4rem;flex:none;width:.72rem;height:1.05rem;display:inline-flex;position:relative}.tt-status-hint-icon-left-click:before{content:"";background:currentColor;border-radius:.16rem 0 .04rem .08rem;width:calc(50% - .06rem);height:.3rem;position:absolute;top:.15rem;left:.06rem}.tt-status-hint-icon-right-click:before{content:"";background:currentColor;border-radius:0 .16rem .08rem .04rem;width:calc(50% - .06rem);height:.3rem;position:absolute;top:.15rem;right:.06rem}.tt-status-hint-icon-scroll-wheel:before{content:"";background:currentColor;border-radius:999px;width:2px;height:.4rem;margin-left:-1px;position:absolute;top:.15rem;left:50%}.tt-command-backdrop{z-index:20;background:#02061757;position:absolute;inset:0}.tt-command-palette{top:calc(var(--tt-top-bar-height) + .75rem);z-index:21;width:min(46rem,100vw - 2rem);max-height:calc(100dvh - var(--tt-top-bar-height) - 1.5rem);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0f172aeb;border:1px solid #e2e8f029;border-radius:8px;gap:.8rem;padding:.85rem;display:grid;position:absolute;left:50%;overflow:auto;transform:translate(-50%);box-shadow:0 24px 70px #0000005c}.tt-command-palette label,.tt-shell-form label{gap:.3rem;display:grid}.tt-command-list{grid-template-columns:repeat(auto-fit,minmax(12.5rem,1fr));gap:.45rem;display:grid}.tt-command-list button{text-align:left;color:#f8fafc;background:#ffffff14;border-radius:8px;gap:.16rem;min-height:4.1rem;padding:.58rem .65rem;display:grid}.tt-command-list button:hover:not(:disabled){background:#0ea5e933}.tt-command-list button:disabled{cursor:not-allowed;opacity:.45}.tt-command-list span{color:#7dd3fc;font-size:.68rem;font-weight:800}.tt-command-list strong{font-size:.88rem}.tt-command-list small{color:#e2e8f0ad}.tt-command-danger,.tt-button-danger,.tt-inspector-actions .tt-button-danger{color:#fee2e2!important;background:#b91c1c57!important}.tt-command-sections{gap:.5rem;display:grid}.tt-command-sections details{background:#ffffff0f;border:1px solid #e2e8f01f;border-radius:8px;padding:.55rem}.tt-command-sections summary{cursor:pointer;color:#f8fafc;font-size:.86rem;font-weight:850}.tt-shell-form{gap:.75rem;padding-top:.6rem;display:grid}.tt-form-grid{grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));align-items:end;gap:.55rem;display:grid}.tt-button-grid{flex-wrap:wrap;gap:.45rem;display:flex}.tt-dice-bucket{right:.75rem;bottom:calc(var(--tt-bottom-bar-height) + .75rem);z-index:14;justify-items:end;gap:.45rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;display:grid;position:absolute}.tt-dice-toggle{color:#fff4db;background:#4d3717;border:1px solid #f5e6bd38;border-radius:8px;padding:.62rem .85rem;font-size:.82rem;font-weight:850;box-shadow:0 14px 34px #00000038}.tt-dice-panel{width:min(35.5rem,100vw - 1.5rem);max-height:calc(100dvh - var(--tt-top-bar-height) - var(--tt-bottom-bar-height) - 1.5rem);color:#2c2012;scrollbar-width:thin;background:linear-gradient(135deg,#fffaecc7,#e6ce9147),#eadcae;border:1px solid #9b7a3c;border-radius:18px;gap:.75rem;padding:1.25rem 1.25rem 1.1rem;display:grid;overflow:auto;box-shadow:inset 0 1px #ffffffa8,0 22px 54px #1e170b3d}.tt-dice-header{justify-content:space-between;align-items:start;gap:1rem;display:flex}.tt-dice-header>div:first-child{min-width:0}.tt-dice-header h2{font-family:var(--font-serif);color:#22180d;margin:0;font-size:clamp(1.45rem,3vw,1.75rem);font-weight:700;line-height:1.05}.tt-dice-header p{color:#4c3820;margin:.28rem 0 0;font-size:.84rem;line-height:1.2}.tt-dice-window-actions{flex:none;gap:.4rem;display:flex}.tt-dice-window-actions button{color:#5c411d;background:#faf1d8b8;border:1px solid #a7813b;border-radius:5px;place-items:center;width:1.8rem;height:1.8rem;font-size:1rem;font-weight:800;line-height:1;display:grid}.tt-dice-footer-actions{justify-content:flex-end}.tt-dice-pool-controls{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(6.8rem,1.2fr);gap:.62rem;display:grid}.tt-dice-field{text-align:center;background:#fffaf0bd;border:1px solid #ba9657;border-radius:5px;min-width:0;padding:.45rem .5rem .48rem;display:grid;box-shadow:inset 0 1px #ffffffb3}.tt-dice-field span{color:#986f2c;font-size:.72rem;line-height:1}.tt-dice-field input{text-align:center;color:#24180c;background:0 0;border:0;outline:none;width:100%;padding:.1rem 0 0;font-size:1.18rem;font-weight:850;line-height:1.1}.tt-dice-field input:focus{box-shadow:none}.tt-dice-field input:disabled{cursor:not-allowed;color:#6d6251;opacity:.68}.tt-dice-roll-button{color:#fff3d4;background:#473316;border-radius:5px;padding:.65rem .8rem;font-size:1rem;font-weight:850;box-shadow:inset 0 1px #ffffff14,0 2px #402b0f2e}.tt-dice-felt{background:radial-gradient(circle at 30% 16%,#ffffff0f,#0000 15rem),linear-gradient(145deg,#385b2d,#203f23 62%,#1d371f);border-radius:8px;min-height:23rem;padding:1.15rem;position:relative;overflow:hidden;box-shadow:inset 0 18px 28px #0000002e,inset 0 -22px 28px #0000002e}.tt-dice-cubes{flex-wrap:wrap;align-content:start;gap:.85rem .7rem;max-width:32rem;display:flex}.tt-dice-cube{color:#2b2115;background:#f6f0df;border:1px solid #362b1b2e;border-radius:6px;place-items:center;width:3.05rem;height:3.05rem;transition:transform .14s,box-shadow .14s,border-color .14s;display:grid;position:relative;box-shadow:inset 0 1px #ffffffbd,0 2px 3px #0f172a4d}.tt-dice-cube:hover:not(:disabled){transform:translateY(-1px);box-shadow:inset 0 1px #ffffffbd,0 5px 10px #0f172a4d}.tt-dice-cube span{font-size:1.32rem;font-weight:900;line-height:1}.tt-dice-cube small{color:#8b432a;background:#fff7e6;border:1px solid #362b1b3d;border-radius:4px;place-items:center;width:1.24rem;height:1.24rem;font-size:.64rem;font-weight:900;line-height:1;display:grid;position:absolute;bottom:-.42rem;right:-.42rem;box-shadow:inset 0 1px #fffc,0 2px 5px #2f1e1147}.tt-dice-cube small:before{content:"";border:1px solid #8b432a29;border-radius:2px;position:absolute;inset:.16rem}.tt-dice-cube-pass{border-color:#335e2d2e}.tt-dice-cube-fail{color:#746a55;background:#c8c0a9}.tt-dice-cube-rerollable{color:#7d5431;border-color:#cc6744;box-shadow:inset 0 0 0 2px #cc6744bd,0 2px 3px #0f172a4d}.tt-dice-cube-lethal{background:#f4e0aa;box-shadow:inset 0 0 0 2px #ffffff7a,0 0 0 2px #9d722961,0 2px 4px #0f172a47}.tt-dice-cube:disabled,.tt-dice-mods button:disabled,.tt-dice-phase-chain button:disabled,.tt-dice-new-pool-button:disabled,.tt-dice-roll-button:disabled{cursor:not-allowed;opacity:.58}.tt-dice-empty{color:#fff4dbc7;place-items:center;height:100%;min-height:20rem;margin:0;font-size:.96rem;font-weight:850;display:grid}.tt-dice-tally{color:#fff9ea;background:#203f23db;border-radius:5px;padding:.18rem .34rem;font-size:1.18rem;font-weight:900;line-height:1.1;position:absolute;bottom:.7rem;right:.8rem}.tt-dice-mods{flex-wrap:wrap;gap:.42rem;display:flex}.tt-dice-mods button{color:#6d5022;background:#f8eed1b8;border:1px solid #b79555;border-radius:999px;padding:.38rem .72rem;font-size:.82rem;font-weight:760;line-height:1}.tt-dice-mods button.tt-dice-reroll-action{color:#543915;background:#f5e6c1;border-color:#9d7a38;border-radius:5px;padding:.46rem .78rem;font-weight:850;box-shadow:inset 0 1px #ffffff80,0 2px #5d41172e}.tt-dice-mods button.tt-dice-reroll-action.tt-dice-reroll-active{color:#fff3d4;background:#5b3b18;border-color:#cc6744;box-shadow:inset 0 0 0 1px #ffffff1f,0 0 0 2px #cc674447}.tt-dice-mods button.tt-dice-chip-active{color:#fff3d4;background:#4b3516;border-color:#4b3516}.tt-dice-phase-chain{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.35rem;display:grid}.tt-dice-phase-chain button{color:#6b5128;background:#f8eed1b3;border:1px solid #b99757;border-radius:5px;justify-content:space-between;align-items:center;gap:.45rem;min-width:0;min-height:2.3rem;padding:.42rem .55rem;display:flex}.tt-dice-phase-chain button span{text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:780;overflow:hidden}.tt-dice-phase-chain button strong{color:#3e2c15;flex:none;font-size:.92rem;font-weight:900}.tt-dice-phase-chain button.tt-dice-phase-active{color:#fff2d1;background:#4c3718;border-color:#4c3718}.tt-dice-phase-chain button.tt-dice-phase-active strong{color:#fff2d1}.tt-dice-phase-arrow{color:#a58345;font-size:.72rem;font-weight:850}.tt-dice-history{justify-content:flex-end;align-items:start;gap:.45rem;min-height:2rem;display:flex;position:relative}.tt-dice-new-pool-button{color:#543915;background:#f5e6c1;border:1px solid #9d7a38;border-radius:5px;min-height:2rem;padding:0 .72rem;font-size:.78rem;font-weight:850;box-shadow:inset 0 1px #ffffff85,0 2px #5d41172e}.tt-dice-history-trigger{color:#543915;background:#f5e6c1;border:1px solid #9d7a38;border-radius:5px;place-items:center;width:2rem;height:2rem;display:grid;box-shadow:inset 0 1px #ffffff85,0 2px #5d41172e}.tt-dice-history-trigger[aria-expanded=true]{color:#fff3d4;background:#4b3516;border-color:#4b3516}.tt-dice-history-icon{border-top:2px solid;border-bottom:2px solid;width:1rem;height:.72rem;display:block;position:relative}.tt-dice-history-icon:before{content:"";background:currentColor;width:100%;height:2px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.tt-dice-log{background:#fff9e88f;border:1px solid #bf9d5d;border-radius:5px;gap:.32rem;margin:0;padding:.55rem .6rem;list-style:none;display:grid}.tt-dice-log-popover{--tt-dice-log-four-entry-height:23.1rem;z-index:3;width:min(31rem,100vw - 3rem);max-height:min(var(--tt-dice-log-four-entry-height),calc(100vh - 10rem));overscroll-behavior:contain;scrollbar-gutter:stable;background:#fff5d8;position:absolute;top:calc(100% + .45rem);right:0;overflow-y:auto;box-shadow:0 14px 34px #2d1f0d33}.tt-dice-log li{min-width:0}.tt-dice-log li button{text-align:left;border-radius:4px;grid-template-columns:3rem minmax(0,1fr) auto;align-items:center;gap:.65rem;width:100%;min-width:0;padding:.34rem .4rem;font-size:.82rem;line-height:1.25;display:grid}.tt-dice-log li button:hover,.tt-dice-log li.tt-dice-log-selected button{background:#cc67441f}.tt-dice-log time{color:#a57a34}.tt-dice-log-pools{color:#352613;gap:.15rem;display:grid;overflow:hidden}.tt-dice-log-pools>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tt-dice-log-pools strong{color:#9d6c24;margin-right:.35rem}.tt-dice-log li button>strong{color:#2b1d0e;font-weight:900}}@layer utilities{.static{position:static}.start{inset-inline-start:var(--spacing)}.col-span-full{grid-column:1/-1}.m-0{margin:calc(var(--spacing) * 0)}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.min-h-dvh{min-height:100dvh}.w-full{width:100%}.max-w-\[52rem\]{max-width:52rem}.max-w-xl{max-width:var(--container-xl)}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.self-start{align-self:flex-start}.bg-slate-950{background-color:var(--color-slate-950)}.p-4{padding:calc(var(--spacing) * 4)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.font-sans{font-family:var(--font-sans)}.font-serif{font-family:var(--font-serif)}.text-\[0\.72rem\]{font-size:.72rem}.text-\[0\.98rem\]{font-size:.98rem}.text-\[1\.1rem\]{font-size:1.1rem}.text-\[1\.7rem\]{font-size:1.7rem}.text-\[clamp\(1\.9rem\,4vw\,2\.8rem\)\]{font-size:clamp(1.9rem,4vw,2.8rem)}.text-\[clamp\(2rem\,4vw\,3rem\)\]{font-size:clamp(2rem,4vw,3rem)}.leading-\[0\.96\]{--tw-leading:.96;line-height:.96}.leading-\[0\.98\]{--tw-leading:.98;line-height:.98}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.tracking-\[0\.16em\]{--tw-tracking:.16em;letter-spacing:.16em}.tracking-\[0\.18em\]{--tw-tracking:.18em;letter-spacing:.18em}.text-stone-500{color:var(--color-stone-500)}.text-stone-900{color:var(--color-stone-900)}.text-stone-950{color:var(--color-stone-950)}.capitalize{text-transform:capitalize}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}@media(min-width:981px){.min-\[981px\]\:self-center{align-self:center}}@media(min-width:40rem){.sm\:px-5{padding-inline:calc(var(--spacing) * 5)}.sm\:px-\[1\.15rem\]{padding-inline:1.15rem}.sm\:py-4{padding-block:calc(var(--spacing) * 4)}}@media(min-width:64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:px-8{padding-inline:calc(var(--spacing) * 8)}}}:global(.tinytable-measurement-label){z-index:3}@media(max-width:900px){.tt-game-shell{--tt-top-bar-height:3.4rem;--tt-bottom-bar-height:2.7rem;--tt-tool-drawer-width:5.1rem;min-height:42rem}.tt-top-bar{grid-template-columns:minmax(9rem,1fr) minmax(13rem,1.35fr) minmax(9rem,auto);gap:.5rem;padding:0 .65rem}.tt-top-context span:last-child{display:none}.tt-top-meta{justify-content:flex-end}.tt-view-controls{top:calc(var(--tt-top-bar-height) + .75rem)}.tt-inspector{top:auto;right:.75rem;bottom:calc(var(--tt-bottom-bar-height) + .75rem);left:calc(var(--tt-tool-drawer-width) + .75rem);width:auto;max-height:38dvh}.tt-status-gutter{padding:0 .8rem}.tt-status-gutter-main,.tt-status-gutter-hints{gap:.85rem}.tt-dice-panel{width:min(33rem,100vw - 1.5rem)}.tt-command-palette{top:calc(var(--tt-top-bar-height) + .75rem);max-height:calc(100dvh - var(--tt-top-bar-height) - 1.5rem)}}@media(max-width:620px){.tt-game-shell{--tt-top-bar-height:3.75rem;--tt-bottom-bar-height:3rem;--tt-tool-drawer-width:4.75rem}.tt-top-bar{grid-template-columns:auto minmax(8rem,1fr) auto}.tt-top-brand{gap:.5rem}.tt-top-brand h1:after{margin-left:.5rem}.tt-top-context span,.tt-connection-status{display:none}.tt-command-trigger{justify-content:flex-start;padding:0 .7rem}.tt-tool-rail button{min-height:3rem;padding:.28rem}.tt-tool-divider{margin:.12rem 0}.tt-view-controls{top:auto;right:.75rem;bottom:calc(var(--tt-bottom-bar-height) + 4rem)}.tt-inspector{right:.75rem;left:calc(var(--tt-tool-drawer-width) + .75rem)}.tt-status-gutter-main{gap:.75rem}.tt-status-gutter-hints{display:none}.tt-inspector dl div{grid-template-columns:1fr}.tt-dice-bucket{justify-items:end;left:.5rem;right:.5rem}.tt-dice-panel{width:calc(100vw - 1rem);max-height:calc(100dvh - var(--tt-top-bar-height) - var(--tt-bottom-bar-height) - 1rem);border-radius:14px;padding:.9rem}.tt-dice-pool-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.tt-dice-roll-button{grid-column:1/-1;min-height:2.85rem}.tt-dice-felt{min-height:17rem;padding:.85rem}.tt-dice-cubes{gap:.62rem}.tt-dice-cube{width:2.55rem;height:2.55rem}.tt-dice-phase-chain{grid-template-columns:minmax(0,1fr)}.tt-dice-phase-arrow{display:none}.tt-dice-log li button{grid-template-columns:2.7rem minmax(0,1fr)}.tt-dice-log-popover{--tt-dice-log-four-entry-height:29.8rem}.tt-dice-log li button>strong{grid-column:2}}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}
