@textadventures/quest-viva-wasmplayer 6.0.0-beta.54 → 6.0.0-beta.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,7 +1,7 @@
1
1
  export const config = /*json-start*/{
2
2
  "mainAssemblyName": "WasmPlayer.dll",
3
3
  "resources": {
4
- "hash": "sha256-5cq5g7MZKJ1JEm8jAxN1rd/Uv5u9y74voP1ybmoknOE=",
4
+ "hash": "sha256-vZ/6m4NdLMiWVV/MDBK2FRjogo2/81fmvBt2NAoiiwk=",
5
5
  "jsModuleNative": [
6
6
  {
7
7
  "name": "dotnet.native.js"
@@ -939,27 +939,27 @@ export const config = /*json-start*/{
939
939
  {
940
940
  "virtualPath": "Common.wasm",
941
941
  "name": "Common.wasm",
942
- "hash": "sha256-bj8O3TJgh8ziYWGJ18JuDFIIf47Ibi37q9OhyudqaAk="
942
+ "hash": "sha256-uv3VGCLAmWL542ARLbnNOfgKSNHhOUC2MW+TM055dXY="
943
943
  },
944
944
  {
945
945
  "virtualPath": "Engine.wasm",
946
946
  "name": "Engine.wasm",
947
- "hash": "sha256-rlAN07CKbCPu2io3tiPyklX2jsQm9OIswjquANPI8Po="
947
+ "hash": "sha256-ohKo6LANnxSe1ykh4/od6VVbK/wtq2guLHGo8wkGNpA="
948
948
  },
949
949
  {
950
950
  "virtualPath": "Legacy.wasm",
951
951
  "name": "Legacy.wasm",
952
- "hash": "sha256-7rkk+x0+0B7tX1iLFNlDouuOlJB9+duKsMs/p+SlKDI="
952
+ "hash": "sha256-Iw+P4x6ARzRfWR65XSHOHgXyKnfURNTJnutbCNJ88Q8="
953
953
  },
954
954
  {
955
955
  "virtualPath": "PlayerCore.wasm",
956
956
  "name": "PlayerCore.wasm",
957
- "hash": "sha256-zZUzZiAVmrSjQw/RMNtUSMsuglZzn7JIJjHoGMfLqpE="
957
+ "hash": "sha256-6BzN0kugEQ49mMhjStGBnj+rADGKcZeTQ4+4pCe6t7s="
958
958
  },
959
959
  {
960
960
  "virtualPath": "WasmPlayer.wasm",
961
961
  "name": "WasmPlayer.wasm",
962
- "hash": "sha256-c4kt0ud9LiOx/55yoSnCmgfmmGaBlxkYLNF5d+Bh/7c="
962
+ "hash": "sha256-ZUXZjmfHKleVlRKxNExuHnVc835fJMtRigI4C7xS1eA="
963
963
  }
964
964
  ],
965
965
  "assembly": []
package/chrome.css CHANGED
@@ -18,5 +18,5 @@
18
18
  @property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
19
19
  @scope (.qv-chrome) {
20
20
  /*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */
21
- @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-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:scope, :host {--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--container-md:28rem;--text-xs:calc(.75rem * var(--text-scaling));--text-xs--line-height:calc(calc(1 / .75) * var(--text-scaling));--text-sm:calc(.875rem * var(--text-scaling));--text-sm--line-height:calc(calc(1.25 / .875) * var(--text-scaling));--text-base:calc(1rem * var(--text-scaling));--text-base--line-height:calc(calc(1.5 / 1) * var(--text-scaling));--text-2xl:calc(1.5rem * var(--text-scaling));--text-2xl--line-height:calc(calc(2 / 1.5) * var(--text-scaling));--text-3xl:calc(1.875rem * var(--text-scaling));--text-3xl--line-height:calc(calc(2.25 / 1.875) * var(--text-scaling));--text-4xl:calc(2.25rem * var(--text-scaling));--text-4xl--line-height:calc(calc(2.5 / 2.25) * var(--text-scaling));--font-weight-medium:500;--font-weight-semibold:600;--tracking-wide:.025em;--shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--text-scaling:1;--base-font-color:inherit;--base-font-color-dark:inherit;--base-font-family:inherit;--base-font-size:inherit;--base-line-height:inherit;--base-font-weight:inherit;--base-font-style:inherit;--base-letter-spacing:inherit;--heading-font-color:inherit;--heading-font-color-dark:inherit;--heading-font-family:inherit;--heading-font-weight:inherit;--heading-font-style:inherit;--heading-letter-spacing:inherit;--anchor-font-color:inherit;--anchor-font-color-dark:inherit;--anchor-font-family:inherit;--anchor-font-size:inherit;--anchor-line-height:inherit;--anchor-font-weight:inherit;--anchor-font-style:inherit;--anchor-letter-spacing:inherit;--anchor-text-decoration:inherit;--anchor-text-decoration-hover:underline;--anchor-text-decoration-active:inherit;--anchor-text-decoration-focus:inherit;--radius-base:.25rem;--radius-container:.25rem;--default-ring-width:1px;--color-primary-50:oklch(98.5% 0 0);--color-primary-100:oklch(97% 0 0);--color-primary-500:oklch(55.6% 0 0);--color-primary-600:oklch(43.9% 0 0);--color-primary-900:oklch(20.5% 0 0);--color-primary-950:oklch(14.5% 0 0);--color-primary-contrast-dark:var(--color-primary-950);--color-primary-contrast-light:var(--color-primary-50);--color-primary-contrast-50:var(--color-primary-contrast-dark);--color-primary-contrast-500:var(--color-primary-contrast-light);--color-primary-contrast-950:var(--color-primary-contrast-light);--color-secondary-50:oklch(98.5% 0 0);--color-secondary-950:oklch(14.5% 0 0);--color-secondary-contrast-dark:var(--color-secondary-950);--color-secondary-contrast-light:var(--color-secondary-50);--color-tertiary-50:oklch(98.5% 0 0);--color-tertiary-950:oklch(14.5% 0 0);--color-tertiary-contrast-dark:var(--color-tertiary-950);--color-tertiary-contrast-light:var(--color-tertiary-50);--color-success-50:oklch(98.5% 0 0);--color-success-950:oklch(14.5% 0 0);--color-success-contrast-dark:var(--color-success-950);--color-success-contrast-light:var(--color-success-50);--color-warning-50:oklch(98.5% 0 0);--color-warning-950:oklch(14.5% 0 0);--color-warning-contrast-dark:var(--color-warning-950);--color-warning-contrast-light:var(--color-warning-50);--color-error-50:oklch(98.5% 0 0);--color-error-500:oklch(55.6% 0 0);--color-error-950:oklch(14.5% 0 0);--color-error-contrast-dark:var(--color-error-950);--color-error-contrast-light:var(--color-error-50);--color-error-contrast-500:var(--color-error-contrast-light);--color-surface-50:oklch(98.5% 0 0);--color-surface-100:oklch(97% 0 0);--color-surface-200:oklch(92.2% 0 0);--color-surface-300:oklch(87% 0 0);--color-surface-400:oklch(70.8% 0 0);--color-surface-500:oklch(55.6% 0 0);--color-surface-600:oklch(43.9% 0 0);--color-surface-700:oklch(37.1% 0 0);--color-surface-800:oklch(26.9% 0 0);--color-surface-900:oklch(20.5% 0 0);--color-surface-950:oklch(14.5% 0 0);--color-surface-contrast-dark:var(--color-surface-950);--color-surface-contrast-light:var(--color-surface-50);--color-surface-contrast-100:var(--color-surface-contrast-dark);--color-surface-contrast-900:var(--color-surface-contrast-light);--body-background-color:var(--color-surface-50);--body-background-color-dark:var(--color-surface-950);--color-primary-50-950:light-dark(var(--color-primary-50),var(--color-primary-950));--color-primary-contrast-50-950:light-dark(var(--color-primary-contrast-50),var(--color-primary-contrast-950));--color-primary-100-900:light-dark(var(--color-primary-100),var(--color-primary-900));--color-primary-950-50:light-dark(var(--color-primary-950),var(--color-primary-50));--color-error-50-950:light-dark(var(--color-error-50),var(--color-error-950));--color-error-950-50:light-dark(var(--color-error-950),var(--color-error-50));--color-surface-50-950:light-dark(var(--color-surface-50),var(--color-surface-950));--color-surface-100-900:light-dark(var(--color-surface-100),var(--color-surface-900));--color-surface-contrast-100-900:light-dark(var(--color-surface-contrast-100),var(--color-surface-contrast-900));--color-surface-200-800:light-dark(var(--color-surface-200),var(--color-surface-800));--color-surface-300-700:light-dark(var(--color-surface-300),var(--color-surface-700));--color-surface-400-600:light-dark(var(--color-surface-400),var(--color-surface-600));--color-surface-600-400:light-dark(var(--color-surface-600),var(--color-surface-400));--color-surface-700-300:light-dark(var(--color-surface-700),var(--color-surface-300));--color-surface-900-100:light-dark(var(--color-surface-900),var(--color-surface-100));--color-surface-950-50:light-dark(var(--color-surface-950),var(--color-surface-50))}}@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;-webkit-text-decoration: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{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-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}:root{color-scheme:light}@media (prefers-color-scheme:dark){:root{color-scheme:dark}}:root{scrollbar-color:var(--color-surface-300-700) var(--color-surface-100-900);scrollbar-width:thin}html{-webkit-tap-highlight-color:color-mix(in srgb, light-dark(var(--color-surface-50),var(--color-surface-950)) 30%, transparent)}@supports (color:color-mix(in lab, red, red)){html{-webkit-tap-highlight-color:color-mix(in oklab, var(--color-surface-50-950) 30%, transparent)}}body{background-color:var(--body-background-color)}@media (prefers-color-scheme:dark){body{background-color:var(--body-background-color-dark)}}body{color:var(--base-font-color);font-family:var(--base-font-family);font-size:var(--base-font-size);line-height:var(--base-line-height);font-weight:var(--base-font-weight);font-style:var(--base-font-style);letter-spacing:var(--base-letter-spacing)}@media (prefers-color-scheme:dark){body{color:var(--base-font-color-dark)}}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}.input::placeholder,.textarea::placeholder,.ig-input::placeholder,.ig-textarea::placeholder{color:var(--color-surface-700-300)}::selection{background-color:#73737380}@supports (color:color-mix(in lab, red, red)){::selection{background-color:color-mix(in srgb, var(--color-primary-500) 50%, transparent)}}:disabled,.disabled{opacity:.5}:is(:disabled,.disabled)>*{pointer-events:none}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.table{font-size:var(--text-sm);line-height:var(--text-sm--line-height);width:100%;position:relative}.table thead{color:var(--color-surface-700-300);border-bottom-width:1px;border-color:var(--color-surface-200-800)}.table th{text-align:left;font-weight:400}.table tbody>:not(:last-child){border-color:var(--color-surface-200-800);border-top-width:0;border-bottom-width:1px}.table tfoot{border-top-width:1px;border-color:var(--color-surface-200-800);background-color:var(--color-surface-100-900)}.table th,.table td{padding:calc(var(--spacing) * 2)}.table caption{color:var(--color-surface-600-400);font-size:var(--text-xs);line-height:var(--text-xs--line-height)}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.label{width:100%;display:block}.label>*+*,.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.input{border-radius:var(--radius-base);width:100%;font-size:var(--text-base);line-height:var(--text-base--line-height);padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 3);--tw-ring-inset:inset;--tw-ring-color:var(--color-surface-200-800);--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 var(--default-ring-width) var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);background-color:#0000;border-width:0;outline-color:#0000;display:block}.input:active,.input:focus,.input:focus-within{--tw-ring-color:var(--color-primary-500)}.input[type=file]::file-selector-button{cursor:pointer;border-radius:var(--radius-base);background-color:var(--color-surface-950-50);color:var(--color-surface-50-950);transform:translateY(calc(var(--spacing) * -.5));margin-right:calc(var(--spacing) * 2);text-transform:capitalize;font-size:var(--text-xs);height:var(--text-xs--line-height);padding-block:0;padding-inline:calc(var(--spacing) * 3)}.input[type=range]{accent-color:var(--color-surface-950-50);box-shadow:none;padding-inline:initial}.input[type=color]{border-radius:var(--radius-base);width:calc(var(--spacing) * 8.5);height:calc(var(--spacing) * 8.5);-webkit-appearance:none;border:none;outline:none;padding:0}.input[type=color]::-webkit-color-swatch-wrapper{padding:0}.input[type=color]::-webkit-color-swatch{border-radius:var(--radius-base);border:none}.input[type=color]::-moz-color-swatch{border:none}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-1{margin-left:var(--spacing)}.btn-icon{box-sizing:content-box;border-radius:var(--radius-base);white-space:nowrap;font-size:var(--text-base);width:var(--text-base);height:var(--text-base);padding:calc(var(--spacing) * 2);justify-content:center;align-items:center;text-decoration-line:none;display:inline-flex}@media (hover:hover){.btn-icon:not(:disabled):hover{filter:brightness(125%)}@media (prefers-color-scheme:dark){.btn-icon:not(:disabled):hover{filter:brightness(75%)}}}.hr{border-color:var(--color-surface-200-800);border-top-width:1px;width:100%;display:block}.btn{border-radius:var(--radius-base);justify-content:center;align-items:center;gap:calc(var(--spacing) * 2);white-space:nowrap;font-size:var(--text-base);line-height:var(--text-base--line-height);padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 4);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--default-transition-timing-function);transition-duration:var(--default-transition-duration);flex-direction:row;text-decoration-line:none;display:inline-flex}@media (hover:hover){.btn:not(:disabled):hover{filter:brightness(125%)}@media (prefers-color-scheme:dark){.btn:not(:disabled):hover{filter:brightness(75%)}}}.label-text{font-size:var(--text-xs);line-height:var(--text-xs--line-height);font-weight:var(--font-weight-medium);text-decoration-line:none;display:block}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.h-2{height:calc(var(--spacing) * 2)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-full{height:100%}.placeholder{background-color:var(--color-surface-200-800);border-radius:var(--radius-base);min-height:calc(var(--spacing) * 4)}.w-2{width:calc(var(--spacing) * 2)}.w-8{width:calc(var(--spacing) * 8)}.w-48{width:calc(var(--spacing) * 48)}.w-full{width:100%}.max-w-md{max-width:var(--container-md)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.resize{resize:both}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-start{justify-content:flex-start}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}.code:not(pre .code,.ec-line .code){background-color:var(--color-primary-100-900);border-radius:var(--radius-base);color:var(--color-primary-contrast-50-950);font-family:var(--font-mono);font-size:var(--text-xs);white-space:nowrap;padding-inline:calc(var(--spacing) * 1.5);padding-block:calc(var(--spacing) * .75);overflow-x:auto}.overflow-y-auto{overflow-y:auto}.card{border-radius:var(--radius-container)}a.card{transition-property:all;transition-timing-function:var(--default-transition-timing-function);transition-duration:var(--default-transition-duration)}@media (hover:hover){a.card:hover{filter:brightness(95%)}@media (prefers-color-scheme:dark){a.card:hover{filter:brightness(110%)}}}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-surface-300{border-color:var(--color-surface-300)}.border-surface-400-600{border-color:light-dark(var(--color-surface-400),var(--color-surface-600))}.border-t-transparent{border-top-color:#0000}.preset-filled-error-500{background-color:var(--color-error-500);color:var(--color-error-contrast-500)}.preset-filled-primary-500{background-color:var(--color-primary-500);color:var(--color-primary-contrast-500)}.preset-filled-surface-100-900{background-color:var(--color-surface-100-900);color:var(--color-surface-contrast-100-900)}.preset-tonal-error{background-color:var(--color-error-50-950);color:var(--color-error-950-50)}.preset-tonal-primary{background-color:var(--color-primary-50-950);color:var(--color-primary-950-50)}.preset-tonal-surface{background-color:var(--color-surface-50-950);color:var(--color-surface-950-50)}.bg-current{background-color:currentColor}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.btn-sm{font-size:var(--text-xs);line-height:var(--text-xs--line-height);padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 3)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.text-center{text-align:center}.text-left{text-align:left}.anchor{color:var(--anchor-font-color);font-family:var(--anchor-font-family);font-size:var(--anchor-font-size);line-height:var(--anchor-line-height);font-weight:var(--anchor-font-weight);font-style:var(--anchor-font-style);letter-spacing:var(--anchor-letter-spacing);-webkit-text-decoration:var(--anchor-text-decoration);-webkit-text-decoration:var(--anchor-text-decoration);text-decoration:var(--anchor-text-decoration)}@media (hover:hover){.anchor:hover{-webkit-text-decoration:var(--anchor-text-decoration-hover);-webkit-text-decoration:var(--anchor-text-decoration-hover);text-decoration:var(--anchor-text-decoration-hover)}}.anchor:active{-webkit-text-decoration:var(--anchor-text-decoration-active);-webkit-text-decoration:var(--anchor-text-decoration-active);text-decoration:var(--anchor-text-decoration-active)}.anchor:focus{-webkit-text-decoration:var(--anchor-text-decoration-focus);-webkit-text-decoration:var(--anchor-text-decoration-focus);text-decoration:var(--anchor-text-decoration-focus)}@media (prefers-color-scheme:dark){.anchor{color:var(--anchor-font-color-dark)}}.h2{color:var(--heading-font-color);font-family:var(--heading-font-family);font-weight:var(--heading-font-weight);font-style:var(--heading-font-style);letter-spacing:var(--heading-letter-spacing);font-size:var(--text-3xl);line-height:var(--text-3xl--line-height)}@media (min-width:48rem){.h2{font-size:var(--text-4xl);line-height:var(--text-4xl--line-height)}}@media (prefers-color-scheme:dark){.h2{color:var(--heading-font-color-dark)}}.h3{color:var(--heading-font-color);font-family:var(--heading-font-family);font-weight:var(--heading-font-weight);font-style:var(--heading-font-style);letter-spacing:var(--heading-letter-spacing);font-size:var(--text-2xl);line-height:var(--text-2xl--line-height)}@media (min-width:48rem){.h3{font-size:var(--text-3xl);line-height:var(--text-3xl--line-height)}}@media (prefers-color-scheme:dark){.h3{color:var(--heading-font-color-dark)}}.text-sm{font-size:calc(.875rem * var(--text-scaling));line-height:var(--tw-leading,calc(calc(1.25 / .875) * var(--text-scaling)))}.text-xs{font-size:calc(.75rem * var(--text-scaling));line-height:var(--tw-leading,calc(calc(1 / .75) * var(--text-scaling)))}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-surface-100{color:var(--color-surface-100)}.text-surface-500{color:var(--color-surface-500)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}@keyframes progress-circular-indeterminate{0%{stroke-dasharray:1 var(--circumference);stroke-dashoffset:0}50%{stroke-dasharray:calc(var(--circumference) * .75) var(--circumference);stroke-dashoffset:calc(-1 * var(--circumference) * .5)}to{stroke-dasharray:1 var(--circumference);stroke-dashoffset:calc(-1 * var(--circumference))}}@keyframes progress-linear-indeterminate-horizontal{0%{transform:translate(-200%)}to{transform:translate(200%)}}@keyframes progress-linear-indeterminate-vertical{0%{transform:translateY(-200%)}to{transform:translateY(200%)}}[data-theme=wintry]{--text-scaling:1.067;--base-font-color:var(--color-surface-950);--base-font-color-dark:var(--color-surface-50);--base-font-family:system-ui, sans-serif;--base-font-size:inherit;--base-line-height:inherit;--base-font-weight:normal;--base-font-style:normal;--base-letter-spacing:0em;--heading-font-color:inherit;--heading-font-color-dark:inherit;--heading-font-family:Inter, Roboto, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif;--heading-font-weight:bold;--heading-font-style:normal;--heading-letter-spacing:inherit;--anchor-font-color:var(--color-primary-500);--anchor-font-color-dark:var(--color-primary-500);--anchor-font-family:inherit;--anchor-font-size:inherit;--anchor-line-height:inherit;--anchor-font-weight:inherit;--anchor-font-style:inherit;--anchor-letter-spacing:inherit;--anchor-text-decoration:none;--anchor-text-decoration-hover:underline;--anchor-text-decoration-active:none;--anchor-text-decoration-focus:none;--spacing:.25rem;--radius-base:.375rem;--radius-container:.75rem;--default-border-width:1px;--default-divide-width:1px;--default-ring-width:1px;--body-background-color:oklch(100% 0 0);--body-background-color-dark:var(--color-surface-950);--color-primary-50:oklch(96.19% .04 201.62);--color-primary-100:oklch(89.29% .06 230.4);--color-primary-200:oklch(82.2% .09 245.96);--color-primary-300:oklch(75.45% .12 253.41);--color-primary-400:oklch(68.61% .15 257.7);--color-primary-500:oklch(62.31% .19 259.81);--color-primary-600:oklch(56.01% .18 260.79);--color-primary-700:oklch(49.59% .18 261.77);--color-primary-800:oklch(43.07% .17 262.89);--color-primary-900:oklch(36.42% .16 263.66);--color-primary-950:oklch(29.67% .16 263.4);--color-primary-contrast-dark:var(--color-primary-950);--color-primary-contrast-light:var(--color-primary-50);--color-primary-contrast-50:var(--color-primary-contrast-dark);--color-primary-contrast-100:var(--color-primary-contrast-dark);--color-primary-contrast-200:var(--color-primary-contrast-dark);--color-primary-contrast-300:var(--color-primary-contrast-dark);--color-primary-contrast-400:var(--color-primary-contrast-dark);--color-primary-contrast-500:var(--color-primary-contrast-light);--color-primary-contrast-600:var(--color-primary-contrast-light);--color-primary-contrast-700:var(--color-primary-contrast-light);--color-primary-contrast-800:var(--color-primary-contrast-light);--color-primary-contrast-900:var(--color-primary-contrast-light);--color-primary-contrast-950:var(--color-primary-contrast-light);--color-secondary-50:oklch(95.68% .06 196.1);--color-secondary-100:oklch(89.83% .08 209.36);--color-secondary-200:oklch(84.09% .1 217.66);--color-secondary-300:oklch(78.56% .12 224.65);--color-secondary-400:oklch(73.31% .13 230.6);--color-secondary-500:oklch(68.47% .15 237.31);--color-secondary-600:oklch(62% .14 240.02);--color-secondary-700:oklch(55.31% .13 242.76);--color-secondary-800:oklch(48.5% .12 246.43);--color-secondary-900:oklch(41.38% .12 250.13);--color-secondary-950:oklch(34.06% .11 254.48);--color-secondary-contrast-dark:var(--color-secondary-950);--color-secondary-contrast-light:var(--color-secondary-50);--color-secondary-contrast-50:var(--color-secondary-contrast-dark);--color-secondary-contrast-100:var(--color-secondary-contrast-dark);--color-secondary-contrast-200:var(--color-secondary-contrast-dark);--color-secondary-contrast-300:var(--color-secondary-contrast-dark);--color-secondary-contrast-400:var(--color-secondary-contrast-dark);--color-secondary-contrast-500:var(--color-secondary-contrast-dark);--color-secondary-contrast-600:var(--color-secondary-contrast-light);--color-secondary-contrast-700:var(--color-secondary-contrast-light);--color-secondary-contrast-800:var(--color-secondary-contrast-light);--color-secondary-contrast-900:var(--color-secondary-contrast-light);--color-secondary-contrast-950:var(--color-secondary-contrast-light);--color-tertiary-50:oklch(92.26% .05 306.01);--color-tertiary-100:oklch(86.96% .07 296.34);--color-tertiary-200:oklch(81.6% .1 290.49);--color-tertiary-300:oklch(76.55% .13 286.63);--color-tertiary-400:oklch(71.31% .15 283.43);--color-tertiary-500:oklch(66.28% .18 280.87);--color-tertiary-600:oklch(58.39% .18 282.35);--color-tertiary-700:oklch(50.63% .18 283.21);--color-tertiary-800:oklch(42.59% .18 283.85);--color-tertiary-900:oklch(34.95% .18 283.03);--color-tertiary-950:oklch(27.57% .17 280.45);--color-tertiary-contrast-dark:var(--color-tertiary-950);--color-tertiary-contrast-light:var(--color-tertiary-50);--color-tertiary-contrast-50:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-100:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-200:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-300:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-400:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-500:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-600:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-700:var(--color-tertiary-contrast-light);--color-tertiary-contrast-800:var(--color-tertiary-contrast-light);--color-tertiary-contrast-900:var(--color-tertiary-contrast-light);--color-tertiary-contrast-950:var(--color-tertiary-contrast-light);--color-success-50:oklch(97.96% .12 108.35);--color-success-100:oklch(93.56% .14 115.38);--color-success-200:oklch(89.31% .16 120.22);--color-success-300:oklch(84.86% .18 124.21);--color-success-400:oklch(80.8% .19 127.53);--color-success-500:oklch(76.81% .2 130.85);--color-success-600:oklch(69.44% .19 133.05);--color-success-700:oklch(61.88% .18 135.65);--color-success-800:oklch(54.52% .17 138.28);--color-success-900:oklch(46.76% .15 140.76);--color-success-950:oklch(38.95% .13 142.5);--color-success-contrast-dark:var(--color-success-950);--color-success-contrast-light:var(--color-success-50);--color-success-contrast-50:var(--color-success-contrast-dark);--color-success-contrast-100:var(--color-success-contrast-dark);--color-success-contrast-200:var(--color-success-contrast-dark);--color-success-contrast-300:var(--color-success-contrast-dark);--color-success-contrast-400:var(--color-success-contrast-dark);--color-success-contrast-500:var(--color-success-contrast-dark);--color-success-contrast-600:var(--color-success-contrast-dark);--color-success-contrast-700:var(--color-success-contrast-light);--color-success-contrast-800:var(--color-success-contrast-light);--color-success-contrast-900:var(--color-success-contrast-light);--color-success-contrast-950:var(--color-success-contrast-light);--color-warning-50:oklch(97.87% .12 108.45);--color-warning-100:oklch(94.1% .14 103.73);--color-warning-200:oklch(90.39% .15 99.65);--color-warning-300:oklch(86.48% .16 95.56);--color-warning-400:oklch(82.95% .16 91.25);--color-warning-500:oklch(79.53% .16 86.04);--color-warning-600:oklch(70.68% .14 85.14);--color-warning-700:oklch(61.76% .12 84.62);--color-warning-800:oklch(52.18% .1 83.48);--color-warning-900:oklch(42.49% .08 81.81);--color-warning-950:oklch(31.98% .06 75.91);--color-warning-contrast-dark:var(--color-warning-950);--color-warning-contrast-light:var(--color-warning-50);--color-warning-contrast-50:var(--color-warning-contrast-dark);--color-warning-contrast-100:var(--color-warning-contrast-dark);--color-warning-contrast-200:var(--color-warning-contrast-dark);--color-warning-contrast-300:var(--color-warning-contrast-dark);--color-warning-contrast-400:var(--color-warning-contrast-dark);--color-warning-contrast-500:var(--color-warning-contrast-dark);--color-warning-contrast-600:var(--color-warning-contrast-dark);--color-warning-contrast-700:var(--color-warning-contrast-light);--color-warning-contrast-800:var(--color-warning-contrast-light);--color-warning-contrast-900:var(--color-warning-contrast-light);--color-warning-contrast-950:var(--color-warning-contrast-light);--color-error-50:oklch(91.14% .07 332.14);--color-error-100:oklch(82.94% .11 339.91);--color-error-200:oklch(75.2% .14 345.21);--color-error-300:oklch(68.13% .18 348.96);--color-error-400:oklch(62.02% .21 353.41);--color-error-500:oklch(57.22% .22 358.61);--color-error-600:oklch(51.7% .2 358.74);--color-error-700:oklch(46.21% .18 358.64);--color-error-800:oklch(40.37% .16 358.83);--color-error-900:oklch(34.48% .13 358.66);--color-error-950:oklch(28.04% .11 358.71);--color-error-contrast-dark:var(--color-error-950);--color-error-contrast-light:var(--color-error-50);--color-error-contrast-50:var(--color-error-contrast-dark);--color-error-contrast-100:var(--color-error-contrast-dark);--color-error-contrast-200:var(--color-error-contrast-dark);--color-error-contrast-300:var(--color-error-contrast-dark);--color-error-contrast-400:var(--color-error-contrast-dark);--color-error-contrast-500:var(--color-error-contrast-light);--color-error-contrast-600:var(--color-error-contrast-light);--color-error-contrast-700:var(--color-error-contrast-light);--color-error-contrast-800:var(--color-error-contrast-light);--color-error-contrast-900:var(--color-error-contrast-light);--color-error-contrast-950:var(--color-error-contrast-light);--color-surface-50:oklch(97.59% 0 264.7);--color-surface-100:oklch(88.12% .01 261.81);--color-surface-200:oklch(78.51% .02 265.97);--color-surface-300:oklch(68.49% .03 264.38);--color-surface-400:oklch(58.25% .04 265.77);--color-surface-500:oklch(47.47% .05 264.53);--color-surface-600:oklch(42.05% .05 264.5);--color-surface-700:oklch(36.45% .05 264.44);--color-surface-800:oklch(31.02% .04 264.35);--color-surface-900:oklch(24.95% .04 264.15);--color-surface-950:oklch(18.53% .04 263.67);--color-surface-contrast-dark:var(--color-surface-950);--color-surface-contrast-light:var(--color-surface-50);--color-surface-contrast-50:var(--color-surface-contrast-dark);--color-surface-contrast-100:var(--color-surface-contrast-dark);--color-surface-contrast-200:var(--color-surface-contrast-dark);--color-surface-contrast-300:var(--color-surface-contrast-dark);--color-surface-contrast-400:var(--color-surface-contrast-dark);--color-surface-contrast-500:var(--color-surface-contrast-light);--color-surface-contrast-600:var(--color-surface-contrast-light);--color-surface-contrast-700:var(--color-surface-contrast-light);--color-surface-contrast-800:var(--color-surface-contrast-light);--color-surface-contrast-900:var(--color-surface-contrast-light);--color-surface-contrast-950:var(--color-surface-contrast-light)}:scope#qv-start,:scope#qv-saves,:scope#questVivaDebugger,:scope#qv-restarting,:scope#qv-recording{font-family:var(--font-sans)}:scope#qv-start{z-index:9999;background:var(--color-surface-950);justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}:scope#qv-restarting{z-index:9999;background:var(--color-surface-950);justify-content:center;align-items:center;display:flex;position:fixed;inset:0}:scope#qv-restarting.hidden{display:none}:scope#qv-recording{z-index:1400;position:fixed;top:.75rem;right:.75rem}:scope#qv-recording.hidden{display:none}:scope#qv-saves{border:none;border-radius:.75rem;width:100%;max-width:28rem;padding:0}:scope#qv-saves::backdrop{background:#00000080}:scope#qv-saves[data-mode=boot] .qv-manage-only,:scope#qv-saves[data-mode=boot] [data-delete-slot],:scope#qv-saves[data-mode=manage] [data-mode-text=boot]{display:none}:scope#qv-saves #qv-saves-list{font-size:var(--text-base)}:scope#questVivaDebugger{border:1px solid var(--color-surface-300-700);z-index:1500;box-shadow:var(--shadow-xl,0 20px 25px -5px #00000026, 0 8px 10px -6px #00000026);border-radius:.75rem;margin:0;padding:0;position:fixed}#qv-debugger-titlebar{cursor:move;touch-action:none}:scope.qv-debugger-drag-active{-webkit-user-select:none;user-select:none}#qv-debugger-card{position:relative;container:qv-debugger-card/inline-size}#qv-debugger-resize-handle{cursor:nwse-resize;touch-action:none;width:1rem;height:1rem;position:absolute;bottom:0;right:0}#qv-debugger-resize-handle:before{content:"";border-right:2px solid var(--color-surface-400-600);border-bottom:2px solid var(--color-surface-400-600);width:.5rem;height:.5rem;position:absolute;bottom:.25rem;right:.25rem}#qv-debugger-splitter{cursor:col-resize;touch-action:none;flex-shrink:0;width:.75rem;margin-inline:-.25rem;position:relative}#qv-debugger-splitter:after{content:"";background:var(--color-surface-300-700);inset-block:0;width:1px;position:absolute;left:50%}#qv-debugger-splitter:hover:after,#qv-debugger-splitter.qv-debugger-dragging:after{background:var(--color-primary-500);width:2px}#qv-debugger-list{overflow-y:auto}#qv-debugger-detail{flex-direction:column;padding-left:.5rem;display:flex}.qv-debugger-scroll{flex:auto;min-height:0;overflow:auto}.qv-debugger-footer{border-top:1px solid var(--color-surface-300-700);flex-shrink:0;margin-top:.75rem;padding-top:.75rem}@container qv-debugger-card (max-width:640px){#qv-debugger-panes{flex-direction:column}#qv-debugger-list{flex-shrink:0;max-height:40%;width:100%!important}#qv-debugger-splitter{display:none}#qv-debugger-detail{padding-top:.75rem;padding-left:0}}.qv-debugger-list-item{text-align:left;border-radius:var(--radius-base);width:100%;font-size:var(--text-sm);padding:.375rem .5rem;display:block}.qv-debugger-list-item:hover{background:var(--color-surface-200-800)}.qv-debugger-list-item.qv-debugger-row-selected:hover{background:var(--color-primary-600)}.qv-debugger-input{border-radius:var(--radius-base);width:100%;padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 3);border:1px solid var(--color-surface-300-700);background-color:var(--color-surface-50-950);color:inherit}.qv-debugger-input:focus{outline:2px solid var(--color-primary-500);outline-offset:-1px}.qv-debugger-table{table-layout:fixed;width:100%}.qv-debugger-table th,.qv-debugger-table td{overflow-wrap:break-word;vertical-align:top}.qv-debugger-table tbody td{border-bottom:1px solid var(--color-surface-200-800);padding-block:.375rem}.qv-debugger-table thead th{text-align:left;font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.05em;color:var(--color-surface-500);border-bottom:1px solid var(--color-surface-300-700);padding-bottom:.5rem;position:relative}.qv-debugger-col-resize{cursor:col-resize;touch-action:none;z-index:1;width:.75rem;position:absolute;top:0;bottom:0;right:-.375rem}.qv-debugger-col-resize:hover,.qv-debugger-col-resize.qv-debugger-dragging{background:var(--color-primary-500);opacity:.5}#qv-debugger-detail [data-attr-row]{cursor:pointer}#qv-debugger-detail [data-sort-col]{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}#qv-debugger-detail [data-sort-col]:hover{color:var(--color-surface-900-100)}.qv-debugger-row-inherited{color:var(--color-surface-500)}.qv-debugger-row-selected{background:var(--color-primary-500);color:var(--color-primary-contrast-500)}.qv-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:1.25rem;height:1.25rem}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
21
+ @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-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:scope, :host {--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--container-md:28rem;--text-xs:calc(.75rem * var(--text-scaling));--text-xs--line-height:calc(calc(1 / .75) * var(--text-scaling));--text-sm:calc(.875rem * var(--text-scaling));--text-sm--line-height:calc(calc(1.25 / .875) * var(--text-scaling));--text-base:calc(1rem * var(--text-scaling));--text-base--line-height:calc(calc(1.5 / 1) * var(--text-scaling));--text-2xl:calc(1.5rem * var(--text-scaling));--text-2xl--line-height:calc(calc(2 / 1.5) * var(--text-scaling));--text-3xl:calc(1.875rem * var(--text-scaling));--text-3xl--line-height:calc(calc(2.25 / 1.875) * var(--text-scaling));--text-4xl:calc(2.25rem * var(--text-scaling));--text-4xl--line-height:calc(calc(2.5 / 2.25) * var(--text-scaling));--font-weight-medium:500;--font-weight-semibold:600;--tracking-wide:.025em;--shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--text-scaling:1;--base-font-color:inherit;--base-font-color-dark:inherit;--base-font-family:inherit;--base-font-size:inherit;--base-line-height:inherit;--base-font-weight:inherit;--base-font-style:inherit;--base-letter-spacing:inherit;--heading-font-color:inherit;--heading-font-color-dark:inherit;--heading-font-family:inherit;--heading-font-weight:inherit;--heading-font-style:inherit;--heading-letter-spacing:inherit;--anchor-font-color:inherit;--anchor-font-color-dark:inherit;--anchor-font-family:inherit;--anchor-font-size:inherit;--anchor-line-height:inherit;--anchor-font-weight:inherit;--anchor-font-style:inherit;--anchor-letter-spacing:inherit;--anchor-text-decoration:inherit;--anchor-text-decoration-hover:underline;--anchor-text-decoration-active:inherit;--anchor-text-decoration-focus:inherit;--radius-base:.25rem;--radius-container:.25rem;--default-ring-width:1px;--color-primary-50:oklch(98.5% 0 0);--color-primary-100:oklch(97% 0 0);--color-primary-500:oklch(55.6% 0 0);--color-primary-600:oklch(43.9% 0 0);--color-primary-900:oklch(20.5% 0 0);--color-primary-950:oklch(14.5% 0 0);--color-primary-contrast-dark:var(--color-primary-950);--color-primary-contrast-light:var(--color-primary-50);--color-primary-contrast-50:var(--color-primary-contrast-dark);--color-primary-contrast-500:var(--color-primary-contrast-light);--color-primary-contrast-950:var(--color-primary-contrast-light);--color-secondary-50:oklch(98.5% 0 0);--color-secondary-950:oklch(14.5% 0 0);--color-secondary-contrast-dark:var(--color-secondary-950);--color-secondary-contrast-light:var(--color-secondary-50);--color-tertiary-50:oklch(98.5% 0 0);--color-tertiary-950:oklch(14.5% 0 0);--color-tertiary-contrast-dark:var(--color-tertiary-950);--color-tertiary-contrast-light:var(--color-tertiary-50);--color-success-50:oklch(98.5% 0 0);--color-success-950:oklch(14.5% 0 0);--color-success-contrast-dark:var(--color-success-950);--color-success-contrast-light:var(--color-success-50);--color-warning-50:oklch(98.5% 0 0);--color-warning-950:oklch(14.5% 0 0);--color-warning-contrast-dark:var(--color-warning-950);--color-warning-contrast-light:var(--color-warning-50);--color-error-50:oklch(98.5% 0 0);--color-error-500:oklch(55.6% 0 0);--color-error-950:oklch(14.5% 0 0);--color-error-contrast-dark:var(--color-error-950);--color-error-contrast-light:var(--color-error-50);--color-error-contrast-500:var(--color-error-contrast-light);--color-surface-50:oklch(98.5% 0 0);--color-surface-100:oklch(97% 0 0);--color-surface-200:oklch(92.2% 0 0);--color-surface-300:oklch(87% 0 0);--color-surface-400:oklch(70.8% 0 0);--color-surface-500:oklch(55.6% 0 0);--color-surface-600:oklch(43.9% 0 0);--color-surface-700:oklch(37.1% 0 0);--color-surface-800:oklch(26.9% 0 0);--color-surface-900:oklch(20.5% 0 0);--color-surface-950:oklch(14.5% 0 0);--color-surface-contrast-dark:var(--color-surface-950);--color-surface-contrast-light:var(--color-surface-50);--color-surface-contrast-100:var(--color-surface-contrast-dark);--color-surface-contrast-900:var(--color-surface-contrast-light);--body-background-color:var(--color-surface-50);--body-background-color-dark:var(--color-surface-950);--color-primary-50-950:light-dark(var(--color-primary-50),var(--color-primary-950));--color-primary-contrast-50-950:light-dark(var(--color-primary-contrast-50),var(--color-primary-contrast-950));--color-primary-100-900:light-dark(var(--color-primary-100),var(--color-primary-900));--color-primary-950-50:light-dark(var(--color-primary-950),var(--color-primary-50));--color-error-50-950:light-dark(var(--color-error-50),var(--color-error-950));--color-error-950-50:light-dark(var(--color-error-950),var(--color-error-50));--color-surface-50-950:light-dark(var(--color-surface-50),var(--color-surface-950));--color-surface-100-900:light-dark(var(--color-surface-100),var(--color-surface-900));--color-surface-contrast-100-900:light-dark(var(--color-surface-contrast-100),var(--color-surface-contrast-900));--color-surface-200-800:light-dark(var(--color-surface-200),var(--color-surface-800));--color-surface-300-700:light-dark(var(--color-surface-300),var(--color-surface-700));--color-surface-400-600:light-dark(var(--color-surface-400),var(--color-surface-600));--color-surface-600-400:light-dark(var(--color-surface-600),var(--color-surface-400));--color-surface-700-300:light-dark(var(--color-surface-700),var(--color-surface-300));--color-surface-900-100:light-dark(var(--color-surface-900),var(--color-surface-100));--color-surface-950-50:light-dark(var(--color-surface-950),var(--color-surface-50))}}@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;-webkit-text-decoration: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{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-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}:root{color-scheme:light}@media (prefers-color-scheme:dark){:root{color-scheme:dark}}:root{scrollbar-color:var(--color-surface-300-700) var(--color-surface-100-900);scrollbar-width:thin}html{-webkit-tap-highlight-color:color-mix(in srgb, light-dark(var(--color-surface-50),var(--color-surface-950)) 30%, transparent)}@supports (color:color-mix(in lab, red, red)){html{-webkit-tap-highlight-color:color-mix(in oklab, var(--color-surface-50-950) 30%, transparent)}}body{background-color:var(--body-background-color)}@media (prefers-color-scheme:dark){body{background-color:var(--body-background-color-dark)}}body{color:var(--base-font-color);font-family:var(--base-font-family);font-size:var(--base-font-size);line-height:var(--base-line-height);font-weight:var(--base-font-weight);font-style:var(--base-font-style);letter-spacing:var(--base-letter-spacing)}@media (prefers-color-scheme:dark){body{color:var(--base-font-color-dark)}}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}.input::placeholder,.textarea::placeholder,.ig-input::placeholder,.ig-textarea::placeholder{color:var(--color-surface-700-300)}::selection{background-color:#73737380}@supports (color:color-mix(in lab, red, red)){::selection{background-color:color-mix(in srgb, var(--color-primary-500) 50%, transparent)}}:disabled,.disabled{opacity:.5}:is(:disabled,.disabled)>*{pointer-events:none}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.table{font-size:var(--text-sm);line-height:var(--text-sm--line-height);width:100%;position:relative}.table thead{color:var(--color-surface-700-300);border-bottom-width:1px;border-color:var(--color-surface-200-800)}.table th{text-align:left;font-weight:400}.table tbody>:not(:last-child){border-color:var(--color-surface-200-800);border-top-width:0;border-bottom-width:1px}.table tfoot{border-top-width:1px;border-color:var(--color-surface-200-800);background-color:var(--color-surface-100-900)}.table th,.table td{padding:calc(var(--spacing) * 2)}.table caption{color:var(--color-surface-600-400);font-size:var(--text-xs);line-height:var(--text-xs--line-height)}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.label{width:100%;display:block}.label>*+*,.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.input{border-radius:var(--radius-base);width:100%;font-size:var(--text-base);line-height:var(--text-base--line-height);padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 3);--tw-ring-inset:inset;--tw-ring-color:var(--color-surface-200-800);--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 var(--default-ring-width) var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);background-color:#0000;border-width:0;outline-color:#0000;display:block}.input:active,.input:focus,.input:focus-within{--tw-ring-color:var(--color-primary-500)}.input[type=file]::file-selector-button{cursor:pointer;border-radius:var(--radius-base);background-color:var(--color-surface-950-50);color:var(--color-surface-50-950);transform:translateY(calc(var(--spacing) * -.5));margin-right:calc(var(--spacing) * 2);text-transform:capitalize;font-size:var(--text-xs);height:var(--text-xs--line-height);padding-block:0;padding-inline:calc(var(--spacing) * 3)}.input[type=range]{accent-color:var(--color-surface-950-50);box-shadow:none;padding-inline:initial}.input[type=color]{border-radius:var(--radius-base);width:calc(var(--spacing) * 8.5);height:calc(var(--spacing) * 8.5);-webkit-appearance:none;border:none;outline:none;padding:0}.input[type=color]::-webkit-color-swatch-wrapper{padding:0}.input[type=color]::-webkit-color-swatch{border-radius:var(--radius-base);border:none}.input[type=color]::-moz-color-swatch{border:none}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-1{margin-left:var(--spacing)}.btn-icon{box-sizing:content-box;border-radius:var(--radius-base);white-space:nowrap;font-size:var(--text-base);width:var(--text-base);height:var(--text-base);padding:calc(var(--spacing) * 2);justify-content:center;align-items:center;text-decoration-line:none;display:inline-flex}@media (hover:hover){.btn-icon:not(:disabled):hover{filter:brightness(125%)}@media (prefers-color-scheme:dark){.btn-icon:not(:disabled):hover{filter:brightness(75%)}}}.hr{border-color:var(--color-surface-200-800);border-top-width:1px;width:100%;display:block}.btn{border-radius:var(--radius-base);justify-content:center;align-items:center;gap:calc(var(--spacing) * 2);white-space:nowrap;font-size:var(--text-base);line-height:var(--text-base--line-height);padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 4);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--default-transition-timing-function);transition-duration:var(--default-transition-duration);flex-direction:row;text-decoration-line:none;display:inline-flex}@media (hover:hover){.btn:not(:disabled):hover{filter:brightness(125%)}@media (prefers-color-scheme:dark){.btn:not(:disabled):hover{filter:brightness(75%)}}}.label-text{font-size:var(--text-xs);line-height:var(--text-xs--line-height);font-weight:var(--font-weight-medium);text-decoration-line:none;display:block}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.h-2{height:calc(var(--spacing) * 2)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-full{height:100%}.placeholder{background-color:var(--color-surface-200-800);border-radius:var(--radius-base);min-height:calc(var(--spacing) * 4)}.w-2{width:calc(var(--spacing) * 2)}.w-8{width:calc(var(--spacing) * 8)}.w-48{width:calc(var(--spacing) * 48)}.w-full{width:100%}.max-w-md{max-width:var(--container-md)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.resize{resize:both}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-start{justify-content:flex-start}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}.code:not(pre .code,.ec-line .code){background-color:var(--color-primary-100-900);border-radius:var(--radius-base);color:var(--color-primary-contrast-50-950);font-family:var(--font-mono);font-size:var(--text-xs);white-space:nowrap;padding-inline:calc(var(--spacing) * 1.5);padding-block:calc(var(--spacing) * .75);overflow-x:auto}.overflow-y-auto{overflow-y:auto}.card{border-radius:var(--radius-container)}a.card{transition-property:all;transition-timing-function:var(--default-transition-timing-function);transition-duration:var(--default-transition-duration)}@media (hover:hover){a.card:hover{filter:brightness(95%)}@media (prefers-color-scheme:dark){a.card:hover{filter:brightness(110%)}}}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-surface-300{border-color:var(--color-surface-300)}.border-surface-400-600{border-color:light-dark(var(--color-surface-400),var(--color-surface-600))}.border-t-transparent{border-top-color:#0000}.preset-filled-error-500{background-color:var(--color-error-500);color:var(--color-error-contrast-500)}.preset-filled-primary-500{background-color:var(--color-primary-500);color:var(--color-primary-contrast-500)}.preset-filled-surface-100-900{background-color:var(--color-surface-100-900);color:var(--color-surface-contrast-100-900)}.preset-tonal-error{background-color:var(--color-error-50-950);color:var(--color-error-950-50)}.preset-tonal-primary{background-color:var(--color-primary-50-950);color:var(--color-primary-950-50)}.preset-tonal-surface{background-color:var(--color-surface-50-950);color:var(--color-surface-950-50)}.bg-current{background-color:currentColor}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.btn-sm{font-size:var(--text-xs);line-height:var(--text-xs--line-height);padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 3)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.text-center{text-align:center}.text-left{text-align:left}.anchor{color:var(--anchor-font-color);font-family:var(--anchor-font-family);font-size:var(--anchor-font-size);line-height:var(--anchor-line-height);font-weight:var(--anchor-font-weight);font-style:var(--anchor-font-style);letter-spacing:var(--anchor-letter-spacing);-webkit-text-decoration:var(--anchor-text-decoration);-webkit-text-decoration:var(--anchor-text-decoration);text-decoration:var(--anchor-text-decoration)}@media (hover:hover){.anchor:hover{-webkit-text-decoration:var(--anchor-text-decoration-hover);-webkit-text-decoration:var(--anchor-text-decoration-hover);text-decoration:var(--anchor-text-decoration-hover)}}.anchor:active{-webkit-text-decoration:var(--anchor-text-decoration-active);-webkit-text-decoration:var(--anchor-text-decoration-active);text-decoration:var(--anchor-text-decoration-active)}.anchor:focus{-webkit-text-decoration:var(--anchor-text-decoration-focus);-webkit-text-decoration:var(--anchor-text-decoration-focus);text-decoration:var(--anchor-text-decoration-focus)}@media (prefers-color-scheme:dark){.anchor{color:var(--anchor-font-color-dark)}}.h2{color:var(--heading-font-color);font-family:var(--heading-font-family);font-weight:var(--heading-font-weight);font-style:var(--heading-font-style);letter-spacing:var(--heading-letter-spacing);font-size:var(--text-3xl);line-height:var(--text-3xl--line-height)}@media (min-width:48rem){.h2{font-size:var(--text-4xl);line-height:var(--text-4xl--line-height)}}@media (prefers-color-scheme:dark){.h2{color:var(--heading-font-color-dark)}}.h3{color:var(--heading-font-color);font-family:var(--heading-font-family);font-weight:var(--heading-font-weight);font-style:var(--heading-font-style);letter-spacing:var(--heading-letter-spacing);font-size:var(--text-2xl);line-height:var(--text-2xl--line-height)}@media (min-width:48rem){.h3{font-size:var(--text-3xl);line-height:var(--text-3xl--line-height)}}@media (prefers-color-scheme:dark){.h3{color:var(--heading-font-color-dark)}}.text-sm{font-size:calc(.875rem * var(--text-scaling));line-height:var(--tw-leading,calc(calc(1.25 / .875) * var(--text-scaling)))}.text-xs{font-size:calc(.75rem * var(--text-scaling));line-height:var(--tw-leading,calc(calc(1 / .75) * var(--text-scaling)))}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-surface-100{color:var(--color-surface-100)}.text-surface-500{color:var(--color-surface-500)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}@keyframes progress-circular-indeterminate{0%{stroke-dasharray:1 var(--circumference);stroke-dashoffset:0}50%{stroke-dasharray:calc(var(--circumference) * .75) var(--circumference);stroke-dashoffset:calc(-1 * var(--circumference) * .5)}to{stroke-dasharray:1 var(--circumference);stroke-dashoffset:calc(-1 * var(--circumference))}}@keyframes progress-linear-indeterminate-horizontal{0%{transform:translate(-200%)}to{transform:translate(200%)}}@keyframes progress-linear-indeterminate-vertical{0%{transform:translateY(-200%)}to{transform:translateY(200%)}}[data-theme=wintry]{--text-scaling:1.067;--base-font-color:var(--color-surface-950);--base-font-color-dark:var(--color-surface-50);--base-font-family:system-ui, sans-serif;--base-font-size:inherit;--base-line-height:inherit;--base-font-weight:normal;--base-font-style:normal;--base-letter-spacing:0em;--heading-font-color:inherit;--heading-font-color-dark:inherit;--heading-font-family:Inter, Roboto, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif;--heading-font-weight:bold;--heading-font-style:normal;--heading-letter-spacing:inherit;--anchor-font-color:var(--color-primary-500);--anchor-font-color-dark:var(--color-primary-500);--anchor-font-family:inherit;--anchor-font-size:inherit;--anchor-line-height:inherit;--anchor-font-weight:inherit;--anchor-font-style:inherit;--anchor-letter-spacing:inherit;--anchor-text-decoration:none;--anchor-text-decoration-hover:underline;--anchor-text-decoration-active:none;--anchor-text-decoration-focus:none;--spacing:.25rem;--radius-base:.375rem;--radius-container:.75rem;--default-border-width:1px;--default-divide-width:1px;--default-ring-width:1px;--body-background-color:oklch(100% 0 0);--body-background-color-dark:var(--color-surface-950);--color-primary-50:oklch(96.19% .04 201.62);--color-primary-100:oklch(89.29% .06 230.4);--color-primary-200:oklch(82.2% .09 245.96);--color-primary-300:oklch(75.45% .12 253.41);--color-primary-400:oklch(68.61% .15 257.7);--color-primary-500:oklch(62.31% .19 259.81);--color-primary-600:oklch(56.01% .18 260.79);--color-primary-700:oklch(49.59% .18 261.77);--color-primary-800:oklch(43.07% .17 262.89);--color-primary-900:oklch(36.42% .16 263.66);--color-primary-950:oklch(29.67% .16 263.4);--color-primary-contrast-dark:var(--color-primary-950);--color-primary-contrast-light:var(--color-primary-50);--color-primary-contrast-50:var(--color-primary-contrast-dark);--color-primary-contrast-100:var(--color-primary-contrast-dark);--color-primary-contrast-200:var(--color-primary-contrast-dark);--color-primary-contrast-300:var(--color-primary-contrast-dark);--color-primary-contrast-400:var(--color-primary-contrast-dark);--color-primary-contrast-500:var(--color-primary-contrast-light);--color-primary-contrast-600:var(--color-primary-contrast-light);--color-primary-contrast-700:var(--color-primary-contrast-light);--color-primary-contrast-800:var(--color-primary-contrast-light);--color-primary-contrast-900:var(--color-primary-contrast-light);--color-primary-contrast-950:var(--color-primary-contrast-light);--color-secondary-50:oklch(95.68% .06 196.1);--color-secondary-100:oklch(89.83% .08 209.36);--color-secondary-200:oklch(84.09% .1 217.66);--color-secondary-300:oklch(78.56% .12 224.65);--color-secondary-400:oklch(73.31% .13 230.6);--color-secondary-500:oklch(68.47% .15 237.31);--color-secondary-600:oklch(62% .14 240.02);--color-secondary-700:oklch(55.31% .13 242.76);--color-secondary-800:oklch(48.5% .12 246.43);--color-secondary-900:oklch(41.38% .12 250.13);--color-secondary-950:oklch(34.06% .11 254.48);--color-secondary-contrast-dark:var(--color-secondary-950);--color-secondary-contrast-light:var(--color-secondary-50);--color-secondary-contrast-50:var(--color-secondary-contrast-dark);--color-secondary-contrast-100:var(--color-secondary-contrast-dark);--color-secondary-contrast-200:var(--color-secondary-contrast-dark);--color-secondary-contrast-300:var(--color-secondary-contrast-dark);--color-secondary-contrast-400:var(--color-secondary-contrast-dark);--color-secondary-contrast-500:var(--color-secondary-contrast-dark);--color-secondary-contrast-600:var(--color-secondary-contrast-light);--color-secondary-contrast-700:var(--color-secondary-contrast-light);--color-secondary-contrast-800:var(--color-secondary-contrast-light);--color-secondary-contrast-900:var(--color-secondary-contrast-light);--color-secondary-contrast-950:var(--color-secondary-contrast-light);--color-tertiary-50:oklch(92.26% .05 306.01);--color-tertiary-100:oklch(86.96% .07 296.34);--color-tertiary-200:oklch(81.6% .1 290.49);--color-tertiary-300:oklch(76.55% .13 286.63);--color-tertiary-400:oklch(71.31% .15 283.43);--color-tertiary-500:oklch(66.28% .18 280.87);--color-tertiary-600:oklch(58.39% .18 282.35);--color-tertiary-700:oklch(50.63% .18 283.21);--color-tertiary-800:oklch(42.59% .18 283.85);--color-tertiary-900:oklch(34.95% .18 283.03);--color-tertiary-950:oklch(27.57% .17 280.45);--color-tertiary-contrast-dark:var(--color-tertiary-950);--color-tertiary-contrast-light:var(--color-tertiary-50);--color-tertiary-contrast-50:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-100:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-200:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-300:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-400:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-500:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-600:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-700:var(--color-tertiary-contrast-light);--color-tertiary-contrast-800:var(--color-tertiary-contrast-light);--color-tertiary-contrast-900:var(--color-tertiary-contrast-light);--color-tertiary-contrast-950:var(--color-tertiary-contrast-light);--color-success-50:oklch(97.96% .12 108.35);--color-success-100:oklch(93.56% .14 115.38);--color-success-200:oklch(89.31% .16 120.22);--color-success-300:oklch(84.86% .18 124.21);--color-success-400:oklch(80.8% .19 127.53);--color-success-500:oklch(76.81% .2 130.85);--color-success-600:oklch(69.44% .19 133.05);--color-success-700:oklch(61.88% .18 135.65);--color-success-800:oklch(54.52% .17 138.28);--color-success-900:oklch(46.76% .15 140.76);--color-success-950:oklch(38.95% .13 142.5);--color-success-contrast-dark:var(--color-success-950);--color-success-contrast-light:var(--color-success-50);--color-success-contrast-50:var(--color-success-contrast-dark);--color-success-contrast-100:var(--color-success-contrast-dark);--color-success-contrast-200:var(--color-success-contrast-dark);--color-success-contrast-300:var(--color-success-contrast-dark);--color-success-contrast-400:var(--color-success-contrast-dark);--color-success-contrast-500:var(--color-success-contrast-dark);--color-success-contrast-600:var(--color-success-contrast-dark);--color-success-contrast-700:var(--color-success-contrast-light);--color-success-contrast-800:var(--color-success-contrast-light);--color-success-contrast-900:var(--color-success-contrast-light);--color-success-contrast-950:var(--color-success-contrast-light);--color-warning-50:oklch(97.87% .12 108.45);--color-warning-100:oklch(94.1% .14 103.73);--color-warning-200:oklch(90.39% .15 99.65);--color-warning-300:oklch(86.48% .16 95.56);--color-warning-400:oklch(82.95% .16 91.25);--color-warning-500:oklch(79.53% .16 86.04);--color-warning-600:oklch(70.68% .14 85.14);--color-warning-700:oklch(61.76% .12 84.62);--color-warning-800:oklch(52.18% .1 83.48);--color-warning-900:oklch(42.49% .08 81.81);--color-warning-950:oklch(31.98% .06 75.91);--color-warning-contrast-dark:var(--color-warning-950);--color-warning-contrast-light:var(--color-warning-50);--color-warning-contrast-50:var(--color-warning-contrast-dark);--color-warning-contrast-100:var(--color-warning-contrast-dark);--color-warning-contrast-200:var(--color-warning-contrast-dark);--color-warning-contrast-300:var(--color-warning-contrast-dark);--color-warning-contrast-400:var(--color-warning-contrast-dark);--color-warning-contrast-500:var(--color-warning-contrast-dark);--color-warning-contrast-600:var(--color-warning-contrast-dark);--color-warning-contrast-700:var(--color-warning-contrast-light);--color-warning-contrast-800:var(--color-warning-contrast-light);--color-warning-contrast-900:var(--color-warning-contrast-light);--color-warning-contrast-950:var(--color-warning-contrast-light);--color-error-50:oklch(91.14% .07 332.14);--color-error-100:oklch(82.94% .11 339.91);--color-error-200:oklch(75.2% .14 345.21);--color-error-300:oklch(68.13% .18 348.96);--color-error-400:oklch(62.02% .21 353.41);--color-error-500:oklch(57.22% .22 358.61);--color-error-600:oklch(51.7% .2 358.74);--color-error-700:oklch(46.21% .18 358.64);--color-error-800:oklch(40.37% .16 358.83);--color-error-900:oklch(34.48% .13 358.66);--color-error-950:oklch(28.04% .11 358.71);--color-error-contrast-dark:var(--color-error-950);--color-error-contrast-light:var(--color-error-50);--color-error-contrast-50:var(--color-error-contrast-dark);--color-error-contrast-100:var(--color-error-contrast-dark);--color-error-contrast-200:var(--color-error-contrast-dark);--color-error-contrast-300:var(--color-error-contrast-dark);--color-error-contrast-400:var(--color-error-contrast-dark);--color-error-contrast-500:var(--color-error-contrast-light);--color-error-contrast-600:var(--color-error-contrast-light);--color-error-contrast-700:var(--color-error-contrast-light);--color-error-contrast-800:var(--color-error-contrast-light);--color-error-contrast-900:var(--color-error-contrast-light);--color-error-contrast-950:var(--color-error-contrast-light);--color-surface-50:oklch(97.59% 0 264.7);--color-surface-100:oklch(88.12% .01 261.81);--color-surface-200:oklch(78.51% .02 265.97);--color-surface-300:oklch(68.49% .03 264.38);--color-surface-400:oklch(58.25% .04 265.77);--color-surface-500:oklch(47.47% .05 264.53);--color-surface-600:oklch(42.05% .05 264.5);--color-surface-700:oklch(36.45% .05 264.44);--color-surface-800:oklch(31.02% .04 264.35);--color-surface-900:oklch(24.95% .04 264.15);--color-surface-950:oklch(18.53% .04 263.67);--color-surface-contrast-dark:var(--color-surface-950);--color-surface-contrast-light:var(--color-surface-50);--color-surface-contrast-50:var(--color-surface-contrast-dark);--color-surface-contrast-100:var(--color-surface-contrast-dark);--color-surface-contrast-200:var(--color-surface-contrast-dark);--color-surface-contrast-300:var(--color-surface-contrast-dark);--color-surface-contrast-400:var(--color-surface-contrast-dark);--color-surface-contrast-500:var(--color-surface-contrast-light);--color-surface-contrast-600:var(--color-surface-contrast-light);--color-surface-contrast-700:var(--color-surface-contrast-light);--color-surface-contrast-800:var(--color-surface-contrast-light);--color-surface-contrast-900:var(--color-surface-contrast-light);--color-surface-contrast-950:var(--color-surface-contrast-light)}:scope#qv-start,:scope#qv-saves,:scope#questVivaDebugger,:scope#qv-restarting,:scope#qv-recording{font-family:var(--font-sans)}:scope#qv-start{z-index:9999;background:var(--color-surface-950);justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}:scope#qv-restarting{z-index:9999;background:var(--color-surface-950);justify-content:center;align-items:center;display:flex;position:fixed;inset:0}:scope#qv-restarting.hidden{display:none}:scope#qv-recording{z-index:1400;position:fixed;top:.75rem;right:.75rem}:scope#qv-recording.hidden{display:none}:scope#qv-saves{border:none;border-radius:.75rem;width:100%;max-width:28rem;padding:0}:scope#qv-saves::backdrop{background:#00000080}:scope#qv-saves[data-mode=boot] .qv-manage-only,:scope#qv-saves[data-mode=boot] [data-delete-slot],:scope#qv-saves[data-mode=manage] [data-mode-text=boot]{display:none}:scope#qv-saves #qv-saves-list{font-size:var(--text-base)}:scope#questVivaDebugger{border:1px solid var(--color-surface-300-700);z-index:1500;box-shadow:var(--shadow-xl,0 20px 25px -5px #00000026, 0 8px 10px -6px #00000026);border-radius:.75rem;margin:0;padding:0;position:fixed}#qv-debugger-titlebar{cursor:move;touch-action:none}:scope.qv-debugger-drag-active{-webkit-user-select:none;user-select:none}#qv-debugger-card{position:relative;container:qv-debugger-card/inline-size}#qv-debugger-resize-handle{cursor:nwse-resize;touch-action:none;width:1rem;height:1rem;position:absolute;bottom:0;right:0}#qv-debugger-resize-handle:before{content:"";border-right:2px solid var(--color-surface-400-600);border-bottom:2px solid var(--color-surface-400-600);width:.5rem;height:.5rem;position:absolute;bottom:.25rem;right:.25rem}#qv-debugger-splitter{cursor:col-resize;touch-action:none;flex-shrink:0;width:.75rem;margin-inline:-.25rem;position:relative}#qv-debugger-splitter:after{content:"";background:var(--color-surface-300-700);inset-block:0;width:1px;position:absolute;left:50%}#qv-debugger-splitter:hover:after,#qv-debugger-splitter.qv-debugger-dragging:after{background:var(--color-primary-500);width:2px}#qv-debugger-list{flex-direction:column;min-height:0;display:flex}#qv-debugger-list-sort{text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;width:100%;font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.05em;color:var(--color-surface-500);border:none;border-bottom:1px solid var(--color-surface-300-700);background:0 0;flex-shrink:0;margin-bottom:.25rem;padding:.25rem .5rem .5rem;display:block}#qv-debugger-list-sort:hover{color:var(--color-surface-900-100)}#qv-debugger-list-items{flex:auto;min-height:0;overflow-y:auto}#qv-debugger-detail{flex-direction:column;padding-left:.5rem;display:flex}.qv-debugger-scroll{flex:auto;min-height:0;overflow:auto}.qv-debugger-footer{border-top:1px solid var(--color-surface-300-700);flex-shrink:0;margin-top:.75rem;padding-top:.75rem}@container qv-debugger-card (max-width:640px){#qv-debugger-panes{flex-direction:column}#qv-debugger-list{flex-shrink:0;max-height:40%;width:100%!important}#qv-debugger-splitter{display:none}#qv-debugger-detail{padding-top:.75rem;padding-left:0}}.qv-debugger-list-item{text-align:left;border-radius:var(--radius-base);width:100%;font-size:var(--text-sm);padding:.375rem .5rem;display:block}.qv-debugger-list-item:hover{background:var(--color-surface-200-800)}.qv-debugger-list-item.qv-debugger-row-selected:hover{background:var(--color-primary-600)}.qv-debugger-input{border-radius:var(--radius-base);width:100%;padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 3);border:1px solid var(--color-surface-300-700);background-color:var(--color-surface-50-950);color:inherit}.qv-debugger-input:focus{outline:2px solid var(--color-primary-500);outline-offset:-1px}.qv-debugger-table{table-layout:fixed;width:100%}.qv-debugger-table th,.qv-debugger-table td{overflow-wrap:break-word;vertical-align:top}.qv-debugger-table tbody td{border-bottom:1px solid var(--color-surface-200-800);padding-block:.375rem}.qv-debugger-table thead th{text-align:left;font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.05em;color:var(--color-surface-500);border-bottom:1px solid var(--color-surface-300-700);padding-bottom:.5rem;position:relative}.qv-debugger-col-resize{cursor:col-resize;touch-action:none;z-index:1;width:.75rem;position:absolute;top:0;bottom:0;right:-.375rem}.qv-debugger-col-resize:hover,.qv-debugger-col-resize.qv-debugger-dragging{background:var(--color-primary-500);opacity:.5}#qv-debugger-detail [data-attr-row]{cursor:pointer}#qv-debugger-detail [data-sort-col]{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}#qv-debugger-detail [data-sort-col]:hover{color:var(--color-surface-900-100)}.qv-debugger-row-inherited{color:var(--color-surface-500)}.qv-debugger-row-selected{background:var(--color-primary-500);color:var(--color-primary-contrast-500)}.qv-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:1.25rem;height:1.25rem}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
22
22
  }
package/index.html CHANGED
@@ -36,7 +36,7 @@
36
36
  <script type="text/javascript" src="playercore.js"></script>
37
37
  <script type="text/javascript" src="player.js"></script>
38
38
  <script type="text/javascript" src="lib/paper.js"></script>
39
- <script>window.QuestVivaVersion = "6.0.0-beta.54";</script>
39
+ <script>window.QuestVivaVersion = "6.0.0-beta.55";</script>
40
40
  <script type="text/javascript" src="wasm-player.js"></script>
41
41
  </head>
42
42
  <body>
@@ -123,7 +123,7 @@
123
123
  </div>
124
124
  </div>
125
125
 
126
- <dialog id="qv-saves" class="qv-chrome" data-mode="boot">
126
+ <dialog id="qv-saves" class="qv-chrome" data-mode="boot" aria-labelledby="qv-saves-heading-boot">
127
127
  <svg style="display:none">
128
128
  <defs>
129
129
  <symbol id="x" viewBox="0 0 24 24">
@@ -147,8 +147,8 @@
147
147
  </svg>
148
148
  <div class="card preset-filled-surface-100-900 w-full p-6 space-y-4" data-theme="wintry">
149
149
  <div class="flex items-start justify-between gap-4">
150
- <h2 class="h3" data-mode-text="boot" data-chrome-key="ContinueYourGamePrompt">Continue your game?</h2>
151
- <h2 class="h3 qv-manage-only" data-mode-text="manage" data-chrome-key="SaveLoadTitle">Save / Load</h2>
150
+ <h2 class="h3" id="qv-saves-heading-boot" data-mode-text="boot" data-chrome-key="ContinueYourGamePrompt">Continue your game?</h2>
151
+ <h2 class="h3 qv-manage-only" id="qv-saves-heading-manage" data-mode-text="manage" data-chrome-key="SaveLoadTitle">Save / Load</h2>
152
152
  <button id="qv-saves-close" type="button" class="qv-manage-only btn-icon preset-tonal-surface" aria-label="Close" data-chrome-key-aria-label="CloseDialog">
153
153
  <svg class="qv-icon" aria-hidden="true"><use href="#x"></use></svg>
154
154
  </button>
@@ -165,7 +165,7 @@
165
165
  <div class="qv-manage-only space-y-3">
166
166
  <hr class="hr">
167
167
  <div class="flex gap-2">
168
- <input id="qv-saves-name-input" class="input" type="text" placeholder="Save name" autocomplete="off" data-chrome-key-placeholder="SaveNamePlaceholder">
168
+ <input id="qv-saves-name-input" class="input" type="text" placeholder="Save name" aria-label="Save name" autocomplete="off" data-chrome-key-placeholder="SaveNamePlaceholder" data-chrome-key-aria-label="SaveNamePlaceholder">
169
169
  <button id="qv-saves-save-new" type="button" class="btn preset-filled-primary-500" data-chrome-key="SaveNew">Save new</button>
170
170
  </div>
171
171
  <div class="flex gap-2">
@@ -188,10 +188,10 @@
188
188
  so the whole card is a flex column filling exactly the applied
189
189
  width/height — #qv-debugger-panes (and List/Detail inside it) flex-fill
190
190
  the remaining vertical space rather than a fixed rem height. -->
191
- <dialog id="questVivaDebugger" class="qv-chrome">
191
+ <dialog id="questVivaDebugger" class="qv-chrome" aria-labelledby="qv-debugger-heading">
192
192
  <div class="card preset-filled-surface-100-900 p-6 flex flex-col h-full" id="qv-debugger-card" data-theme="wintry">
193
193
  <div id="qv-debugger-titlebar" class="flex items-start justify-between gap-4 mb-4">
194
- <h2 class="h3">Debugger</h2>
194
+ <h2 class="h3" id="qv-debugger-heading">Debugger</h2>
195
195
  <button id="qv-debugger-close" type="button" class="btn-icon preset-tonal-surface" aria-label="Close">
196
196
  <svg class="qv-icon" aria-hidden="true"><use href="#x"></use></svg>
197
197
  </button>
@@ -200,7 +200,10 @@
200
200
  <div id="qv-debugger-tabs" class="flex flex-wrap gap-2 mb-4"></div>
201
201
 
202
202
  <div class="flex flex-1" id="qv-debugger-panes" style="min-height:0">
203
- <ul id="qv-debugger-list" class="space-y-1 shrink-0 overflow-y-auto"></ul>
203
+ <div id="qv-debugger-list" class="shrink-0">
204
+ <button type="button" id="qv-debugger-list-sort"><span class="qv-debugger-sort-label">Name</span></button>
205
+ <ul id="qv-debugger-list-items" class="space-y-1"></ul>
206
+ </div>
204
207
  <div id="qv-debugger-splitter" role="separator" aria-orientation="vertical" aria-label="Resize object list"></div>
205
208
  <div id="qv-debugger-detail" class="flex-1 overflow-y-auto text-sm">
206
209
  <p class="text-surface-500">Select an item to view details.</p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textadventures/quest-viva-wasmplayer",
3
- "version": "6.0.0-beta.54",
3
+ "version": "6.0.0-beta.55",
4
4
  "private": false,
5
5
  "description": "Quest Viva WasmPlayer runtime (browser-WASM text adventure player), published for CDN-linked single-file game exports.",
6
6
  "license": "MIT",
package/playercore.css CHANGED
@@ -215,6 +215,19 @@ h3 .accordion-header-text {
215
215
  padding-left: 1.8em;
216
216
  }
217
217
 
218
+ button.accordion-header-text {
219
+ display: block;
220
+ width: 100%;
221
+ text-align: left;
222
+ -webkit-appearance: none;
223
+ appearance: none;
224
+ border: none;
225
+ background: transparent;
226
+ font: inherit;
227
+ color: inherit;
228
+ cursor: pointer;
229
+ }
230
+
218
231
  #gamePanes .ui-widget {
219
232
  font-size: 12px;
220
233
  }
package/playercore.htm CHANGED
@@ -3,7 +3,7 @@
3
3
  <div id="controlButtons">
4
4
  <button id="cmdDebug" style="display: none" type="button">Debug</button>
5
5
  <button id="cmdSave" type="button" data-chrome-key="SaveLoadTitle">Save / Load</button>
6
- <button id="cmdShowPanes" type="button">&#9776;</button>
6
+ <button id="cmdShowPanes" type="button" data-chrome-key-aria-label="ShowPanesButton" aria-label="Show panels">&#9776;</button>
7
7
  </div>
8
8
  <div id="location">
9
9
  </div>
@@ -11,7 +11,7 @@
11
11
  <div id="sidebar">
12
12
  <div id="gamePanes" style="background:transparent;">
13
13
  <div id="gamePanesRunning">
14
- <h3 id="inventoryLabel"><span class="accordion-header-text">Inventory</span></h3>
14
+ <h3 id="inventoryLabel"><button type="button" class="accordion-header-text" aria-controls="inventoryAccordion" aria-expanded="true">Inventory</button></h3>
15
15
  <div id="inventoryAccordion">
16
16
  <div class="elementListWrapper" id="inventoryWrapper">
17
17
  <ol class="elementList" id="lstInventory">
@@ -38,12 +38,12 @@
38
38
  type="button"></button>
39
39
  </div>
40
40
  </div>
41
- <h3 id="statusVarsLabel"><span class="accordion-header-text">Status</span></h3>
41
+ <h3 id="statusVarsLabel"><button type="button" class="accordion-header-text" aria-controls="statusVarsAccordion" aria-expanded="true">Status</button></h3>
42
42
  <div id="statusVarsAccordion">
43
43
  <div id="statusVars">
44
44
  </div>
45
45
  </div>
46
- <h3 id="placesObjectsLabel"><span class="accordion-header-text">Places and Objects</span></h3>
46
+ <h3 id="placesObjectsLabel"><button type="button" class="accordion-header-text" aria-controls="placesObjectsAccordion" aria-expanded="true">Places and Objects</button></h3>
47
47
  <div id="placesObjectsAccordion">
48
48
  <div class="elementListWrapper" id="placesObjectsWrapper">
49
49
  <ol class="elementList" id="lstPlacesObjects">
@@ -78,7 +78,7 @@
78
78
  style="border-radius: 5px;text-align:center;display:none;padding:2px;min-height: 25px;margin-top:10px; border-top:1px solid rgb(121, 183, 231)">
79
79
  <h3><span class="accordion-header-text">Status</span></h3>
80
80
  </div>
81
- <h3 id="compassLabel"><span class="accordion-header-text">Compass</span></h3>
81
+ <h3 id="compassLabel"><button type="button" class="accordion-header-text" aria-controls="compassAccordion" aria-expanded="true">Compass</button></h3>
82
82
  <div id="compassAccordion">
83
83
  <table id="compassTable">
84
84
  <tr>
@@ -87,23 +87,24 @@
87
87
  <tr>
88
88
  <td>
89
89
  <button class="compassbutton" id="cmdCompassNW" onclick="compassClick(_compassDirs[0]);"
90
- title="go northwest"
90
+ title="go northwest" aria-label="go northwest"
91
91
  type="button"></button>
92
92
  </td>
93
93
  <td>
94
94
  <button class="compassbutton" id="cmdCompassN" onclick="compassClick(_compassDirs[1]);"
95
- title="go north"
95
+ title="go north" aria-label="go north"
96
96
  type="button"></button>
97
97
  </td>
98
98
  <td>
99
99
  <button class="compassbutton" id="cmdCompassNE" onclick="compassClick(_compassDirs[2]);"
100
- title="go northeast"
100
+ title="go northeast" aria-label="go northeast"
101
101
  type="button"></button>
102
102
  </td>
103
103
  </tr>
104
104
  <tr>
105
105
  <td>
106
106
  <button class="compassbutton" id="cmdCompassW" onclick="compassClick(_compassDirs[3]);" title="go west"
107
+ aria-label="go west"
107
108
  type="button"></button>
108
109
  </td>
109
110
  <td>
@@ -111,23 +112,24 @@
111
112
  </td>
112
113
  <td>
113
114
  <button class="compassbutton" id="cmdCompassE" onclick="compassClick(_compassDirs[4]);" title="go east"
115
+ aria-label="go east"
114
116
  type="button"></button>
115
117
  </td>
116
118
  </tr>
117
119
  <tr>
118
120
  <td>
119
121
  <button class="compassbutton" id="cmdCompassSW" onclick="compassClick(_compassDirs[5]);"
120
- title="go southwest"
122
+ title="go southwest" aria-label="go southwest"
121
123
  type="button"></button>
122
124
  </td>
123
125
  <td>
124
126
  <button class="compassbutton" id="cmdCompassS" onclick="compassClick(_compassDirs[6]);"
125
- title="go south"
127
+ title="go south" aria-label="go south"
126
128
  type="button"></button>
127
129
  </td>
128
130
  <td>
129
131
  <button class="compassbutton" id="cmdCompassSE" onclick="compassClick(_compassDirs[7]);"
130
- title="go southeast"
132
+ title="go southeast" aria-label="go southeast"
131
133
  type="button"></button>
132
134
  </td>
133
135
  </tr>
@@ -138,10 +140,12 @@
138
140
  <tr>
139
141
  <td>
140
142
  <button class="compassbutton" id="cmdCompassU" onclick="compassClick(_compassDirs[8]);" title="go up"
143
+ aria-label="go up"
141
144
  type="button"></button>
142
145
  </td>
143
146
  <td>
144
147
  <button class="compassbutton" id="cmdCompassIn" onclick="compassClick(_compassDirs[10]);" title="go in"
148
+ aria-label="go in"
145
149
  type="button">in
146
150
  </button>
147
151
  </td>
@@ -149,11 +153,12 @@
149
153
  <tr>
150
154
  <td>
151
155
  <button class="compassbutton" id="cmdCompassD" onclick="compassClick(_compassDirs[9]);" title="go down"
156
+ aria-label="go down"
152
157
  type="button"></button>
153
158
  </td>
154
159
  <td>
155
160
  <button class="compassbutton" id="cmdCompassOut" onclick="compassClick(_compassDirs[11]);"
156
- title="go out"
161
+ title="go out" aria-label="go out"
157
162
  type="button">out
158
163
  </button>
159
164
  </td>
@@ -174,7 +179,7 @@
174
179
  <div id="gamePanel"></div>
175
180
  <div id="gridPanel"></div>
176
181
  <div id="gameContent">
177
- <div id="divOutput">
182
+ <div id="divOutput" role="log" aria-live="polite">
178
183
  <div data-divcount="0" id="outputData" style="display: none"></div>
179
184
  <h1 id="gameTitle">
180
185
  Loading...</h1>
@@ -189,6 +194,7 @@
189
194
  <input autofocus id="txtCommand" onkeydown="return commandKey(event);" placeholder="Type here..."
190
195
  type="text"
191
196
  autocapitalize="off"
197
+ data-chrome-key-aria-label="CommandInputLabel" aria-label="Type your command"
192
198
  x-webkit-speech/>
193
199
  </div>
194
200
  </div>
package/playercore.js CHANGED
@@ -57,8 +57,17 @@ function initPlayerUI() {
57
57
  }
58
58
  });
