Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

67.7 KB
Raw Blame
<!doctype html>
<html lang="en">
	<head>
		<script>/* three.ws theme boot — no-flash; runtime in /theme-switcher.js */(function(){try{var m=localStorage.getItem('twx_theme');var l=m==='auto'?(window.matchMedia&&window.matchMedia('(prefers-color-scheme: light)').matches):m==='light';document.documentElement.setAttribute('data-theme',l?'light':'dark');}catch(e){document.documentElement.setAttribute('data-theme','dark');}})();</script>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<title data-i18n="pose.meta_title">Animation Studio · three.ws</title>
		<meta
			name="viewport"
			content="width=device-width, initial-scale=1, viewport-fit=cover"
		/>
		<meta name="author" content="nirholas" />
		<meta
			name="description"
			content="Pose and animate any three.ws avatar in your browser. Drag joints with IK, keyframe a timeline, preview live, then export an animated GLB. Save it to your account and sell your animations for USDC."
		 data-i18n-attr="content:pose.meta_description"/>
		<meta name="theme-color" content="#0b0b0b" />
		<link rel="icon" href="/favicon.ico" sizes="any" />
		<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
		<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
		<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
		<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
		<link rel="manifest" href="/manifest.webmanifest" />
		<link rel="stylesheet" href="/style.css" />
		<link rel="stylesheet" href="/footer.css" />
		<link rel="stylesheet" href="/nav.css" />
		<link rel="stylesheet" href="/fonts/fonts.css" />
		<link rel="stylesheet" href="/mobile.css" />

		<meta property="og:type" content="website" />
		<meta property="og:site_name" content="three.ws" />
		<meta property="og:title" content="Animation Studio · three.ws"  data-i18n-attr="content:pose.meta_og_title"/>
		<meta
			property="og:description"
			content="Pose and animate any three.ws avatar: IK posing, a keyframe timeline, live preview, animated-GLB export, and sell your animations for USDC."
		 data-i18n-attr="content:pose.meta_og_description"/>
		<meta property="og:url" content="https://three.ws/pose" />
	<meta property="og:image" content="https://three.ws/api/page-og?s=build&amp;t=Animation+Studio&amp;d=Pose+any+three.ws+avatar+or+the+built-in+mannequin+with+FK%2FIK%2C+keyframe+a+timeline%2C+and+preview+the+motion+live.+Export+an+animated+GLB+or+clip+JSON%2C+save&amp;p=%2Fpose" />
	<meta property="og:image:width" content="1200" />
	<meta property="og:image:height" content="630" />
	<meta name="twitter:card" content="summary_large_image" />
	<meta name="twitter:site" content="@trythreews" />
	<meta name="twitter:title" content="Animation Studio · three.ws"  data-i18n-attr="content:pose.meta_twitter_title"/>
	<meta name="twitter:description" content="Author animations for any three.ws avatar: IK posing, keyframe timeline, animated-GLB export. Save to your account and sell for USDC."  data-i18n-attr="content:pose.meta_twitter_description"/>
	<meta name="twitter:image" content="https://three.ws/api/page-og?s=build&amp;t=Animation+Studio&amp;d=Pose+any+three.ws+avatar+or+the+built-in+mannequin+with+FK%2FIK%2C+keyframe+a+timeline%2C+and+preview+the+motion+live.+Export+an+animated+GLB+or+clip+JSON%2C+save&amp;p=%2Fpose" />

		<style>
			:root {
				--bg: #000000;
				--panel: rgba(14, 14, 14, 0.78);
				--panel-solid: #141414;
				--border: rgba(255, 255, 255, 0.08);
				--border-strong: rgba(255, 255, 255, 0.16);
				--text: #fafafa;
				--text-2: #a1a1aa;
				/* #84848e, not #71717a: on the #000 bg 71717a measured 4.35:1, under
				   the 4.5:1 axe AA floor; 84848e measures 5.7:1. */
				--text-3: #84848e;
				--accent: #ffffff;
				--accent-2: #cccccc;
				--danger: #f87171;
				--ok: #ffffff;
				--nav-h: 69px;
			}
			html,
			body {
				margin: 0;
				padding: 0;
				width: 100%;
				min-height: 100%;
				background: var(--bg);
				color: var(--text);
				font-family:
					'Inter',
					system-ui,
					-apple-system,
					sans-serif;
				-webkit-font-smoothing: antialiased;
			}
			/* The studio is a focused tool: it fills the viewport beneath the
			   shared nav, with the shared footer reachable just below the fold. */
			#pose-app {
				position: relative;
				height: calc(100dvh - var(--nav-h));
				display: grid;
				grid-template-columns: 280px 1fr 320px;
				grid-template-rows: 52px 1fr auto;
				grid-template-areas:
					'top top top'
					'left stage right'
					'timeline timeline timeline';
				gap: 0;
			}

			/* ── Top bar ─────────────────────────────────────────── */
			#pose-top {
				grid-area: top;
				display: flex;
				align-items: center;
				gap: 6px;
				padding: 0 14px;
				border-bottom: 1px solid var(--border);
				background: rgba(0, 0, 0, 0.85);
				backdrop-filter: blur(10px);
				-webkit-backdrop-filter: blur(10px);
				z-index: 10;
				scrollbar-width: none;
			}
			/* Neutralize style.css's legacy `header:not(.nav)` chrome: it
			   forces height/line-height 56px (buttons inherit it via
			   `font: inherit` and balloon into oversized pills) and marks the
			   bar as an app-drag region. That selector hides an ID inside
			   :has(), so a bare #pose-top loses. Double the ID to outrank it.
			   The grid row sizes this bar; overflow-x is the narrow-width
			   safety net so buttons scroll instead of truncating mid-label. */
			#pose-app #pose-top {
				height: auto;
				line-height: 1.45;
				-webkit-app-region: no-drag;
				overflow-x: auto;
				overflow-y: hidden;
			}
			#pose-top::-webkit-scrollbar {
				display: none;
			}
			#pose-top > * {
				flex-shrink: 0;
			}
			#pose-top .brand {
				display: flex;
				align-items: center;
				gap: 8px;
				font-weight: 600;
				font-size: 14px;
				letter-spacing: 0.01em;
				color: var(--text);
			}
			#pose-top .brand h1 {
				margin: 0;
				font-weight: 600;
				font-size: 14px;
				letter-spacing: 0.01em;
				color: var(--text);
			}
			#pose-top .brand a {
				color: var(--text-2);
				text-decoration: none;
				font-weight: 500;
				font-size: 13px;
			}
			#pose-top .brand a:hover {
				color: var(--text);
			}
			#pose-top .sep {
				width: 1px;
				height: 22px;
				background: var(--border);
				margin: 0 4px;
			}
			.mode-group {
				display: flex;
				align-items: center;
				gap: 4px;
				padding: 3px;
				background: rgba(255, 255, 255, 0.04);
				border: 1px solid var(--border);
				border-radius: 999px;
			}
			.mode-btn {
				appearance: none;
				border: none;
				background: transparent;
				color: var(--text-2);
				font: inherit;
				font-size: 12.5px;
				padding: 5px 11px;
				border-radius: 999px;
				cursor: pointer;
				transition:
					background var(--duration-fast) var(--ease-standard),
					color var(--duration-fast) var(--ease-standard);
			}
			.mode-btn:hover {
				color: var(--text);
			}
			.mode-btn[aria-pressed='true'] {
				background: rgba(255, 255, 255, 0.18);
				color: var(--ink);
			}
			#pose-undo,
			#pose-redo {
				font-size: 15px;
				line-height: 1;
			}
			.spacer {
				flex: 1;
			}
			.pose-btn {
				appearance: none;
				border: 1px solid var(--border);
				background: rgba(255, 255, 255, 0.04);
				color: var(--text);
				font: inherit;
				font-size: 12.5px;
				font-weight: 500;
				padding: 6px 12px;
				border-radius: 999px;
				cursor: pointer;
				display: inline-flex;
				align-items: center;
				gap: 6px;
				transition:
					background var(--duration-fast) var(--ease-standard),
					border-color var(--duration-fast) var(--ease-standard);
			}
			.pose-btn:hover {
				background: rgba(255, 255, 255, 0.08);
				border-color: var(--border-strong);
			}
			.pose-btn-primary {
				background: rgba(255, 255, 255, 0.22);
				border-color: rgba(255, 255, 255, 0.45);
				color: var(--ink);
			}
			.pose-btn-primary:hover {
				background: rgba(255, 255, 255, 0.32);
			}
			.pose-btn-ghost {
				background: transparent;
				border-style: dashed;
				color: var(--text-2);
				width: 100%;
				justify-content: center;
				margin-top: 8px;
			}
			.pose-btn:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 2px;
			}
			.pose-btn:disabled {
				opacity: 0.38;
				cursor: not-allowed;
			}
			#pose-top .pose-btn:disabled:hover {
				background: transparent;
				color: var(--text-2);
			}

			/* Top-bar buttons read as a calm toolbar: quiet until hover,
			   so the single primary (Save) is the only thing that pops. */
			#pose-top .pose-btn {
				background: transparent;
				border-color: transparent;
				color: var(--text-2);
			}
			#pose-top .pose-btn:hover {
				background: rgba(255, 255, 255, 0.07);
				border-color: transparent;
				color: var(--text);
			}
			#pose-top .pose-btn-primary {
				background: rgba(255, 255, 255, 0.2);
				border-color: rgba(255, 255, 255, 0.4);
				color: var(--ink);
			}
			#pose-top .pose-btn-primary:hover {
				background: rgba(255, 255, 255, 0.3);
				color: #ffffff;
			}

			.file-label {
				cursor: pointer;
			}
			.file-label input[type='file'] {
				display: none;
			}

			/* Overflow ("More") menu: low-frequency toolbar actions live here so
			   the top bar never truncates at laptop widths. The panel is
			   position:fixed and placed from the trigger's rect in JS, so the
			   scrollable top bar can never clip it. */
			#pose-more {
				font-size: 16px;
				letter-spacing: 0.08em;
				padding: 6px 10px;
				line-height: 1;
			}
			#pose-more[aria-expanded='true'] {
				background: rgba(255, 255, 255, 0.12);
				color: var(--text);
			}
			.pose-menu {
				position: fixed;
				min-width: 200px;
				background: var(--panel-solid);
				border: 1px solid var(--border-strong);
				border-radius: 12px;
				padding: 5px;
				box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
				display: flex;
				flex-direction: column;
				gap: 1px;
				z-index: 200;
				animation: pose-menu-in 0.14s ease both;
			}
			@keyframes pose-menu-in {
				from {
					opacity: 0;
					transform: translateY(-4px);
				}
				to {
					opacity: 1;
					transform: translateY(0);
				}
			}
			@media (prefers-reduced-motion: reduce) {
				.pose-menu {
					animation: none;
				}
			}
			.pose-menu[hidden] {
				display: none;
			}
			.pose-menu .pose-btn {
				width: 100%;
				box-sizing: border-box;
				justify-content: flex-start;
				border-radius: 8px;
				border-color: transparent;
				background: transparent;
				color: var(--text-2);
				padding: 8px 10px;
				margin: 0;
			}
			.pose-menu .pose-btn:hover,
			.pose-menu .pose-btn:focus-visible {
				background: rgba(255, 255, 255, 0.08);
				color: var(--text);
			}
			.pose-menu .pose-btn:focus-visible {
				outline: none;
			}

			/* ── Left panel: joint picker + controls ──────────────── */
			#pose-left {
				grid-area: left;
				border-right: 1px solid var(--border);
				background: var(--panel-solid);
				overflow-y: auto;
				display: flex;
				flex-direction: column;
			}
			.pose-section {
				border-bottom: 1px solid var(--border);
				padding: 14px;
			}
			.pose-section h2 {
				margin: 0 0 10px 0;
				font-size: 11px;
				font-weight: 600;
				color: var(--text-3);
				letter-spacing: 0.08em;
				text-transform: uppercase;
			}
			.pose-section h3 {
				margin: 6px 0;
				font-size: 12px;
				font-weight: 500;
				color: var(--text-2);
			}
			#pose-selection-label {
				font-size: 14px;
				font-weight: 600;
				color: var(--accent);
				margin-bottom: 10px;
			}
			.pose-hint {
				color: var(--text-3);
				font-size: 12px;
				line-height: 1.5;
				margin: 4px 0;
			}
			.pose-joint-group {
				font-size: 11px;
				font-weight: 600;
				color: var(--text-3);
				letter-spacing: 0.06em;
				text-transform: uppercase;
				margin-top: 12px;
				margin-bottom: 6px;
			}
			.pose-joint-group:first-child {
				margin-top: 0;
			}
			.pose-joint-btn {
				appearance: none;
				border: 1px solid var(--border);
				background: rgba(255, 255, 255, 0.02);
				color: var(--text-2);
				font: inherit;
				font-size: 11.5px;
				padding: 6px 8px;
				border-radius: 8px;
				cursor: pointer;
				text-align: left;
				transition:
					background var(--duration-instant) var(--ease-standard),
					color var(--duration-instant) var(--ease-standard),
					border-color var(--duration-instant) var(--ease-standard);
			}
			.pose-joint-btn:hover {
				background: rgba(255, 255, 255, 0.06);
				color: var(--text);
				border-color: var(--border-strong);
			}

			.pose-search {
				width: 100%;
				box-sizing: border-box;
				background: rgba(255, 255, 255, 0.04);
				color: var(--text);
				border: 1px solid var(--border);
				border-radius: 8px;
				padding: 7px 10px;
				font: inherit;
				font-size: 12.5px;
				margin-bottom: 10px;
				transition:
					border-color var(--duration-fast) var(--ease-standard),
					background var(--duration-fast) var(--ease-standard);
			}
			.pose-search::placeholder {
				color: var(--text-3);
			}
			.pose-search:focus {
				outline: none;
				border-color: var(--border-strong);
				background: rgba(255, 255, 255, 0.07);
			}
			.pose-joint-btn[aria-pressed='true'] {
				background: rgba(255, 255, 255, 0.18);
				border-color: rgba(255, 255, 255, 0.4);
				color: var(--ink);
			}
			.pose-joint-row {
				display: grid;
				grid-template-columns: 1fr 1fr;
				gap: 6px;
				max-height: 240px;
				overflow-y: auto;
			}
			.pose-shortcuts {
				font-size: 10.5px;
				color: var(--text-3);
				margin: 10px 0 0;
				line-height: 1.7;
			}
			.pose-shortcuts kbd {
				background: rgba(255, 255, 255, 0.08);
				border: 1px solid var(--border);
				border-radius: 4px;
				padding: 1px 5px;
				font-family: ui-monospace, monospace;
				font-size: 10px;
				color: var(--text-2);
			}
			.pose-disabled {
				opacity: 0.4;
				pointer-events: none;
			}
			.mode-btn:disabled {
				opacity: 0.4;
				cursor: not-allowed;
			}
			.pose-slider-row {
				display: grid;
				grid-template-columns: 1fr auto;
				align-items: center;
				gap: 6px;
				margin-bottom: 8px;
			}
			.pose-slider-row label {
				font-size: 12px;
				color: var(--text-2);
				grid-column: 1;
			}
			.pose-slider-value {
				grid-column: 2;
				font-size: 11.5px;
				color: var(--text-3);
				font-variant-numeric: tabular-nums;
				font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
			}
			.pose-slider-row input[type='range'] {
				grid-column: 1 / -1;
				width: 100%;
				margin: 0;
				appearance: none;
				background: transparent;
			}
			.pose-slider-row input[type='range']::-webkit-slider-runnable-track {
				height: 4px;
				background: rgba(255, 255, 255, 0.08);
				border-radius: 999px;
			}
			.pose-slider-row input[type='range']::-webkit-slider-thumb {
				appearance: none;
				width: 14px;
				height: 14px;
				margin-top: -5px;
				background: var(--accent);
				border-radius: 50%;
				cursor: pointer;
				box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
			}
			.pose-slider-row input[type='range']::-moz-range-track {
				height: 4px;
				background: rgba(255, 255, 255, 0.08);
				border-radius: 999px;
			}
			.pose-slider-row input[type='range']::-moz-range-thumb {
				width: 14px;
				height: 14px;
				background: var(--accent);
				border-radius: 50%;
				border: none;
				cursor: pointer;
			}

			.pose-form-row {
				display: grid;
				grid-template-columns: 1fr auto;
				align-items: center;
				gap: 8px;
				margin-bottom: 8px;
				font-size: 12px;
				color: var(--text-2);
			}
			.pose-form-row select,
			.pose-form-row input[type='color'],
			.pose-form-row input[type='range'] {
				background: rgba(255, 255, 255, 0.04);
				color: var(--text);
				border: 1px solid var(--border);
				border-radius: 6px;
				padding: 4px 6px;
				font: inherit;
				font-size: 12px;
			}
			.pose-form-row input[type='color'] {
				padding: 0;
				width: 32px;
				height: 22px;
				cursor: pointer;
			}
			.pose-form-row input[type='checkbox'] {
				accent-color: var(--accent);
			}

			/* ── Stage (3D canvas) ─────────────────────────────── */
			#pose-stage {
				grid-area: stage;
				position: relative;
				background: #0b0b0b;
				overflow: hidden;
			}
			#pose-canvas {
				display: block;
				width: 100%;
				height: 100%;
				cursor: grab;
				touch-action: none;
			}
			#pose-canvas:active {
				cursor: grabbing;
			}
			#pose-status {
				position: absolute;
				left: 50%;
				bottom: 14px;
				transform: translateX(-50%);
				background: rgba(0, 0, 0, 0.86);
				border: 1px solid var(--border);
				border-radius: 999px;
				padding: 6px 14px;
				font-size: 11.5px;
				color: var(--text-2);
				pointer-events: none;
				backdrop-filter: blur(8px);
				-webkit-backdrop-filter: blur(8px);
				transition: opacity var(--duration-base) var(--ease-standard);
			}
			#pose-status[data-kind='error'] {
				color: var(--danger);
				border-color: rgba(248, 113, 113, 0.4);
			}
			#pose-recovery {
				position: absolute;
				left: 50%;
				bottom: 58px;
				transform: translateX(-50%);
				display: flex;
				align-items: center;
				gap: 18px;
				width: min(500px, calc(100% - 32px));
				background: rgba(20, 20, 20, 0.94);
				border: 1px solid var(--border-strong);
				border-radius: 14px;
				padding: 12px 14px 12px 16px;
				box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
				backdrop-filter: blur(10px);
				-webkit-backdrop-filter: blur(10px);
				z-index: 20;
				animation: pose-recovery-in 0.22s ease both;
			}
			@keyframes pose-recovery-in {
				from {
					opacity: 0;
					transform: translate(-50%, 8px);
				}
				to {
					opacity: 1;
					transform: translate(-50%, 0);
				}
			}
			.pose-recovery-body {
				flex: 1 1 auto;
				display: flex;
				align-items: center;
				gap: 12px;
				min-width: 0;
			}
			.pose-recovery-icon {
				flex: none;
				width: 30px;
				height: 30px;
				display: grid;
				place-items: center;
				border-radius: 8px;
				background: var(--border);
				color: var(--text);
				font-size: 15px;
			}
			.pose-recovery-copy {
				display: flex;
				flex-direction: column;
				gap: 2px;
				min-width: 0;
			}
			.pose-recovery-copy strong {
				font-size: 12.5px;
				font-weight: 600;
				color: var(--text);
			}
			.pose-recovery-copy span {
				font-size: 11.5px;
				color: var(--text-2);
			}
			.pose-recovery-actions {
				flex: none;
				display: flex;
				gap: 8px;
			}
			@media (max-width: 560px) {
				#pose-recovery {
					flex-direction: column;
					align-items: stretch;
					gap: 12px;
				}
				.pose-recovery-actions {
					justify-content: flex-end;
				}
			}

			/* ── Right panel: presets + props ──────────────────── */
			#pose-right {
				grid-area: right;
				border-left: 1px solid var(--border);
				background: var(--panel-solid);
				overflow-y: auto;
			}
			.pose-preset-group {
				font-size: 11px;
				font-weight: 600;
				color: var(--text-3);
				letter-spacing: 0.06em;
				text-transform: uppercase;
				margin-top: 14px;
				margin-bottom: 8px;
			}
			.pose-preset-group:first-child {
				margin-top: 0;
			}
			.pose-preset-grid {
				display: grid;
				grid-template-columns: 1fr 1fr;
				gap: 6px;
			}
			.pose-preset-btn {
				appearance: none;
				border: 1px solid var(--border);
				background: rgba(255, 255, 255, 0.02);
				color: var(--text);
				font: inherit;
				font-size: 12px;
				padding: 8px 10px;
				border-radius: 8px;
				cursor: pointer;
				text-align: left;
				transition:
					background var(--duration-fast) var(--ease-standard),
					border-color var(--duration-fast) var(--ease-standard);
			}
			.pose-preset-btn:hover {
				background: rgba(255, 255, 255, 0.1);
				border-color: rgba(255, 255, 255, 0.35);
			}
			.pose-prop-btn {
				appearance: none;
				border: 1px solid var(--border);
				background: rgba(255, 255, 255, 0.02);
				color: var(--text-2);
				font: inherit;
				font-size: 12px;
				padding: 6px 10px;
				border-radius: 8px;
				cursor: pointer;
				transition: background var(--duration-fast) var(--ease-standard);
			}
			.pose-prop-btn:hover {
				background: rgba(255, 255, 255, 0.06);
				color: var(--text);
			}
			.pose-prop-btn[aria-pressed='true'] {
				background: rgba(255, 255, 255, 0.18);
				border-color: rgba(255, 255, 255, 0.45);
				color: var(--ink);
			}
			.pose-prop-grid {
				display: flex;
				flex-wrap: wrap;
				gap: 6px;
			}

			/* ── Animation preset library ───────────────────────── */
			.pose-section-sub {
				font-size: 11.5px;
				color: var(--text-3);
				line-height: 1.45;
				margin: -2px 0 10px;
			}
			.al-gen {
				display: flex;
				gap: 6px;
				margin-bottom: 9px;
			}
			.al-gen-input {
				flex: 1 1 auto;
				min-width: 0;
				box-sizing: border-box;
				background: rgba(34, 211, 238, 0.06);
				border: 1px solid rgba(34, 211, 238, 0.4);
				color: var(--text);
				font: inherit;
				font-size: 12px;
				padding: 7px 10px;
				border-radius: 8px;
			}
			.al-gen-input::placeholder {
				color: var(--text-3);
			}
			.al-gen-input:focus {
				outline: none;
				border-color: rgba(34, 211, 238, 0.75);
			}
			.al-gen-btn {
				flex: 0 0 auto;
				appearance: none;
				border: 1px solid rgba(34, 211, 238, 0.4);
				background: rgba(34, 211, 238, 0.14);
				color: #cffafe;
				font: inherit;
				font-size: 12px;
				font-weight: 600;
				padding: 7px 12px;
				border-radius: 8px;
				cursor: pointer;
				white-space: nowrap;
				transition: background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
			}
			.al-gen-btn:hover:not(:disabled) {
				background: rgba(34, 211, 238, 0.24);
				border-color: rgba(34, 211, 238, 0.7);
			}
			.al-gen-btn:focus-visible {
				outline: none;
				border-color: rgba(34, 211, 238, 0.85);
				box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.3);
			}
			.al-gen-btn:disabled {
				opacity: 0.6;
				cursor: default;
			}
			.al-gen[data-busy='true'] .al-gen-input {
				opacity: 0.6;
			}
			.al-spell .al-gen-input {
				background: rgba(167, 139, 250, 0.06);
				border-color: rgba(167, 139, 250, 0.4);
			}
			.al-spell .al-gen-input:focus {
				border-color: rgba(167, 139, 250, 0.75);
			}
			.al-spell .al-gen-btn {
				border-color: rgba(167, 139, 250, 0.4);
				background: rgba(167, 139, 250, 0.14);
				color: #ede9fe;
			}
			.al-spell .al-gen-btn:hover:not(:disabled) {
				background: rgba(167, 139, 250, 0.24);
				border-color: rgba(167, 139, 250, 0.7);
			}
			.al-spell .al-gen-btn:focus-visible {
				border-color: rgba(167, 139, 250, 0.85);
				box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.3);
			}
			.al-search {
				width: 100%;
				box-sizing: border-box;
				background: rgba(255, 255, 255, 0.04);
				border: 1px solid var(--border);
				color: var(--text);
				font: inherit;
				font-size: 12px;
				padding: 7px 10px;
				border-radius: 8px;
				margin-bottom: 9px;
			}
			.al-search::placeholder {
				color: var(--text-3);
			}
			.al-search:focus {
				outline: none;
				border-color: var(--border-strong);
			}
			.al-chips {
				display: flex;
				flex-wrap: wrap;
				gap: 5px;
				margin-bottom: 11px;
			}
			.al-chip {
				appearance: none;
				border: 1px solid var(--border);
				background: rgba(255, 255, 255, 0.02);
				color: var(--text-2);
				font: inherit;
				font-size: 11px;
				padding: 4px 9px;
				border-radius: 999px;
				cursor: pointer;
				white-space: nowrap;
				transition:
					background var(--duration-fast) var(--ease-standard),
					border-color var(--duration-fast) var(--ease-standard),
					color var(--duration-fast) var(--ease-standard);
			}
			.al-chip:hover {
				background: rgba(255, 255, 255, 0.07);
				color: var(--text);
			}
			.al-chip:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 2px;
			}
			.al-chip[aria-selected='true'] {
				background: rgba(255, 255, 255, 0.16);
				border-color: rgba(255, 255, 255, 0.42);
				color: #f4f4f5;
			}
			.al-section-label {
				font-size: 10.5px;
				font-weight: 600;
				color: var(--text-3);
				letter-spacing: 0.06em;
				text-transform: uppercase;
				margin: 14px 0 7px;
			}
			.al-section-label:first-child {
				margin-top: 0;
			}
			.al-cards {
				display: grid;
				grid-template-columns: 1fr 1fr;
				gap: 7px;
			}
			.al-card {
				position: relative;
				appearance: none;
				display: flex;
				flex-direction: column;
				align-items: flex-start;
				gap: 4px;
				border: 1px solid var(--border);
				background: rgba(255, 255, 255, 0.025);
				color: var(--text);
				font: inherit;
				padding: 10px 10px 9px;
				border-radius: 10px;
				cursor: pointer;
				text-align: left;
				overflow: hidden;
				transition:
					background var(--duration-fast) var(--ease-standard),
					border-color var(--duration-fast) var(--ease-standard),
					transform var(--duration-fast) var(--ease-standard),
					box-shadow var(--duration-fast) var(--ease-standard);
			}
			.al-card:hover {
				background: rgba(255, 255, 255, 0.07);
				border-color: rgba(255, 255, 255, 0.34);
				transform: translateY(-1px);
			}
			.al-card:active {
				transform: translateY(0);
			}
			.al-card:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 2px;
			}
			.al-card.is-active {
				background: rgba(34, 211, 238, 0.12);
				border-color: rgba(34, 211, 238, 0.55);
				box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.25) inset;
			}
			.al-card-icon {
				font-size: 19px;
				line-height: 1;
			}
			.al-card-label {
				font-size: 12px;
				font-weight: 500;
				line-height: 1.25;
			}
			.al-card-badge {
				font-size: 9px;
				letter-spacing: 0.05em;
				text-transform: uppercase;
				color: var(--text-3);
				border: 1px solid var(--border);
				border-radius: 4px;
				padding: 1px 5px;
			}
			.al-card.is-active .al-card-badge {
				color: #67e8f9;
				border-color: rgba(34, 211, 238, 0.5);
			}
			/* Animated "now playing" equalizer, only visible on the active card. */
			.al-card-eq {
				position: absolute;
				top: 9px;
				right: 9px;
				display: none;
				align-items: flex-end;
				gap: 2px;
				height: 12px;
			}
			.al-card.is-active .al-card-eq {
				display: inline-flex;
			}
			.al-card-eq i {
				width: 2.5px;
				background: #22d3ee;
				border-radius: 1px;
				animation: al-eq 0.9s ease-in-out infinite;
			}
			.al-card-eq i:nth-child(1) {
				height: 5px;
				animation-delay: 0s;
			}
			.al-card-eq i:nth-child(2) {
				height: 11px;
				animation-delay: 0.18s;
			}
			.al-card-eq i:nth-child(3) {
				height: 7px;
				animation-delay: 0.36s;
			}
			@keyframes al-eq {
				0%,
				100% {
					transform: scaleY(0.4);
				}
				50% {
					transform: scaleY(1);
				}
			}
			@media (prefers-reduced-motion: reduce) {
				.al-card-eq i {
					animation: none;
				}
				.al-card:hover {
					transform: none;
				}
			}
			.al-no-match {
				font-size: 12px;
				color: var(--text-3);
				padding: 10px 2px;
			}
			/* Empty / loading / error states */
			.al-empty {
				display: flex;
				flex-direction: column;
				align-items: center;
				text-align: center;
				padding: 18px 8px;
				gap: 4px;
			}
			.al-empty-icon {
				font-size: 30px;
			}
			.al-empty-title {
				font-size: 13px;
				font-weight: 600;
				color: var(--text);
			}
			.al-empty-body {
				font-size: 11.5px;
				color: var(--text-3);
				line-height: 1.5;
				max-width: 260px;
				margin: 0 0 6px;
			}
			.al-cta {
				appearance: none;
				border: 1px solid rgba(255, 255, 255, 0.42);
				background: rgba(255, 255, 255, 0.16);
				color: #f4f4f5;
				font: inherit;
				font-size: 12px;
				font-weight: 600;
				padding: 7px 14px;
				border-radius: 999px;
				cursor: pointer;
				transition: background var(--duration-fast) var(--ease-standard);
			}
			.al-cta:hover {
				background: rgba(255, 255, 255, 0.26);
			}
			.al-cta:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 2px;
			}
			.al-skeleton-grid {
				display: grid;
				grid-template-columns: 1fr 1fr;
				gap: 7px;
				width: 100%;
			}
			.al-skeleton {
				height: 58px;
				border-radius: 10px;
				background: linear-gradient(
					100deg,
					rgba(255, 255, 255, 0.03) 30%,
					rgba(255, 255, 255, 0.08) 50%,
					rgba(255, 255, 255, 0.03) 70%
				);
				background-size: 200% 100%;
				animation: al-shimmer 1.3s linear infinite;
			}
			@keyframes al-shimmer {
				from {
					background-position: 200% 0;
				}
				to {
					background-position: -200% 0;
				}
			}
			/* Now-playing transport */
			.al-transport {
				margin-top: 12px;
				padding: 11px;
				border: 1px solid rgba(34, 211, 238, 0.4);
				border-radius: 10px;
				background: rgba(34, 211, 238, 0.06);
				display: flex;
				flex-direction: column;
				gap: 9px;
			}
			.al-now {
				display: flex;
				align-items: center;
				gap: 7px;
				font-size: 12.5px;
				font-weight: 600;
				color: var(--text);
			}
			.al-now-dot {
				width: 8px;
				height: 8px;
				border-radius: 50%;
				background: #22d3ee;
				box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
				animation: al-pulse 1.6s ease-out infinite;
			}
			@keyframes al-pulse {
				0% {
					box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
				}
				70% {
					box-shadow: 0 0 0 7px rgba(34, 211, 238, 0);
				}
				100% {
					box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
				}
			}
			.al-scrub-row {
				display: flex;
				align-items: center;
				gap: 8px;
			}
			.al-play {
				appearance: none;
				flex: 0 0 auto;
				width: 30px;
				height: 30px;
				display: flex;
				align-items: center;
				justify-content: center;
				border: 1px solid rgba(34, 211, 238, 0.4);
				border-radius: 7px;
				background: rgba(34, 211, 238, 0.1);
				color: var(--text);
				font-size: 12px;
				cursor: pointer;
				transition: background var(--duration-fast) var(--ease-standard);
			}
			.al-play:hover {
				background: rgba(34, 211, 238, 0.2);
			}
			.al-play:focus-visible {
				outline: 2px solid #22d3ee;
				outline-offset: 1px;
			}
			.al-scrub {
				flex: 1 1 auto;
				min-width: 40px;
				accent-color: #22d3ee;
				cursor: pointer;
			}
			.al-time {
				flex: 0 0 auto;
				font-family: ui-monospace, monospace;
				font-size: 10.5px;
				color: var(--text-2);
				min-width: 66px;
				text-align: right;
			}
			.al-speed-row {
				display: flex;
				align-items: center;
				gap: 8px;
				font-size: 11.5px;
				color: var(--text-3);
			}
			.al-speed {
				flex: 1 1 auto;
				accent-color: var(--accent);
			}
			.al-speed-val {
				font-family: ui-monospace, monospace;
				font-size: 11px;
				color: var(--text-2);
				min-width: 38px;
				text-align: right;
			}
			.al-transport-actions {
				display: flex;
				gap: 7px;
			}
			.al-tbtn {
				appearance: none;
				border: 1px solid var(--border);
				background: rgba(255, 255, 255, 0.04);
				color: var(--text);
				font: inherit;
				font-size: 12px;
				padding: 7px 12px;
				border-radius: 8px;
				cursor: pointer;
				transition: background var(--duration-fast) var(--ease-standard);
			}
			.al-tbtn:hover {
				background: rgba(255, 255, 255, 0.09);
			}
			.al-tbtn:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 2px;
			}
			.al-export {
				appearance: none;
				flex: 1 1 auto;
				border: 1px solid rgba(255, 255, 255, 0.45);
				background: rgba(255, 255, 255, 0.2);
				color: #f4f4f5;
				font: inherit;
				font-size: 12px;
				font-weight: 600;
				padding: 7px 12px;
				border-radius: 8px;
				cursor: pointer;
				transition:
					background var(--duration-fast) var(--ease-standard),
					border-color var(--duration-fast) var(--ease-standard),
					color var(--duration-fast) var(--ease-standard);
			}
			.al-export:hover {
				background: rgba(255, 255, 255, 0.3);
			}
			.al-export:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 2px;
			}
			.al-export.is-busy {
				opacity: 0.6;
				pointer-events: none;
			}
			.al-export.is-ok {
				border-color: rgba(120, 255, 170, 0.5);
				color: #b6ffce;
			}
			.al-export.is-err {
				border-color: rgba(248, 113, 113, 0.6);
				color: var(--danger);
			}
			.al-edit-row {
				display: flex;
				align-items: center;
				gap: 12px;
				flex-wrap: wrap;
				font-size: 11.5px;
				color: var(--text-3);
			}
			.al-edit-field {
				display: flex;
				align-items: center;
				gap: 5px;
			}
			.al-trim-input,
			.al-blend-input {
				appearance: none;
				width: 56px;
				border: 1px solid var(--border);
				background: rgba(255, 255, 255, 0.04);
				color: var(--text);
				font: inherit;
				font-size: 11.5px;
				font-family: ui-monospace, monospace;
				padding: 4px 6px;
				border-radius: 6px;
			}
			.al-trim-input:focus-visible,
			.al-blend-input:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 1px;
			}
			.al-loop {
				appearance: none;
				margin-left: auto;
				border: 1px solid var(--border);
				background: rgba(255, 255, 255, 0.04);
				color: var(--text-3);
				font: inherit;
				font-size: 11.5px;
				padding: 5px 10px;
				border-radius: 7px;
				cursor: pointer;
				transition: background var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
			}
			.al-loop:hover {
				background: rgba(255, 255, 255, 0.09);
			}
			.al-loop:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 2px;
			}
			.al-loop.is-on {
				background: rgba(34, 211, 238, 0.16);
				border-color: rgba(34, 211, 238, 0.4);
				color: var(--text);
			}
			.al-save {
				appearance: none;
				flex: 0 0 auto;
				border: 1px solid rgba(34, 211, 238, 0.45);
				background: rgba(34, 211, 238, 0.12);
				color: var(--text);
				font: inherit;
				font-size: 12px;
				font-weight: 600;
				padding: 7px 12px;
				border-radius: 8px;
				cursor: pointer;
				transition: background var(--duration-fast) var(--ease-standard);
			}
			.al-save:hover {
				background: rgba(34, 211, 238, 0.22);
			}
			.al-save:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 2px;
			}
			.al-save:disabled {
				opacity: 0.6;
				cursor: not-allowed;
			}
			.al-save-form {
				display: flex;
				flex-direction: column;
				gap: 12px;
			}
			.al-save-label {
				display: flex;
				flex-direction: column;
				gap: 5px;
				font-size: 12px;
				color: var(--text-3);
			}
			.al-save-name,
			.al-save-vis {
				border: 1px solid var(--border);
				background: rgba(255, 255, 255, 0.04);
				color: var(--text);
				font: inherit;
				font-size: 13px;
				padding: 8px 10px;
				border-radius: 8px;
			}
			.al-save-name:focus-visible,
			.al-save-vis:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 1px;
			}
			.al-save-actions {
				display: flex;
				justify-content: flex-end;
				gap: 8px;
			}
			.al-save-cancel,
			.al-save-submit {
				appearance: none;
				border: 1px solid var(--border);
				background: rgba(255, 255, 255, 0.04);
				color: var(--text);
				font: inherit;
				font-size: 12.5px;
				padding: 7px 14px;
				border-radius: 8px;
				cursor: pointer;
			}
			.al-save-submit {
				border-color: rgba(34, 211, 238, 0.45);
				background: rgba(34, 211, 238, 0.16);
				font-weight: 600;
			}
			.al-save-cancel:hover {
				background: rgba(255, 255, 255, 0.09);
			}
			.al-save-submit:hover {
				background: rgba(34, 211, 238, 0.26);
			}
			.al-save-cancel:focus-visible,
			.al-save-submit:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 2px;
			}

			/* ── Timeline ───────────────────────────────────────── */
			#pose-timeline {
				grid-area: timeline;
				border-top: 1px solid var(--border);
				background: rgba(0, 0, 0, 0.9);
				backdrop-filter: blur(10px);
				-webkit-backdrop-filter: blur(10px);
				padding: 9px 14px 12px;
				display: flex;
				flex-direction: column;
				gap: 9px;
				user-select: none;
				z-index: 9;
			}
			.tl-transport {
				display: flex;
				align-items: center;
				gap: 8px;
				flex-wrap: wrap;
			}
			.tl-btn {
				appearance: none;
				border: 1px solid var(--border);
				background: rgba(255, 255, 255, 0.04);
				color: var(--text);
				font: inherit;
				font-size: 13px;
				width: 32px;
				height: 30px;
				display: inline-flex;
				align-items: center;
				justify-content: center;
				border-radius: 8px;
				cursor: pointer;
				transition:
					background var(--duration-fast) var(--ease-standard),
					border-color var(--duration-fast) var(--ease-standard),
					color var(--duration-fast) var(--ease-standard);
			}
			.tl-btn:hover {
				background: rgba(255, 255, 255, 0.09);
				border-color: var(--border-strong);
			}
			.tl-btn:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 2px;
			}
			.tl-btn[aria-pressed='true'] {
				background: rgba(255, 255, 255, 0.2);
				border-color: rgba(255, 255, 255, 0.45);
				color: var(--ink);
			}
			.tl-btn:disabled {
				opacity: 0.4;
				cursor: not-allowed;
			}
			#tl-play {
				width: 36px;
				background: rgba(255, 255, 255, 0.12);
			}
			#tl-play:hover {
				background: rgba(255, 255, 255, 0.2);
			}
			.tl-time {
				font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
				font-size: 12.5px;
				color: var(--text-2);
				font-variant-numeric: tabular-nums;
				min-width: 104px;
				text-align: center;
			}
			.tl-time b {
				color: var(--text);
				font-weight: 600;
			}
			.tl-field {
				display: inline-flex;
				align-items: center;
				gap: 5px;
				font-size: 11.5px;
				color: var(--text-3);
			}
			.tl-field input[type='number'],
			.tl-field select {
				background: rgba(255, 255, 255, 0.04);
				color: var(--text);
				border: 1px solid var(--border);
				border-radius: 6px;
				padding: 5px 7px;
				font: inherit;
				font-size: 12px;
			}
			.tl-field input[type='number'] {
				width: 56px;
			}
			.tl-field input:focus,
			.tl-field select:focus {
				outline: none;
				border-color: var(--border-strong);
			}
			.tl-field input[type='checkbox'] {
				accent-color: var(--accent);
			}
			.tl-sep {
				width: 1px;
				height: 22px;
				background: var(--border);
				margin: 0 2px;
			}
			.tl-spacer {
				flex: 1 1 auto;
			}
			.tl-add {
				appearance: none;
				border: 1px solid rgba(255, 255, 255, 0.45);
				background: rgba(255, 255, 255, 0.22);
				color: var(--ink);
				font: inherit;
				font-size: 12.5px;
				font-weight: 600;
				padding: 6px 13px;
				border-radius: 999px;
				cursor: pointer;
				display: inline-flex;
				align-items: center;
				gap: 6px;
				transition: background var(--duration-fast) var(--ease-standard);
			}
			.tl-add:hover {
				background: rgba(255, 255, 255, 0.32);
			}
			.tl-add:focus-visible {
				outline: 2px solid var(--accent);
				outline-offset: 2px;
			}

			/* Track + ruler */
			.tl-track-wrap {
				position: relative;
				height: 52px;
				border: 1px solid var(--border);
				border-radius: 10px;
				background: linear-gradient(rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015));
				overflow: hidden;
				cursor: pointer;
			}
			.tl-ruler {
				position: absolute;
				inset: 0 0 auto 0;
				height: 18px;
				pointer-events: none;
			}
			.tl-tick {
				position: absolute;
				top: 0;
				width: 1px;
				height: 7px;
				background: var(--border-strong);
			}
			.tl-tick-label {
				position: absolute;
				top: 7px;
				transform: translateX(2px);
				font-size: 9.5px;
				color: var(--text-3);
				font-variant-numeric: tabular-nums;
				font-family: ui-monospace, monospace;
			}
			/* An empty timeline has nothing to measure: the tick labels only
			   compete with the empty-state hint that sits over them. */
			#tl-track[data-empty='true'] .tl-ruler {
				opacity: 0;
			}
			.tl-lane {
				position: absolute;
				left: 0;
				right: 0;
				bottom: 0;
				top: 18px;
			}
			.tl-empty {
				position: absolute;
				inset: 18px 0 0 0;
				display: flex;
				align-items: center;
				justify-content: center;
				gap: 6px;
				font-size: 11.5px;
				color: var(--text-3);
				pointer-events: none;
				padding: 0 12px;
				text-align: center;
			}
			.tl-empty kbd {
				background: rgba(255, 255, 255, 0.08);
				border: 1px solid var(--border);
				border-radius: 4px;
				padding: 1px 5px;
				font-family: ui-monospace, monospace;
				font-size: 10px;
				color: var(--text-2);
			}
			.tl-key {
				position: absolute;
				top: 50%;
				width: 14px;
				height: 14px;
				margin-left: -7px;
				background: #d4d4d8;
				border: 1px solid rgba(0, 0, 0, 0.5);
				border-radius: 3px;
				transform: translateY(-50%) rotate(45deg);
				cursor: grab;
				transition:
					background var(--duration-instant) var(--ease-standard),
					box-shadow var(--duration-instant) var(--ease-standard),
					transform var(--duration-instant) var(--ease-standard);
				z-index: 3;
			}
			.tl-key:hover {
				background: #fff;
				box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
			}
			.tl-key[aria-selected='true'] {
				background: #22d3ee;
				box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.25);
			}
			.tl-key:active {
				cursor: grabbing;
			}
			.tl-key:focus-visible {
				outline: 2px solid #22d3ee;
				outline-offset: 3px;
			}
			.tl-playhead {
				position: absolute;
				top: 0;
				bottom: 0;
				width: 2px;
				margin-left: -1px;
				background: var(--accent);
				pointer-events: none;
				z-index: 4;
			}
			.tl-playhead::before {
				content: '';
				position: absolute;
				top: 0;
				left: -5px;
				border-left: 6px solid transparent;
				border-right: 6px solid transparent;
				border-top: 7px solid var(--accent);
			}

			/* Export feedback */
			.tl-export:disabled {
				opacity: 0.4;
				cursor: not-allowed;
			}
			.tl-export.is-busy {
				opacity: 0.6;
				pointer-events: none;
			}
			.tl-export.is-ok {
				border-color: rgba(120, 255, 170, 0.5);
				color: #b6ffce;
			}
			.tl-export.is-err {
				border-color: rgba(248, 113, 113, 0.6);
				color: var(--danger);
			}

			/* ── Library: overlays, dialogs, drawer, cards ───────────── */
			.pl-overlay {
				position: fixed;
				inset: 0;
				z-index: 1000;
				display: flex;
				align-items: center;
				justify-content: center;
				background: rgba(0, 0, 0, 0.6);
				backdrop-filter: blur(4px);
				-webkit-backdrop-filter: blur(4px);
				padding: 20px;
				animation: pl-fade 0.14s ease;
			}
			@keyframes pl-fade {
				from {
					opacity: 0;
				}
				to {
					opacity: 1;
				}
			}
			.pl-dialog {
				width: min(440px, 100%);
				max-height: 88vh;
				overflow-y: auto;
				background: var(--panel-solid);
				border: 1px solid var(--border-strong);
				border-radius: 16px;
				padding: 22px;
				display: flex;
				flex-direction: column;
				gap: 12px;
				box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
			}
			.pl-dialog-title {
				margin: 0;
				font-size: 17px;
				font-weight: 600;
				color: var(--text);
			}
			.pl-dialog-sub {
				margin: 0;
				font-size: 13px;
				line-height: 1.5;
				color: var(--text-2);
			}
			.pl-field {
				display: flex;
				flex-direction: column;
				gap: 5px;
				font-size: 12px;
				color: var(--text-2);
			}
			.pl-field > span {
				font-weight: 500;
			}
			.pl-input {
				width: 100%;
				box-sizing: border-box;
				background: rgba(255, 255, 255, 0.04);
				color: var(--text);
				border: 1px solid var(--border);
				border-radius: 8px;
				padding: 8px 10px;
				font: inherit;
				font-size: 13px;
			}
			.pl-input:focus {
				outline: none;
				border-color: var(--border-strong);
				background: rgba(255, 255, 255, 0.07);
			}
			.pl-textarea {
				resize: vertical;
				min-height: 38px;
			}
			.pl-link-note {
				margin: 0;
				font-size: 11.5px;
				color: var(--text-3);
			}
			.pl-dialog-err {
				font-size: 12px;
				color: var(--danger);
				background: rgba(248, 113, 113, 0.1);
				border: 1px solid rgba(248, 113, 113, 0.3);
				border-radius: 8px;
				padding: 7px 10px;
			}
			.pl-dialog-actions {
				display: flex;
				justify-content: flex-end;
				gap: 8px;
				margin-top: 4px;
			}
			.pl-danger {
				color: var(--danger);
				border-color: rgba(248, 113, 113, 0.4);
			}
			.pl-danger:hover {
				background: rgba(248, 113, 113, 0.12);
			}

			/* Drawer */
			.pl-drawer-overlay {
				justify-content: flex-end;
				align-items: stretch;
				padding: 0;
			}
			.pl-drawer {
				width: min(720px, 100%);
				background: var(--panel-solid);
				border-left: 1px solid var(--border-strong);
				display: flex;
				flex-direction: column;
				transform: translateX(24px);
				opacity: 0;
				transition:
					transform var(--duration-base) var(--ease-standard),
					opacity var(--duration-base) var(--ease-standard);
			}
			.pl-drawer.pl-open {
				transform: translateX(0);
				opacity: 1;
			}
			.pl-drawer-head {
				display: flex;
				align-items: center;
				justify-content: space-between;
				padding: 14px 18px;
				border-bottom: 1px solid var(--border);
			}
			.pl-tabs {
				display: flex;
				gap: 4px;
				padding: 3px;
				background: rgba(255, 255, 255, 0.04);
				border: 1px solid var(--border);
				border-radius: 999px;
			}
			.pl-tab {
				appearance: none;
				border: none;
				background: transparent;
				color: var(--text-2);
				font: inherit;
				font-size: 12.5px;
				padding: 6px 14px;
				border-radius: 999px;
				cursor: pointer;
				transition:
					background var(--duration-fast) var(--ease-standard),
					color var(--duration-fast) var(--ease-standard);
			}
			.pl-tab:hover {
				color: var(--text);
			}
			.pl-tab[aria-selected='true'] {
				background: rgba(255, 255, 255, 0.18);
				color: var(--ink);
			}
			.pl-close {
				appearance: none;
				border: 1px solid var(--border);
				background: rgba(255, 255, 255, 0.04);
				color: var(--text-2);
				width: 30px;
				height: 30px;
				border-radius: 8px;
				cursor: pointer;
				font-size: 13px;
			}
			.pl-close:hover {
				color: var(--text);
				border-color: var(--border-strong);
			}
			.pl-grid {
				flex: 1;
				overflow-y: auto;
				display: grid;
				grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
				gap: 14px;
				padding: 18px;
				align-content: start;
			}
			.pl-drawer-foot {
				display: flex;
				flex-wrap: wrap;
				gap: 8px;
				padding: 14px 18px;
				border-top: 1px solid var(--border);
				background: rgba(0, 0, 0, 0.25);
			}
			.pl-drawer-foot .pose-btn {
				text-decoration: none;
			}
			.pl-card {
				border: 1px solid var(--border);
				border-radius: 12px;
				overflow: hidden;
				background: rgba(255, 255, 255, 0.02);
				display: flex;
				flex-direction: column;
				transition:
					border-color var(--duration-fast) var(--ease-standard),
					transform var(--duration-fast) var(--ease-standard);
			}
			.pl-card:hover {
				border-color: var(--border-strong);
				transform: translateY(-2px);
			}
			.pl-card-thumb {
				width: 100%;
				aspect-ratio: 1 / 1;
				object-fit: cover;
				background: #0b0b0b;
				display: block;
			}
			.pl-card-thumb-empty {
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: 28px;
				color: var(--text-3);
			}
			.pl-card-badges {
				display: flex;
				gap: 5px;
				flex-wrap: wrap;
				padding: 8px 10px 0;
			}
			.pl-badge {
				font-size: 9.5px;
				text-transform: uppercase;
				letter-spacing: 0.05em;
				padding: 2px 7px;
				border-radius: 999px;
				border: 1px solid var(--border);
				color: var(--text-3);
			}
			.pl-badge-public {
				color: #b6ffce;
				border-color: rgba(120, 255, 170, 0.4);
			}
			.pl-badge-unlisted {
				color: #ffe6a3;
				border-color: rgba(255, 210, 100, 0.4);
			}
			.pl-badge-price {
				color: #a3d8ff;
				border-color: rgba(120, 180, 255, 0.4);
			}
			.pl-card-name {
				padding: 6px 10px 0;
				font-size: 13.5px;
				font-weight: 600;
				color: var(--text);
			}
			.pl-card-meta {
				padding: 2px 10px 0;
				font-size: 11px;
				color: var(--text-3);
			}
			.pl-card-tags {
				display: flex;
				flex-wrap: wrap;
				gap: 4px;
				padding: 6px 10px 0;
			}
			.pl-tag {
				font-size: 10px;
				color: var(--text-2);
				background: rgba(255, 255, 255, 0.05);
				border-radius: 4px;
				padding: 1px 6px;
			}
			.pl-card-actions {
				display: flex;
				flex-wrap: wrap;
				gap: 5px;
				padding: 10px;
				margin-top: auto;
			}
			.pl-card-actions .pose-btn {
				font-size: 11.5px;
				padding: 5px 9px;
			}
			.pl-skeleton {
				min-height: 240px;
				background: linear-gradient(
					110deg,
					rgba(255, 255, 255, 0.03) 30%,
					rgba(255, 255, 255, 0.07) 50%,
					rgba(255, 255, 255, 0.03) 70%
				);
				background-size: 200% 100%;
				animation: pl-shimmer 1.3s ease infinite;
			}
			@keyframes pl-shimmer {
				from {
					background-position: 200% 0;
				}
				to {
					background-position: -200% 0;
				}
			}
			.pl-empty {
				grid-column: 1 / -1;
				text-align: center;
				padding: 48px 20px;
				color: var(--text-2);
			}
			.pl-empty-icon {
				font-size: 38px;
				margin-bottom: 8px;
			}
			.pl-empty h3 {
				margin: 0 0 6px;
				font-size: 16px;
				color: var(--text);
			}
			.pl-empty p {
				margin: 0 auto 14px;
				font-size: 13px;
				max-width: 320px;
				line-height: 1.5;
			}

			/* ── Responsive ─────────────────────────────────────── */
			@media (max-width: 1100px) {
				#pose-app {
					grid-template-columns: 240px 1fr 260px;
				}
			}
			@media (max-width: 768px) {
				:root {
					--nav-h: 65px;
				}
			}
			@media (max-width: 900px) {
				#pose-app {
					grid-template-columns: 1fr;
					grid-template-rows: 52px minmax(46vh, 1fr) auto auto auto;
					grid-template-areas:
						'top'
						'stage'
						'timeline'
						'right'
						'left';
					/* Stacked panels can exceed one screen, so let the page scroll. */
					height: auto;
					min-height: calc(100dvh - var(--nav-h));
				}
				/* Animation library + presets stay reachable on small screens:
				   they stack under the timeline instead of disappearing. */
				#pose-right {
					border-left: none;
					border-top: 1px solid var(--border);
					max-height: 44vh;
				}
				#pose-left {
					border-right: none;
					border-top: 1px solid var(--border);
					max-height: 36vh;
				}
				.tl-field-fps,
				.tl-field-name {
					display: none;
				}
				/* The hint wraps to two lines here, so it needs the ruler's
				   18px band as well. #tl-track[data-empty] already hides the
				   ruler, so the band is free. */
				.tl-empty {
					inset: 0;
					line-height: 1.35;
				}
			}
		</style>
	
	<link rel="canonical" href="https://three.ws/pose">
	<script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"Animation Studio","description":"Pose any three.ws avatar or the built-in mannequin with FK/IK, keyframe a timeline, and preview the motion live. Export an animated GLB or clip JSON, save animations to your account, play them back across the platform, and sell them for USDC.","url":"https://three.ws/pose","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>

	<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">
	<meta property="og:locale" content="en_US">
	<meta property="og:image:alt" content="Animation Studio - three.ws">