59
59
 
60
- $("#gameBorder button").button();
60
+ // Excludes the accordion header buttons (.accordion-header-text) - the
61
+ // multiOpenAccordion plugin below already styles those itself
62
+ // (.ui-accordion-header etc.), and jQuery UI's own .button() widget would
63
+ // wrap their text in a nested .ui-button-text span, breaking the plain
64
+ // .html(text) writes setInterfaceString does against them.
65
+ $("#gameBorder button:not(.accordion-header-text)").button();
61
66
  $("#gamePanesRunning").multiOpenAccordion({active: [0, 1, 2, 3]});
67
+ $("#gamePanesRunning").on("multiopenaccordiontabshown multiopenaccordiontabhidden", function (event, ui) {
68
+ ui.tab.children("button.accordion-header-text")
69
+ .attr("aria-expanded", event.type === "multiopenaccordiontabshown");
70
+ });
62
71
  showStatusVisible(false);
63
72
 
64
73
  const cmdSave = document.getElementById("cmdSave");
@@ -159,6 +168,23 @@ function initPlayerUI() {
159
168
  }
160
169
  });
161
170
 
171
+ // .cmdlink links (.elementmenu/.exitlink/.commandlink above, plus the bare
172
+ // ShowMenu-style links with their own inline onclick) are all <a> elements
173
+ // with no href, so activating one by keyboard needs an explicit Enter/Space
174
+ // handler - the browser only auto-fires click on Enter for a real link/button.
175
+ // Delegated here (not baked into each class's own click handler above) so it
176
+ // covers every .cmdlink regardless of which Core.aslx function produced it,
177
+ // and - unlike the tabindex="0" on the link markup itself, which only reaches
178
+ // games saved after this change (see CLAUDE.md's Core library semantics) -
179
+ // this part is shared player-chrome JS, so it also benefits any already-
180
+ // published game whose links happen to already be focusable some other way.
181
+ $(document).on("keydown", ".cmdlink", function (event) {
182
+ if (event.key === "Enter" || event.key === " ") {
183
+ event.preventDefault();
184
+ this.click();
185
+ }
186
+ });
187
+
162
188
  // ShowMenu (and anything built on it - Ask, disambiguation) renders each
163
189
  // choice as a bare <a class="cmdlink" onclick="ASLEvent(...)"> baked into the
164
190
  // game's own compiled script - unlike .commandlink, it gets no client-side
@@ -313,6 +339,7 @@ function initPlayerUI() {
313
339
 
314
340
  function loadHtml(html) {
315
341
  $("#divOutput").html(html);
342
+ makeCmdlinksFocusable($("#divOutput"));
316
343
  // The injected HTML carries its own divOutputAlign<N> ids from whenever the
317
344
  // game was saved, but _currentDiv/_divCount (used by addText/createNewDiv)
318
345
  // are untouched by the line above. If a div was already created before this
@@ -436,6 +463,38 @@ function runCommand() {
436
463
  }
437
464
  }
438
465
 
466
+ // jQuery UI's dialog widget puts role="dialog"/aria-labelledby on the wrapper it
467
+ // creates around #msgbox (accessible via the "widget" API, not #msgbox itself -
468
+ // see _createWrapper in jquery-ui.min.js), wires aria-labelledby to the title bar
469
+ // automatically, and moves focus to the first button in the button pane on open -
470
+ // never to the wrapper itself. It does NOT wire the dialog's own body text
471
+ // (#msgboxCaption, set separately by each caller below) to anything.
472
+ //
473
+ // aria-describedby on the wrapper alone isn't enough: a screen reader computes a
474
+ // focused element's accessible description from *that element's own*
475
+ // aria-describedby, not an ancestor's, and jQuery UI's initial focus lands on a
476
+ // button, not the wrapper - confirmed by manual testing (VoiceOver/NVDA read the
477
+ // dialog's title on open but never the actual message). Setting it on the buttons
478
+ // too closes that gap regardless of which one ends up focused.
479
+ //
480
+ // That still reads button-before-message though ("Yes, button" - only *then* the
481
+ // question, since the description is announced as part of the focused button, not
482
+ // before it) - confirmed by manual testing again. jQuery UI's own _focusTabbable
483
+ // always prefers a tabbable control over the wrapper (see jquery-ui.min.js), so
484
+ // explicitly re-focusing the wrapper (tabIndex=-1, already set by its own
485
+ // _createWrapper) right after "open" overrides that: focus lands on the
486
+ // role="dialog" element itself first, which reads title + description together in
487
+ // the right order, and Tab from there reaches the buttons - the WAI-ARIA APG's
488
+ // "focus the dialog when content must be read before interaction" pattern.
489
+ function openMsgbox(options) {
490
+ $("#msgbox").dialog(options);
491
+ var $widget = $("#msgbox").dialog("widget");
492
+ $widget.attr("aria-describedby", "msgboxCaption");
493
+ $widget.find(".ui-dialog-buttonpane button").attr("aria-describedby", "msgboxCaption");
494
+ $("#msgbox").dialog("open");
495
+ $widget.trigger("focus");
496
+ }
497
+
439
498
  function showQuestion(title) {
440
499
  $("#msgboxCaption").html(title);
441
500
 
@@ -462,8 +521,7 @@ function showQuestion(title) {
462
521
  } // suppresses "close" button
463
522
  };
464
523
 
465
- $("#msgbox").dialog(msgboxOptions);
466
- $("#msgbox").dialog("open");
524
+ openMsgbox(msgboxOptions);
467
525
  }