</head>
	<body>
		<header><div id="nav-container"></div></header>
		<script src="/nav.js"></script>

		<div id="pose-app">
			<!-- TOP BAR -->
			<header id="pose-top">
				<div class="brand">
					<a href="/" title="three.ws home" data-i18n="pose.three_ws" data-i18n-attr="title:pose.three_ws_home_title">three.ws</a>
					<span>/</span>
					<h1 data-i18n="pose.animation_studio">Animation Studio</h1>
				</div>
				<span class="sep"></span>

				<div class="mode-group" role="group" aria-label="Posing mode">
					<button
						type="button"
						class="mode-btn"
						data-posemode="fk"
						aria-pressed="true"
						title="FK: select a bone and rotate it with the gizmo or sliders (F)"
					 data-i18n="pose.fk" data-i18n-attr="title:pose.fk_select_a_bone_and_rotate_title">
						FK
					</button>
					<button
						type="button"
						class="mode-btn"
						data-posemode="ik"
						aria-pressed="false"
						title="IK: drag a hand or foot and the limb solves (I)"
					 data-i18n="pose.ik" data-i18n-attr="title:pose.ik_drag_a_hand_or_foot_and_title">
						IK
					</button>
				</div>

				<span class="sep"></span>

				<div class="mode-group" role="group" aria-label="Undo and redo">
					<button
						type="button"
						class="mode-btn"
						id="pose-undo"
						title="Undo (Ctrl/Cmd+Z)"
						aria-label="Undo"
						disabled
					 data-i18n-attr="aria-label:pose.undo_arialabel;title:pose.undo_ctrl_cmd_z_title">
						↺
					</button>
					<button
						type="button"
						class="mode-btn"
						id="pose-redo"
						title="Redo (Ctrl/Cmd+Shift+Z)"
						aria-label="Redo"
						disabled
					 data-i18n-attr="aria-label:pose.redo_arialabel;title:pose.redo_ctrl_cmd_shift_z_title">
						↻
					</button>
				</div>

				<button
					type="button"
					id="pose-mirror"
					class="pose-btn"
					title="Mirror the pose left ↔ right (M)"
				 data-i18n="pose.mirror" data-i18n-attr="title:pose.mirror_the_pose_left_right_m_title">
					Mirror
				</button>
				<button
					type="button"
					id="pose-copy"
					class="pose-btn"
					title="Copy the current pose (C)"
				 data-i18n="pose.copy" data-i18n-attr="title:pose.copy_the_current_pose_c_title">
					Copy
				</button>
				<button
					type="button"
					id="pose-paste"
					class="pose-btn"
					title="Paste the copied pose (V)"
					disabled
				 data-i18n="pose.paste" data-i18n-attr="title:pose.paste_the_copied_pose_v_title">
					Paste
				</button>

				<span class="sep"></span>

				<button
					type="button"
					id="pose-load-avatar"
					class="pose-btn"
					title="Load a rigged avatar to animate"
				 data-i18n="pose.load_avatar" data-i18n-attr="title:pose.load_a_rigged_avatar_to_anim_title">
					Load avatar
				</button>
				<button
					type="button"
					id="pose-use-mannequin"
					class="pose-btn"
					title="Return to the built-in mannequin"
				 data-i18n="pose.mannequin" data-i18n-attr="title:pose.return_to_the_built_in_manne_title">
					Mannequin
				</button>

				<span class="spacer"></span>

				<button
					type="button"
					id="pose-library"
					class="pose-btn"
					title="Your saved animations"
				 data-i18n="pose.my_animations" data-i18n-attr="title:pose.your_saved_animations_title">
					My animations
				</button>
				<button
					type="button"
					id="pose-save"
					class="pose-btn pose-btn-primary"
					title="Save this animation to your account (Ctrl/Cmd+S)"
				 data-i18n="pose.save" data-i18n-attr="title:pose.save_this_animation_to_your_title">
					Save
				</button>
				<span class="sep"></span>

				<button
					type="button"
					id="pose-reset"
					class="pose-btn"
					title="Reset the pose to rest"
				 data-i18n="pose.reset_pose" data-i18n-attr="title:pose.reset_the_pose_to_rest_title">
					Reset pose
				</button>

				<button
					type="button"
					id="pose-more"
					class="pose-btn"
					title="More actions"
					aria-label="More actions"
					aria-haspopup="menu"
					aria-expanded="false"
					aria-controls="pose-more-menu"
				 data-i18n-attr="aria-label:pose.more_actions_arialabel;title:pose.more_actions_title">
					⋯
				</button>
			</header>

			<!-- Overflow menu panel. Lives OUTSIDE the scrollable top bar
			     (position:fixed, placed from the trigger's rect in JS) so
			     focusing its items can never scroll or clip the toolbar. -->
			<div class="pose-menu" id="pose-more-menu" role="menu" aria-label="More actions" hidden>
				<label class="pose-btn file-label" role="menuitem" tabindex="-1" title="Load a pose from JSON" data-i18n-attr="title:pose.load_a_pose_from_json_title">
					Import pose JSON
					<input type="file" id="pose-import-json" accept="application/json,.json" />
				</label>
				<button
					type="button"
					id="pose-export-json"
					class="pose-btn"
					role="menuitem"
					tabindex="-1"
					title="Save pose as JSON"
				 data-i18n="pose.export_json" data-i18n-attr="title:pose.save_pose_as_json_title">
					Export pose JSON
				</button>
				<button
					type="button"
					id="pose-screenshot"
					class="pose-btn"
					role="menuitem"
					tabindex="-1"
					title="Download a PNG of the current view"
				 data-i18n="pose.png_screenshot" data-i18n-attr="title:pose.download_a_png_of_the_curren_title">
					PNG screenshot
				</button>
			</div>

			<!-- LEFT PANEL -->
			<aside id="pose-left">
				<section class="pose-section">
					<h2 data-i18n="pose.selection">Selection</h2>
					<div id="pose-selection-label">Click a body part</div>
					<div id="pose-controls-host"></div>
				</section>

				<section class="pose-section">
					<h2 data-i18n="pose.bones">Bones</h2>
					<input
						type="search"
						id="pose-bone-search"
						class="pose-search"
						placeholder="Search bones…"
						aria-label="Search bones"
						autocomplete="off"
					/>
					<div id="pose-joint-picker"></div>
					<p class="pose-shortcuts" data-i18n-html="pose.f_fk_i_ik_r_reset_bone">
						<kbd>F</kbd> FK · <kbd>I</kbd> IK · <kbd>R</kbd> reset bone ·
						<kbd>M</kbd> mirror · <kbd>C</kbd> copy · <kbd>V</kbd> paste ·
						<kbd>⌘Z</kbd> undo · <kbd>Esc</kbd> deselect
					</p>
				</section>

				<section class="pose-section">
					<h2 data-i18n="pose.model">Model</h2>
					<div class="pose-form-row">
						<label for="pose-build" data-i18n="pose.body_type">Body type</label>
						<select id="pose-build">
							<option value="male" selected data-i18n="pose.male">Male</option>
							<option value="female" data-i18n="pose.female">Female</option>
						</select>
					</div>
					<div class="pose-form-row">
						<label for="pose-skin" data-i18n="pose.skin_tone">Skin tone</label>
						<input id="pose-skin" type="color" value="#d4d4d8" />
					</div>
					<div class="pose-form-row">
						<label for="pose-constraints" data-i18n="pose.biological_constraints">Biological constraints</label>
						<input id="pose-constraints" type="checkbox" checked />
					</div>
				</section>

				<section class="pose-section">
					<h2 data-i18n="pose.camera_environment">Camera &amp; environment</h2>
					<div class="pose-form-row">
						<label for="pose-bg" data-i18n="pose.background">Background</label>
						<input id="pose-bg" type="color" value="#0b0b0b" />
					</div>
					<div class="pose-form-row">
						<label for="pose-fov" data-i18n="pose.fov">FOV</label>
						<input id="pose-fov" type="range" min="20" max="100" step="1" value="45" />
					</div>
					<div class="pose-form-row">
						<label for="pose-grid" data-i18n="pose.show_floor_grid">Show floor grid</label>
						<input id="pose-grid" type="checkbox" checked />
					</div>
					<h3 data-i18n="pose.key_light">Key light</h3>
					<div class="pose-form-row">
						<label for="pose-light-azimuth" data-i18n="pose.direction">Direction</label>
						<input
							id="pose-light-azimuth"
							type="range"
							min="-180"
							max="180"
							step="1"
							value="52"
						/>
					</div>
					<div class="pose-form-row">
						<label for="pose-light-elevation" data-i18n="pose.height">Height</label>
						<input
							id="pose-light-elevation"
							type="range"
							min="-10"
							max="89"
							step="1"
							value="55"
						/>
					</div>
					<div class="pose-form-row">
						<label for="pose-light-intensity" data-i18n="pose.intensity">Intensity</label>
						<input
							id="pose-light-intensity"
							type="range"
							min="0"
							max="3"
							step="0.05"
							value="1.4"
						/>
					</div>
				</section>
			</aside>

			<!-- STAGE -->
			<main id="pose-stage">
				<canvas id="pose-canvas"></canvas>
				<div id="pose-status" role="status" aria-live="polite">Loading…</div>
				<noscript>
					<div style="position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:24px;background:inherit">
						<p style="max-width:46ch;margin:0">The Animation Studio poses and animates rigged 3D avatars live on this canvas, which needs JavaScript. Enable JavaScript and reload to pose, animate, and export.</p>
						<p style="margin:0"><a href="/">three.ws home</a> · <a href="/gallery">Browse avatars</a> · <a href="/docs">Read the docs</a></p>
					</div>
				</noscript>
			</main>

			<!-- RIGHT PANEL -->
			<aside id="pose-right">
				<section class="pose-section pose-section-anim">
					<h2 data-i18n="pose.animation">Animation</h2>
					<p class="pose-section-sub" data-i18n-html="pose.load_a_rigged_avatar_then_generate_a">
						Load a rigged avatar, then <strong>generate a motion from a text
						prompt</strong> or pick a preset, preview it live and export an
						animated GLB.
					</p>
					<div id="pose-anim-library"></div>
				</section>
				<section class="pose-section">
					<h2 data-i18n="pose.pose_presets">Pose presets</h2>
					<div id="pose-presets-host"></div>
				</section>
				<section class="pose-section">
					<h2 data-i18n="pose.floor_props">Floor props</h2>
					<div class="pose-prop-grid" id="pose-prop-host"></div>
				</section>
			</aside>

			<!-- TIMELINE -->
			<section id="pose-timeline" aria-label="Animation timeline">
				<div class="tl-transport">
					<button
						type="button"
						id="tl-start"
						class="tl-btn"
						title="Jump to start (Home)"
						aria-label="Jump to start"
					 data-i18n-attr="aria-label:pose.jump_to_start_arialabel;title:pose.jump_to_start_home_title">
						⏮
					</button>
					<button
						type="button"
						id="tl-play"
						class="tl-btn"
						title="Play / pause (Space)"
						aria-label="Play or pause"
						aria-pressed="false"
					 data-i18n-attr="aria-label:pose.play_or_pause_arialabel;title:pose.play_pause_space_title">
						▶
					</button>
					<button
						type="button"
						id="tl-stop"
						class="tl-btn"
						title="Stop and rewind"
						aria-label="Stop"
					 data-i18n-attr="aria-label:pose.stop_arialabel;title:pose.stop_and_rewind_title">
						⏹
					</button>
					<button
						type="button"
						id="tl-end"
						class="tl-btn"
						title="Jump to end (End)"
						aria-label="Jump to end"
					 data-i18n-attr="aria-label:pose.jump_to_end_arialabel;title:pose.jump_to_end_end_title">
						⏭
					</button>
					<button
						type="button"
						id="tl-loop"
						class="tl-btn"
						title="Loop playback"
						aria-label="Loop playback"
						aria-pressed="true"
					 data-i18n-attr="aria-label:pose.loop_playback_arialabel;title:pose.loop_playback_title">
						↻
					</button>

					<span class="tl-time" id="tl-time" data-i18n-html="pose.0_00_4_00s"><b>0.00</b> / 4.00s</span>

					<span class="tl-sep"></span>

					<button
						type="button"
						id="tl-add-key"
						class="tl-add"
						title="Capture the current pose as a keyframe (K)"
					 data-i18n="pose.add_keyframe" data-i18n-attr="title:pose.capture_the_current_pose_as_title">
						+ Add keyframe
					</button>

					<span
						class="tl-field"
						title="Easing for the selected keyframe (governs the segment after it)"
					 data-i18n-attr="title:pose.easing_for_the_selected_keyf_title">
						<label for="tl-easing">Easing</label>
						<select id="tl-easing" aria-label="Selected keyframe easing" disabled>
							<option value="linear">Linear</option>
							<option value="ease-in">Ease in</option>
							<option value="ease-out">Ease out</option>
							<option value="ease-in-out" selected>Ease in-out</option>
						</select>
					</span>
					<button
						type="button"
						id="tl-del-key"
						class="tl-btn"
						title="Delete selected keyframe (Del)"
						aria-label="Delete selected keyframe"
						disabled
					 data-i18n-attr="aria-label:pose.delete_selected_keyframe_arialabel;title:pose.delete_selected_keyframe_del_title">
						🗑
					</button>

					<span class="tl-spacer"></span>

					<span
						class="tl-field tl-field-name"
						title="Animation name (used as the clip + file name)"
					 data-i18n-attr="title:pose.animation_name_used_as_the_c_title">
						<label for="tl-name">Name</label>
						<input
							type="text"
							id="tl-name"
							value="animation"
							size="10"
							aria-label="Animation name"
							autocomplete="off"
						/>
					</span>
					<span class="tl-field" title="Total animation length in seconds" data-i18n-attr="title:pose.total_animation_length_in_se_title">
						<label for="tl-duration">Duration</label>
						<input
							type="number"
							id="tl-duration"
							min="0.25"
							max="120"
							step="0.25"
							value="4"
							aria-label="Duration in seconds"
						/>s
					</span>
					<span
						class="tl-field tl-field-fps"
						title="Frames per second baked into the exported clip"
					 data-i18n-attr="title:pose.frames_per_second_baked_into_title">
						<label for="tl-fps">FPS</label>
						<input
							type="number"
							id="tl-fps"
							min="1"
							max="120"
							step="1"
							value="30"
							aria-label="Frames per second"
						/>
					</span>

					<span class="tl-sep"></span>

					<button
						type="button"
						id="tl-export-json"
						class="pose-btn tl-export"
						title="Download a three.ws clip JSON"
					 data-i18n="pose.export_json_2" data-i18n-attr="title:pose.download_a_three_ws_clip_jso_title">
						Export JSON
					</button>
					<button
						type="button"
						id="tl-export-glb"
						class="pose-btn pose-btn-primary tl-export"
						title="Download a GLB with the animation embedded"
					 data-i18n="pose.export_glb" data-i18n-attr="title:pose.download_a_glb_with_the_anim_title">
						Export GLB
					</button>
					<button
						type="button"
						id="tl-open-scene"
						class="pose-btn pose-btn-primary tl-export"
						title="Send this animation to Scene Studio to record a video"
					 data-i18n="pose.record_in_scene" data-i18n-attr="title:pose.send_this_animation_to_scene_title">
						Record in Scene →
					</button>
				</div>

				<div
					class="tl-track-wrap"
					id="tl-track"
					role="slider"
					tabindex="0"
					aria-label="Playhead: click or drag to scrub, arrow keys to step"
					aria-valuemin="0"
					aria-valuemax="4"
					aria-valuenow="0"
				>
					<div class="tl-ruler" id="tl-ruler"></div>
					<div class="tl-empty" id="tl-empty">
						Pose the figure, then press <kbd>K</kbd> or
						<b style="color: var(--text-2)" data-i18n="pose.add_keyframe_2">+ Add keyframe</b> to start your animation.
					</div>
					<div class="tl-lane" id="tl-lane"></div>
					<div class="tl-playhead" id="tl-playhead" style="left: 0"></div>
				</div>
			</section>
		</div>

		<footer class="h-footer-horizon">
			<div class="h-footer-glow-line" aria-hidden="true"></div>
			<div class="h-footer-watermark" aria-hidden="true">three.ws</div>
			<div class="h-footer-inner">
				<div class="h-footer-brand-col">
					<div class="h-footer-brand">
						<img class="wordmark-logo" src="/three.svg" alt="" aria-hidden="true" />
						<span class="wordmark-dot" aria-hidden="true"></span>
						<span data-i18n="pose.three_ws_2">three.ws</span>
					</div>
					<p class="h-footer-tagline" data-i18n="pose.give_your_ai_a_body">Give your AI a body.</p>
				</div>
				<nav class="h-footer-links" aria-label="Footer">
					<div class="h-footer-link-col">
						<h4 class="h-footer-link-heading" data-i18n="pose.product">Product</h4>
						<a href="/create" data-i18n="pose.create">Create</a>
						<a href="/pose" data-i18n="pose.animation_studio_2">Animation Studio</a>
						<a href="/marketplace?tab=animations" data-i18n="pose.animations">Animations</a>
						<a href="/marketplace" data-i18n="pose.marketplace">Marketplace</a>
					</div>
					<div class="h-footer-link-col">
						<h4 class="h-footer-link-heading" data-i18n="pose.developers">Developers</h4>
						<a href="/docs" data-i18n="pose.docs">Docs</a>
						<a
							href="https://github.com/nirholas/three.ws"
							target="_blank"
							rel="noopener"
							 data-i18n="pose.github">GitHub</a
						>
					</div>
				</nav>
			</div>
			<div class="h-footer-bottom">
				<p class="h-footer-legal" data-i18n="pose.2026_three_ws_all_rights_reserved">© 2026 three.ws — All rights reserved.</p>
				<div class="h-footer-legal-links">
					<!-- Placing the switcher here keeps i18n.js from mounting its
					     floating fallback, which sat on top of the timeline. -->
					<lang-switcher></lang-switcher>
					<a href="/legal/privacy" data-i18n="pose.privacy">Privacy</a>
					<a href="/legal/tos" data-i18n="pose.terms">Terms</a>
				</div>
			</div>
		</footer>

		<script defer src="/footer-newsletter.js"></script>
		<script type="module" src="/src/pose-studio.js"></script>
		<script src="/brand.js" defer></script>
		<!-- Runtime i18n: detects locale, swaps annotated copy, mounts <lang-switcher>. -->
	<script type="module" src="/i18n.js"></script>
</body>
</html>