468
526
 
469
527
  function uiShow(element) {
@@ -752,18 +810,18 @@ function setCompassDirections(directions) {
752
810
  } else {
753
811
  _compassDirs = directions;
754
812
  }
755
- $("#cmdCompassNW").attr("title", _compassDirs[0]);
756
- $("#cmdCompassN").attr("title", _compassDirs[1]);
757
- $("#cmdCompassNE").attr("title", _compassDirs[2]);
758
- $("#cmdCompassW").attr("title", _compassDirs[3]);
759
- $("#cmdCompassE").attr("title", _compassDirs[4]);
760
- $("#cmdCompassSW").attr("title", _compassDirs[5]);
761
- $("#cmdCompassS").attr("title", _compassDirs[6]);
762
- $("#cmdCompassSE").attr("title", _compassDirs[7]);
763
- $("#cmdCompassU").attr("title", _compassDirs[8]);
764
- $("#cmdCompassD").attr("title", _compassDirs[9]);
765
- $("#cmdCompassIn").attr("title", _compassDirs[10]);
766
- $("#cmdCompassOut").attr("title", _compassDirs[11]);
813
+ $("#cmdCompassNW").attr("title", _compassDirs[0]).attr("aria-label", _compassDirs[0]);
814
+ $("#cmdCompassN").attr("title", _compassDirs[1]).attr("aria-label", _compassDirs[1]);
815
+ $("#cmdCompassNE").attr("title", _compassDirs[2]).attr("aria-label", _compassDirs[2]);
816
+ $("#cmdCompassW").attr("title", _compassDirs[3]).attr("aria-label", _compassDirs[3]);
817
+ $("#cmdCompassE").attr("title", _compassDirs[4]).attr("aria-label", _compassDirs[4]);
818
+ $("#cmdCompassSW").attr("title", _compassDirs[5]).attr("aria-label", _compassDirs[5]);
819
+ $("#cmdCompassS").attr("title", _compassDirs[6]).attr("aria-label", _compassDirs[6]);
820
+ $("#cmdCompassSE").attr("title", _compassDirs[7]).attr("aria-label", _compassDirs[7]);
821
+ $("#cmdCompassU").attr("title", _compassDirs[8]).attr("aria-label", _compassDirs[8]);
822
+ $("#cmdCompassD").attr("title", _compassDirs[9]).attr("aria-label", _compassDirs[9]);
823
+ $("#cmdCompassIn").attr("title", _compassDirs[10]).attr("aria-label", _compassDirs[10]);
824
+ $("#cmdCompassOut").attr("title", _compassDirs[11]).attr("aria-label", _compassDirs[11]);
767
825
  }
768
826
 
769
827
  function updateLocation(text) {
@@ -924,10 +982,24 @@ function addText(text) {
924
982
  if (savingTranscript && !noTranscript) {
925
983
  writeToTranscript(text);
926
984
  }
927
- getCurrentDiv().append(text);
985
+ var $div = getCurrentDiv();
986
+ $div.append(text);
987
+ makeCmdlinksFocusable($div);
928
988
  $("#divOutput").css("min-height", $("#divOutput").height());
929
989
  }
930
990
 
991
+ // .cmdlink links (.elementmenu/.exitlink/.commandlink/bare ShowMenu ones - see the
992
+ // keydown handler above) come from Engine/Core/*.aslx, which is inlined into each
993
+ // game at save/publish time - a game published before tabindex="0" was added there
994
+ // (see CLAUDE.md's Core library semantics) still emits links with no tabindex, so
995
+ // they'd never be reachable by keyboard no matter how new a *player* build runs
996
+ // them. Unlike that markup, this file is shared player-chrome JS with no per-game
997
+ // snapshot, so patching tabindex on here at the point each link enters the DOM
998
+ // closes the gap for every already-published game too, not just newly-saved ones.
999
+ function makeCmdlinksFocusable($scope) {
1000
+ $scope.find("a.cmdlink:not([tabindex])").attr("tabindex", "0");
1001
+ }
1002
+
931
1003
  function createNewDiv(alignment) {
932
1004
  var classes = _outputSections.join(" ");
933
1005
  setDivCount(getDivCount() + 1);
@@ -1170,16 +1242,16 @@ function addExternalStylesheet(source) {
1170
1242
  function setInterfaceString(name, text) {
1171
1243
  switch (name) {
1172
1244
  case "InventoryLabel":
1173
- $("#inventoryLabel span.accordion-header-text").html(text);
1245
+ $("#inventoryLabel button.accordion-header-text").html(text);
1174
1246
  break;
1175
1247
  case "StatusLabel":
1176
- $("#statusVarsLabel span.accordion-header-text").html(text);
1248
+ $("#statusVarsLabel button.accordion-header-text").html(text);
1177
1249
  break;
1178
1250
  case "PlacesObjectsLabel":
1179
- $("#placesObjectsLabel span.accordion-header-text").html(text);
1251
+ $("#placesObjectsLabel button.accordion-header-text").html(text);
1180
1252
  break;
1181
1253
  case "CompassLabel":
1182
- $("#compassLabel span.accordion-header-text").html(text);
1254
+ $("#compassLabel button.accordion-header-text").html(text);
1183
1255
  break;
1184
1256
  case "InButtonLabel":
1185
1257
  $("#cmdCompassIn span").html(text);
@@ -1689,8 +1761,7 @@ function showPopup(title, text) {
1689
1761
  closeOnEscape: false,
1690
1762
  };
1691
1763
 
1692
- $('#msgbox').dialog(msgboxOptions);
1693
- $('#msgbox').dialog('open');
1764
+ openMsgbox(msgboxOptions);
1694
1765
  }
1695
1766
 
1696
1767
  function showPopupCustomSize(title, text, width, height) {
@@ -1713,8 +1784,7 @@ function showPopupCustomSize(title, text, width, height) {
1713
1784
  closeOnEscape: false,
1714
1785
  };
1715
1786
 
1716
- $('#msgbox').dialog(msgboxOptions);
1717
- $('#msgbox').dialog('open');
1787
+ openMsgbox(msgboxOptions);
1718
1788
  }
1719
1789
 
1720
1790
  function showPopupFullscreen(title, text) {
@@ -1737,8 +1807,7 @@ function showPopupFullscreen(title, text) {
1737
1807
  closeOnEscape: false,
1738
1808
  };
1739
1809
 
1740
- $('#msgbox').dialog(msgboxOptions);
1741
- $('#msgbox').dialog('open');
1810
+ openMsgbox(msgboxOptions);
1742
1811
  }
1743
1812
 
1744
1813
  // Log functions
@@ -1873,8 +1942,15 @@ function SaveTranscript(text) {
1873
1942
  var transcriptUrl = 'TranscriptViewer/index.html';
1874
1943
 
1875
1944
  // Another fallback to avoid errors
1876
- function showTranscript() {
1877
- addTextAndScroll('Your transcripts are saved to the localStorage in your browser. You can view, download, or delete them here: <a href="' + transcriptUrl + '" target="_blank">Your Transcripts</a><br/>');
1945
+ // message/linkText are passed in by CoreCommands.aslx via translated templates
1946
+ // (Core/Languages/*.aslx). Games published before this was added have the old
1947
+ // zero-arg "JS.showTranscript ()" call baked into their package (Core library
1948
+ // scripts are inlined at publish time, but this JS file isn't), so fall back
1949
+ // to the original hardcoded English text when called without arguments.
1950
+ function showTranscript(message, linkText) {
1951
+ if (message == null) message = 'Your transcripts are saved to the localStorage in your browser. You can view, download, or delete them here:';
1952
+ if (linkText == null) linkText = 'Your Transcripts';
1953
+ addTextAndScroll(message + ' <a href="' + transcriptUrl + '" target="_blank">' + linkText + '</a><br/>');
1878
1954
  }
1879
1955
 
1880
1956
  function replaceTranscriptString(data) {
@@ -2354,8 +2430,19 @@ function Grid_DrawShape(id, border, fill, opacity) {
2354
2430
 
2355
2431
  (function ($) {
2356
2432
 
2433
+ // The element that opened the currently-shown menu, so keyboard close paths
2434
+ // (Escape/Tab) and the click-outside handler below can return focus to it -
2435
+ // otherwise focus is dropped to <body> and a keyboard user loses their place.
2436
+ var _jjmenuInvoker = null;
2437
+
2438
+ function closeMenu(restoreFocus) {
2439
+ $("div[id^=jjmenu]").remove();
2440
+ if (restoreFocus && _jjmenuInvoker) _jjmenuInvoker.focus();
2441
+ _jjmenuInvoker = null;
2442
+ }
2443
+
2357
2444
  $(document).click(function (event) {
2358
- if (event.button != 2) $("div[id^=jjmenu]").remove();
2445
+ if (event.button != 2) closeMenu(false);
2359
2446
  });
2360
2447
 
2361
2448
  $.fn.jjmenu = function (param) {
@@ -2363,13 +2450,13 @@ function Grid_DrawShape(id, border, fill, opacity) {
2363
2450
  event.preventDefault();
2364
2451
  event.stopPropagation();
2365
2452
  $(this).jjmenu_popup(param);
2366
- $(this).blur();
2367
2453
  return false;
2368
2454
  });
2369
2455
  };
2370
2456
 
2371
2457
  $.fn.jjmenu_popup = function (param) {
2372
2458
  var el = this;
2459
+ _jjmenuInvoker = el.get(0);
2373
2460
 
2374
2461
  if (typeof param === "undefined") {
2375
2462
  var verbs = el.data("verbs");
@@ -2392,6 +2479,7 @@ function Grid_DrawShape(id, border, fill, opacity) {
2392
2479
 
2393
2480
  m.className = "jjmenu";
2394
2481
  m.id = "jjmenu_main";
2482
+ m.setAttribute("role", "menu");
2395
2483
  $(m).css({display: 'none'});
2396
2484
  $(document.body).append(m);
2397
2485
 
@@ -2403,6 +2491,7 @@ function Grid_DrawShape(id, border, fill, opacity) {
2403
2491
 
2404
2492
  checkPosition();
2405
2493
  showMenu();
2494
+ $(ms).children().first().trigger("focus");
2406
2495
 
2407
2496
  function positionMenu() {
2408
2497
  var pos = $(el).offset();
@@ -2466,8 +2555,24 @@ function Grid_DrawShape(id, border, fill, opacity) {
2466
2555
  $(m).fadeIn(speed);
2467
2556
  }
2468
2557
 
2558
+ function activateItem(item, n) {
2559
+ closeMenu(false);
2560
+ n.action.callback(n.title);
2561
+ }
2562
+
2563
+ function moveFocus(fromItem, delta) {
2564
+ var items = $(ms).children().get();
2565
+ var index = items.indexOf(fromItem);
2566
+ var next = items[(index + delta + items.length) % items.length];
2567
+ $(next).trigger("focus");
2568
+ }
2569
+
2469
2570
  function putItem(n) {
2470
2571
  var item = document.createElement('div');
2572
+ item.className = "jj_menu_item";
2573
+ item.setAttribute("role", "menuitem");
2574
+ item.tabIndex = -1;
2575
+
2471
2576
  $(item).hover(function () {
2472
2577
  $(this).addClass("jj_menu_item_hover");
2473
2578
  },
@@ -2475,17 +2580,46 @@ function Grid_DrawShape(id, border, fill, opacity) {
2475
2580
  $(this).removeClass("jj_menu_item_hover");
2476
2581
  });
2477
2582
 
2583
+ $(item).on("focus", function () {
2584
+ $(this).addClass("jj_menu_item_hover");
2585
+ }).on("blur", function () {
2586
+ $(this).removeClass("jj_menu_item_hover");
2587
+ });
2588
+
2478
2589
  $(item).click(function (event) {
2479
2590
  event.stopPropagation();
2480
- $("div[id^=jjmenu]").remove();
2481
- n.action.callback(n.title);
2591
+ activateItem(item, n);
2592
+ });
2593
+
2594
+ $(item).on("keydown", function (event) {
2595
+ switch (event.key) {
2596
+ case "ArrowDown":
2597
+ event.preventDefault();
2598
+ moveFocus(item, 1);
2599
+ break;
2600
+ case "ArrowUp":
2601
+ event.preventDefault();
2602
+ moveFocus(item, -1);
2603
+ break;
2604
+ case "Enter":
2605
+ case " ":
2606
+ event.preventDefault();
2607
+ activateItem(item, n);
2608
+ break;
2609
+ case "Escape":
2610
+ event.preventDefault();
2611
+ event.stopPropagation();
2612
+ closeMenu(true);
2613
+ break;
2614
+ case "Tab":
2615
+ closeMenu(true);
2616
+ break;
2617
+ }
2482
2618
  });
2483
2619
 
2484
2620
  var span = document.createElement('span');
2485
2621
  $(item).append(span);
2486
2622
 
2487
- item.className = "jj_menu_item";
2488
-
2489
2623
  $(span).html(n.title);
2490
2624
  $(ms).append(item);
2491
2625
  }
package/wasm-player.js CHANGED
@@ -474,8 +474,14 @@ function swapInPlayerUi() {
474
474
  // beginning"/Load in an editor-preview session.
475
475
  let currentIsPreview = false;
476
476
 
477
- async function initWasmPlayer(gameBytes, filename, bc = null, saveBytes = null, isPreview = false, recordWalkthrough = null, runWalkthrough = null, adjacentFiles = null) {
477
+ // Same idea as currentIsPreview, but for the source=local .aslx case (see
478
+ // setCanDebug's call sites below) — kept separate from isPreview because it
479
+ // must NOT also disable Save or add the Restart button the way isPreview does.
480
+ let currentAllowDebug = false;
481
+
482
+ async function initWasmPlayer(gameBytes, filename, bc = null, saveBytes = null, isPreview = false, recordWalkthrough = null, runWalkthrough = null, adjacentFiles = null, allowDebug = false) {
478
483
  currentIsPreview = isPreview;
484
+ currentAllowDebug = allowDebug;
479
485
  const dotnetJsUrl = wasmPlayerScriptUrl
480
486
  ? new URL('_framework/dotnet.js', wasmPlayerScriptUrl).href
481
487
  : './_framework/dotnet.js';
@@ -611,10 +617,12 @@ async function initWasmPlayer(gameBytes, filename, bc = null, saveBytes = null,
611
617
  // BroadcastChannel (to hand off the picked file's bytes and answer
612
618
  // resource requests) but is a real play session and should offer saving.
613
619
  WebPlayer.setCanSave(!isPreview);
614
- // Only ever shown in editor-preview sessions (see the module doc comment
615
- // above the Debugger section) — never for a normal play session, even
620
+ // Shown in editor-preview sessions, and also in a source=local play
621
+ // session for a raw .aslx file specifically (allowDebug — see the
622
+ // source=local boot branch below, which is the only caller that ever
623
+ // passes it true) — never for any other normal play session, even
616
624
  // though the loaded game itself might have DebugEnabled true.
617
- WebPlayer.setCanDebug(isPreview && Bridge.IsDebugEnabled());
625
+ WebPlayer.setCanDebug((isPreview || allowDebug) && Bridge.IsDebugEnabled());
618
626
 
619
627
  await Bridge.Begin();
620
628
 
@@ -719,7 +727,7 @@ async function restartGameCore(saveBytes) {
719
727
  // restartGame reachable *from* a preview session too, hardcoding true
720
728
  // here would wrongly re-enable Save after a preview restart.
721
729
  WebPlayer.setCanSave(!currentIsPreview);
722
- WebPlayer.setCanDebug(currentIsPreview && Bridge.IsDebugEnabled());
730
+ WebPlayer.setCanDebug((currentIsPreview || currentAllowDebug) && Bridge.IsDebugEnabled());
723
731
  await Bridge.Begin();
724
732
  } finally {
725
733
  restartingEl?.classList.add('hidden');
@@ -729,7 +737,7 @@ async function restartGameCore(saveBytes) {
729
737
  // Wraps initWasmPlayer with the boot-time "Continue / New Game" prompt: if
730
738
  // saves already exist for this game, ask before committing to either the
731
739
  // fresh game or a chosen save. Used by all boot entry points below.
732
- async function startGame(bytes, filename, bc = null, gameIdOverride = null, isPreview = false, recordWalkthrough = null, runWalkthrough = null, adjacentFiles = null) {
740
+ async function startGame(bytes, filename, bc = null, gameIdOverride = null, isPreview = false, recordWalkthrough = null, runWalkthrough = null, adjacentFiles = null, allowDebug = false) {
733
741
  originalGameBytes = bytes;
734
742
  originalGameFilename = filename;
735
743
  originalAdjacentFiles = adjacentFiles;
@@ -769,7 +777,7 @@ async function startGame(bytes, filename, bc = null, gameIdOverride = null, isPr
769
777
  // by initWasmPlayer in that case) — callers with post-success work (e.g.
770
778
  // persisting the active URL) should key off this. Genuine setup failures
771
779
  // (fetch, WASM boot) still throw as before.
772
- return initWasmPlayer(bytes, filename, bc, saveBytes, isPreview, recordWalkthrough, runWalkthrough, adjacentFiles);
780
+ return initWasmPlayer(bytes, filename, bc, saveBytes, isPreview, recordWalkthrough, runWalkthrough, adjacentFiles, allowDebug);
773
781
  }
774
782
 
775
783
  // ── Start screen helpers ──────────────────────────────────────────────────────
@@ -1009,6 +1017,7 @@ async function openSavesDialog(mode, gameId = WebPlayer.gameId) {
1009
1017
  const dlg = document.getElementById('qv-saves');
1010
1018
  hideSavesError();
1011
1019
  dlg.dataset.mode = mode;
1020
+ dlg.setAttribute('aria-labelledby', mode === 'boot' ? 'qv-saves-heading-boot' : 'qv-saves-heading-manage');
1012
1021
  renderSavesList(await GameSaver.listSaves(gameId), mode);
1013
1022
 
1014
1023
  if (mode === 'boot') {
@@ -1022,10 +1031,11 @@ async function openSavesDialog(mode, gameId = WebPlayer.gameId) {
1022
1031
  }
1023
1032
 
1024
1033
  // ── Debugger (#questVivaDebugger) ─────────────────────────────────────────────
1025
- // Only ever opened in editor-preview sessions (see WebPlayer.setCanDebug's
1026
- // call site in initWasmPlayer/restartGame) — element browser, per-tab
1027
- // attribute inspector with a "hack your own game" override, and a walkthrough
1028
- // runner. Mirrors WebPlayer's Debugger/Attributes/Walkthrough.razor, which
1034
+ // Only ever opened in editor-preview sessions, or a source=local play session
1035
+ // for a raw .aslx file (see WebPlayer.setCanDebug's call sites in
1036
+ // initWasmPlayer/restartGame) — element browser, per-tab attribute inspector
1037
+ // with a "hack your own game" override, and a walkthrough runner. Mirrors
1038
+ // WebPlayer's Debugger/Attributes/Walkthrough.razor, which
1029
1039
  // drive IGameDebug directly as Blazor components; here the same data comes
1030
1040
  // over the bridge as JSON (Bridge.Get*Json — see WasmPlayerBridge.cs) for
1031
1041
  // plain-DOM rendering instead.
@@ -1033,6 +1043,13 @@ async function openSavesDialog(mode, gameId = WebPlayer.gameId) {
1033
1043
  let debuggerWired = false;
1034
1044
  let debuggerActiveTab = 'Walkthrough';
1035
1045
  let debuggerSelectedItem = null;
1046
+ // Sort direction for the left-hand object/walkthrough list's single "Name"
1047
+ // column — clicking #qv-debugger-list-sort toggles this (see
1048
+ // ensureDebuggerWired). Deliberately not reset when switching tabs/objects
1049
+ // (unlike debuggerAttrSort below): it's a display preference for the list
1050
+ // itself, not per-object state, so it should stay put as the user browses
1051
+ // around, the same way a real file manager's sort column does.
1052
+ let debuggerListSortAscending = true;
1036
1053
  // Name of the walkthrough currently running, or null — the source of truth
1037
1054
  // for the Run/Cancel/status UI, *not* the DOM elements themselves. Closing
1038
1055
  // and reopening the dialog (or switching tabs/objects) rebuilds
@@ -1307,12 +1324,20 @@ function renderDebuggerTabs(types) {
1307
1324
  // when a turn has made the currently-selected item (an object that got
1308
1325
  // destroyed, a timer that finished, ...) disappear from its own list.
1309
1326
  function renderDebuggerList() {
1310
- const list = document.getElementById('qv-debugger-list');
1327
+ const list = document.getElementById('qv-debugger-list-items');
1328
+ const sortLabel = document.querySelector('#qv-debugger-list-sort .qv-debugger-sort-label');
1329
+ if (sortLabel) sortLabel.textContent = 'Name' + (debuggerListSortAscending ? ' ▲' : ' ▼');
1330
+
1311
1331
  const items = debuggerActiveTab === 'Walkthrough'
1312
1332
  ? JSON.parse(Bridge.GetWalkthroughNamesJson())
1313
1333
  : JSON.parse(Bridge.GetDebugObjectsJson(debuggerActiveTab));
1334
+ // .slice() first — GetObjects/GetWalkthroughNamesJson return declaration
1335
+ // order, and refreshDebuggerAfterTurn's `items.includes(...)` check below
1336
+ // (in its own caller) has no need to see that order disturbed.
1337
+ const sorted = items.slice().sort((a, b) => a.localeCompare(b, undefined, { sensitivity: 'base' }));
1338
+ if (!debuggerListSortAscending) sorted.reverse();
1314
1339
 
1315
- if (!items.length) {
1340
+ if (!sorted.length) {
1316
1341
  list.innerHTML = '<li class="text-sm text-surface-500 px-2 py-1">Nothing here.</li>';
1317
1342
  return items;
1318
1343
  }
@@ -1320,7 +1345,7 @@ function renderDebuggerList() {
1320
1345
  // A plain selectable list, not hyperlinks — .qv-debugger-list-item is a
1321
1346
  // block row with its own hover/selected background (shares
1322
1347
  // .qv-debugger-row-selected with the attribute table below).
1323
- list.innerHTML = items.map(item => {
1348
+ list.innerHTML = sorted.map(item => {
1324
1349
  const selected = item === debuggerSelectedItem;
1325
1350
  return `<li><button type="button" class="qv-debugger-list-item${selected ? ' qv-debugger-row-selected' : ''}" data-item="${_esc(item)}" aria-selected="${selected}">${_esc(item)}</button></li>`;
1326
1351
  }).join('');
@@ -1620,10 +1645,10 @@ function ensureDebuggerWired() {
1620
1645
  });
1621
1646
 
1622
1647
  // Only needs setting once — #qv-debugger-list itself is never rebuilt
1623
- // (only its innerHTML, by renderDebuggerList), so this inline width
1624
- // survives every re-render and even a game restart (the dialog is on
1625
- // swapInPlayerUi's preserve-list). Subsequent changes come from dragging
1626
- // the splitter (wireDebuggerSplitter).
1648
+ // (only #qv-debugger-list-items' innerHTML, by renderDebuggerList), so
1649
+ // this inline width survives every re-render and even a game restart
1650
+ // (the dialog is on swapInPlayerUi's preserve-list). Subsequent changes
1651
+ // come from dragging the splitter (wireDebuggerSplitter).
1627
1652
  document.getElementById('qv-debugger-list').style.width = `${debuggerListWidth}px`;
1628
1653
 
1629
1654
  wireDebuggerMoveResize();
@@ -1645,6 +1670,12 @@ function ensureDebuggerWired() {
1645
1670
  });
1646
1671
 
1647
1672
  document.getElementById('qv-debugger-list').addEventListener('click', (e) => {
1673
+ if (e.target.closest('#qv-debugger-list-sort')) {
1674
+ debuggerListSortAscending = !debuggerListSortAscending;
1675
+ renderDebuggerList();
1676
+ return;
1677
+ }
1678
+
1648
1679
  const btn = e.target.closest('[data-item]');
1649
1680
  if (!btn) return;
1650
1681
  debuggerSelectedItem = btn.dataset.item;
@@ -2084,7 +2115,15 @@ async function fetchGameBytes(url) {
2084
2115
  // reassigns bc.onmessage itself to keep answering
2085
2116
  // 'resource-response' messages for the rest of the session.
2086
2117
  bc.onmessage = null;
2087
- await startGame(data.bytes, data.filename, bc, null, false, null, null, data.adjacentFiles ?? null);
2118
+ // A raw .aslx picked straight from the Play tab is an
2119
+ // author's own in-progress source file (unlike a packaged
2120
+ // .quest/.asl/.cas), so treat it like an editor preview for
2121
+ // Debug purposes — but only that, via the separate
2122
+ // allowDebug flag: Save/Restart still behave as a normal
2123
+ // play session (isPreview stays false) since a real save is
2124
+ // still wanted here.
2125
+ const allowDebug = /\.aslx$/i.test(data.filename ?? '');
2126
+ await startGame(data.bytes, data.filename, bc, null, false, null, null, data.adjacentFiles ?? null, allowDebug);
2088
2127
  }
2089
2128
  };
2090
2129
  return;